summaryrefslogtreecommitdiff
path: root/src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java')
-rw-r--r--src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java b/src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java
index 080c5f2..e0c607e 100644
--- a/src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java
+++ b/src/com/dabomstew/pkrandom/romhandlers/Gen6RomHandler.java
@@ -607,6 +607,7 @@ public class Gen6RomHandler extends Abstract3DSRomHandler {
moves[i].pp = moveData[5] & 0xFF;
moves[i].type = Gen6Constants.typeTable[moveData[0] & 0xFF];
moves[i].category = Gen6Constants.moveCategoryIndices[moveData[2] & 0xFF];
+ moves[i].priority = moveData[6];
if (i == Moves.swift) {
perfectAccuracy = (int)moves[i].hitratio;