• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Script] New to ROM Hacking, having noob issues D:

  • 2
    Posts
    3
    Years
    • Seen Aug 22, 2022
    Hi, I'm new to ROM hacking so I'm just experimenting with some things atm, currently trying to get reusable TMs to work, which seems simple from what I can tell, just remove 2 lines of code from src/party_menu.c to remove the removeitem check and give every TM an importance value of 1 in src/data/items.c so they act like Key Items but when I build the ROM and check, TMs are still Vanilla, clean save and everything. Sorry if I'm missing something stupidly obvious but I can't figure out what's wrong, plez halp XD
     
    i'm guessing you're following this: https://github.com/pret/pokeemerald/wiki/Infinite-TM-usage

    i just tried step 1 in my pokeemerald and it worked perfectly fine for making TMs reusable, so you must have done something wrong which you haven't noticed. some things to double check:

    are you absolutely sure that the lines you're removing are the ones inside the Task_LearnedMove function? and, are you sure you removed them?
    are you sure you saved the file after editing it?
    are you sure that the file you edited is in the same project as the ROM you're building?
    are you sure that the ROM built successfully?
    are you sure that the ROM you've built is the one you're loading in your emulator? i don't think having a clean save file will matter when changing item use behaviour.

    just make sure you're not making any mistakes like that, since that tutorial from the wiki should definitely work.
     
    Not entirely sure what was wrong but got a new copy of party_menu.c, made the edits to that and that seems to have worked. Best guess, I just didn't save properly but who knows. Gunna test the ROM now, make sure it works

    Edit: Works, yay lol I shouldn't have need to ask for help with that but here we are, thank you @ellabrella for replying to my really stupid problem :D
     
    Last edited:
    Back
    Top