diff options
Diffstat (limited to 'src/com/dabomstew')
-rwxr-xr-x | src/com/dabomstew/pkrandom/romhandlers/Gen4RomHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/romhandlers/Gen4RomHandler.java b/src/com/dabomstew/pkrandom/romhandlers/Gen4RomHandler.java index 456ccba..8a66307 100755 --- a/src/com/dabomstew/pkrandom/romhandlers/Gen4RomHandler.java +++ b/src/com/dabomstew/pkrandom/romhandlers/Gen4RomHandler.java @@ -446,6 +446,7 @@ public class Gen4RomHandler extends AbstractDSRomHandler { for (int i = 1; i <= Gen4Constants.moveCount; i++) { byte[] data = moveNarc.files.get(i); writeWord(data, 0, moves[i].effectIndex); + data[2] = Gen4Constants.moveCategoryToByte(moves[i].category); data[3] = (byte) moves[i].power; data[4] = Gen4Constants.typeToByte(moves[i].type); int hitratio = (int) Math.round(moves[i].hitratio); |