• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

How to change how TMs/HMs are sorted in the bag

  • 21
    Posts
    11
    Years
    • Seen Oct 25, 2021
    So I've added a bunch more TMs and a few HMs, but they've all ended up after the preexisting ones. As in the the new TMs are after the old HMs and the new HMs are even further removed from where they're supposed to be. So how do I change the sort order of the TMs pocket so all the HMs are after all the TMs?
     
    So I've added a bunch more TMs and a few HMs, but they've all ended up after the preexisting ones. As in the the new TMs are after the old HMs and the new HMs are even further removed from where they're supposed to be. So how do I change the sort order of the TMs pocket so all the HMs are after all the TMs?

    You'd have to change the order the items are listed in the items.txt file.
     
    As in re-numbering them or just changing the order in the file?

    As far as I know, you need to change the number of the item. It's very likely that any item you added will have one of 570 or higher.

    The problem with changing the number so that it's above (less than) the HMs is that you'll have to change the call number for every item including and after the HM you want them above.
     
    The list of items can have gaps. You can just renumber the old HMs to something really high (say 900), and still put your new TMs after all the old items (but before 900; your new HMs presumably go after 910-ish). You don't need to touch the berries/mail/battle items/key items at all.

    Remember to rename the appropriate icons as well.
     
    Back
    Top