• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Cap for ability.txt is 255?

  • 14
    Posts
    10
    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.
     
    Last edited:
    Back
    Top