- 14
- Posts
- 9
- Years
- Seen Sep 25, 2023
According to the appropriate wiki page, up to 999 different ability IDs can exist in the ability.txt document. That's all good, but it doesn't seem to be the case. I've programmed the effects of over 255 abilities for the game I'm workin on. When an ability an ID number over 255, however, it wraps around to the start.
For example, Wigglypuff should have the "Puff Up" ability, which is ID 273. When I test this Wigglytuff in the game, however, it instead has the Insomnia ability. Insomnia has the ID number 15. Needless to say, 271 - 256 = 15.
Despite the fact over 255 abilities exist in my abilities.txt, I can only get the first 255 to appear in-game.
This seems like it would be a very simple fix, but I can't seem to figure it out. Any help would be much appreciated.
For example, Wigglypuff should have the "Puff Up" ability, which is ID 273. When I test this Wigglytuff in the game, however, it instead has the Insomnia ability. Insomnia has the ID number 15. Needless to say, 271 - 256 = 15.
Despite the fact over 255 abilities exist in my abilities.txt, I can only get the first 255 to appear in-game.
This seems like it would be a very simple fix, but I can't seem to figure it out. Any help would be much appreciated.
Last edited: