- 23
- Posts
- 7
- Years
- Seen Nov 28, 2023
Hi all,
does anyone know whether there is a hard-coded limit for the number of trainers one can include in Pokeemerald? I've been adding new trainers and trainer parties without problems to a total number of 864 (#define TRAINERS_COUNT 864) compared to 855 in default Emerald. However, I can't seem to make any new trainer battle work after hitting this magic number. Upon interaction, the NPCs say their default message as if the battle was already complete although it never happened. I've been trying to understand the gTrainers structure but nothing seems to hint that it should have a limit in size (as far as I understand). As for compilation, make runs without warnings or other issues.
If anyone has a better understanding of this issue, I would be very grateful for your insights!
does anyone know whether there is a hard-coded limit for the number of trainers one can include in Pokeemerald? I've been adding new trainers and trainer parties without problems to a total number of 864 (#define TRAINERS_COUNT 864) compared to 855 in default Emerald. However, I can't seem to make any new trainer battle work after hitting this magic number. Upon interaction, the NPCs say their default message as if the battle was already complete although it never happened. I've been trying to understand the gTrainers structure but nothing seems to hint that it should have a limit in size (as far as I understand). As for compilation, make runs without warnings or other issues.
If anyone has a better understanding of this issue, I would be very grateful for your insights!