• 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!
  • 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.

[Pokeemerald] [SOLVED] TM 100 Not Displaying Properly

I'm in the process of implementing TMs 51 to 100, and everything works as intended except for TM 100 displaying as No?0. I assume it's because there isn't enough space to display three-digit numbers in the TM bag case, so I'm wondering if there's a way to fix that, especially if I decide to add more TMs past 100. (The item descriptions are a work in progress)
 

Attachments

  • [PokeCommunity.com] [Pokeemerald] [SOLVED] TM 100 Not Displaying Properly
    Screenshot (201).png
    32 KB · Views: 2
I'm in the process of implementing TMs 51 to 100, and everything works as intended except for TM 100 displaying as No?0. I assume it's because there isn't enough space to display three-digit numbers in the TM bag case, so I'm wondering if there's a way to fix that, especially if I decide to add more TMs past 100. (The item descriptions are a work in progress)
It's not displaying correctly because the game is coded to always display the number using two digits. You can change it to be three digits by replacing 2 with 3 on this line in src/item_menu.c.
 
Back
Top