summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java b/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
index 26ba4ae..11e0dc0 100644
--- a/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
+++ b/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java
@@ -927,7 +927,7 @@ public class Gen7RomHandler extends Abstract3DSRomHandler {
int offset = find(code, Gen7Constants.ninjaskSpeciesPrefix);
if (offset > 0) {
offset += Gen7Constants.ninjaskSpeciesPrefix.length() / 2; // because it was a prefix
- FileFunctions.writeFullInt(code, offset, primaryEvolution.number);
+ FileFunctions.writeFullInt(code, offset, primaryEvolution.getBaseNumber());
}
// In the game's executable, there's a hardcoded value to indicate what "extra"