BluRosie/hgss-monexpansion

the day care freezes the game after index 898 because the structure for international text overflows

Bubble791 opened this issue · 4 comments

the day care freezes the game after index 898 because the structure for international text overflows

this is likely caused by the save file not actually being dynamically allocated as the code written assumes. the pokemon in the daycare is thus read from the dex data, specifically the gender flags at the end of the structure. hopefully an easy fix!

can not reproduce, if when adding more pokemon later it becomes an issue then i will reopen the issue and go from there

need to take out the international dex pages in order to get this to work properly. basically it overflows the area, so i can either take the system out or expand it. taking it out is far preferable

closing because it won't be an issue for a bit--just have to expand the dex structure when we get there so it malloc's more space (maybe to 0x4C0 instead)