- 28
- Posts
- 16
- Years
- Seen Jan 20, 2019
That means there's a value in a binary file somewhere in the game that controls the header number. I thought Gen V headers would be easy to expand, but it looks like we have the same problem we had in Gen IV. If I ever find that value, I will make sure SDSME edits it when adding and removing headers.
EDIT: I've spend the whole day looking for the bytes that control that with no luck. The function that loads the header data is in the arm9.bin, and I have found the file loading code, but there's no reference to the amount of headers available. I have also frozen values in the RAM while playing the game and tried to reset to check if I had managed to edit the value, but couldn't find anything either. Until the bytes are found, I have disabled the two buttons in the Gen V header editor in SDSME.
what's the address of the function that loads the header data? and the file loading code? i have virtually all the file-loading code labeled, but knowing which one it is beforehand would be nice.
e:
lol, already had it labelled:
Spoiler:
![[PokeCommunity.com] Spiky's DS Map Editor (NOW OPEN-SOURCE) [PokeCommunity.com] Spiky's DS Map Editor (NOW OPEN-SOURCE)](https://i.imgur.com/ywJRkDn.png)
kazo, try going to 0x1478C in the arm9 and increasing that 0x00000267.
e2: nvm, it works
Last edited: