• 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?".
  • 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?
     
  • 824
    Posts
    9
    Years
    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.
     
  • 824
    Posts
    9
    Years
    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.
     

    Maruno

    Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    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