Quote:
Originally Posted by anonyboy
Basically it happens when An Extended Pokemon dosen't have a defined habitat entry, so it points to the 1st pokemon in the 1st habitat page: Rattata (Could be Zigzagoon if you use a custom dex/edited kanto dex) if anybody can disable habitats and make the dex go straight to numerical mode/National Dex mode, it'll be Good.
|
I think I tried this on someone else's ROM who had the habitat issue. It crashed the game. You need the habitat page in the dex mode you're in I suppose. There ARE a few limiters in the code which relate to switching them, and admittedly I didn't swap all of them around.
The major limiters are at:
08106828 (151 pokemon species ID check)
0810687A (this one is a flag check and then branches differently on the result)
A few things on National Dex activation:
The actual dex flag check for the Pokedex graphic seems to start at 08104AB0.
For the national dex to be active there's a byte in the player data structure that needs to be 0xB9, flag 0x840 must be set, and variable 0x404E is set to 0x6258.
There is a routine at 0806E25C that checks all of this and returns a 0 or 1 depending on if the conditions are met. This routine is run...in a lot of places. Making it return 1 all the time for example, would allow you to evolve Pokemon without the Nat dex, learn special moves, and much more I haven't looked into yet.