summaryrefslogtreecommitdiff
path: root/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2022-05-17 22:24:37 -0700
committerrafa_99 <raroma09@gmail.com>2022-05-18 23:16:20 +0100
commitbfe122305683e28fbd70d117996e084661b3c402 (patch)
tree598393627078a768d5ef06ae51897abe009b7b73 /src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
parentc5e32a2e30bdae5df663ef47b42dad7a9b1eab42 (diff)
Read punch move info from moves
Diffstat (limited to 'src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java')
-rw-r--r--src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
index 161d62e..440af77 100644
--- a/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
+++ b/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
@@ -692,6 +692,7 @@ public class Gen7RomHandler extends Abstract3DSRomHandler {
int flags = FileFunctions.readFullInt(moveData, 36);
moves[i].makesContact = (flags & 0x001) != 0;
+ moves[i].isPunchMove = (flags & 0x080) != 0;
moves[i].isSoundMove = (flags & 0x100) != 0;
int qualities = moveData[1];
int recoilOrAbsorbPercent = moveData[18];