Trainer 781
Guest
- 0
- Posts
![[PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion [PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion](https://i.imgur.com/nNDKOeZ.png)
![[PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion [PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion](https://i.imgur.com/0Iyjx63.png)
![[PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion [PokeCommunity.com] [EM] Safe, fast and dynamic Pokemon Expansion](https://i.imgur.com/FtyyxcD.png)
Hello.
As you probably know, there is a tutorial on how to expand pokemon. I've recently made a post there that the byte changes done in steps 7-10 mess with data it shouldn't touch causing unexpected behavior(aka bugs). The method depicted there also allows to expand the dex to only 740 slots. So I decided to take matters into my hands and create a not-buggy and complete pokemon expansion.
As some of you know, I'm a C hacker using Python scripts to compile the code. It was not different this time, though there's one additional script for repointing tables. Link to code.
Download the repository and follow the instructions in the readme file. I've also provided a more detailed description to make sure everything's clear.
Info
Spoiler:
Ram Space for pokedex seen/caught flags:
Spoiler:
A new saveblock has been created. The offset of it is present in BPEE.ld file and can be changed to whatever location you want. I chose 0x0203CF64, because I'm 95 percent sure it's the starting point of un-used RAM in EM.
Seen flags are appended at beginning, then go caught flags. Again, everything's read dynamically here, so the locations will change depending of your number of dex slots.
Seen flags are appended at beginning, then go caught flags. Again, everything's read dynamically here, so the locations will change depending of your number of dex slots.
New saveblock:
Spoiler:
It can hold maximally something about 3700 bytes, I don't remember exactly but it's the highest possible value that can be used without changing all game save funtions and disabling having two games saved. I did not use the method in the previous tut, because it was taken from a hack and I found the byte changes unreliable.
Max Pokemon No:
Spoiler:
There's no limit on pokemon in general. When it comes to dex, 'max' you can go is 999. It's just 1000 and above numbers are four-digits and would require to change the position of numbers in dex. I didn't find it necessary as I think 999 is more than enough, but if someone wants to go even higher, be my guest. (and change the number display :P)
Installation problems:
Spoiler:
Game crashes upon opening pokedex.
For some reason the latest version of DevkitArm doesn't properly assemble some instructions which may cause the crash. Download devkitARM from here https://sourceforge.net/projects/devkitpro/files/devkitARM/devkitARM_r45/ and put it in your DevkitPro folder.
Spoiler:
For some reason the latest version of DevkitArm doesn't properly assemble some instructions which may cause the crash. Download devkitARM from here https://sourceforge.net/projects/devkitpro/files/devkitARM/devkitARM_r45/ and put it in your DevkitPro folder.
If you find a bug, please either report here or make an issue on GitHub. As I said at the beginning this is supposed to be free of any bugs.
Last edited by a moderator: