diff options
author | tom-overton <tom.overton@outlook.com> | 2022-10-02 06:45:00 -0700 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-10-02 18:46:44 +0100 |
commit | cca67d1676db13c996b0734b4c854b479bed4555 (patch) | |
tree | 8306ffb2b42df2e0768ef2d2bfa992070ee327ea /src/com | |
parent | 4226887959f7e48d2fa1b24943384abe2b16447a (diff) |
Gen 7: Fix an issue where Nincada could create an invalid Pokemon
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java | 2 |
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 07296f7..26ba4ae 100644 --- a/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java +++ b/src/com/sneed/pkrandom/romhandlers/Gen7RomHandler.java @@ -955,7 +955,7 @@ public class Gen7RomHandler extends Abstract3DSRomHandler { } // Write Nincada's new extra evolution in the new free space. - writeLong(code, offset + 120, extraEvolution.number); + writeLong(code, offset + 120, extraEvolution.getBaseNumber()); // Second parameter of pml::pokepara::CoreParam::ChangeMonsNo is the // new forme number |