I actually figured out how to do it but thanks for your help anyways! :) The only problem with it is that I don't know how to remove the "x1" that appears next to them in the bag. I'm guessing that would require asm too? >_>
Compile this, then search the rom for it. Rule out all that aren't on an even offset. Then, look at them in a disassembler. Any one followed by bge is a good contender. Then, set break points on the cmp and see if it is used when using a TM. If none check out, redo with
Hey, just wondering if you can give me some help on something. I've been researching adding the gen 5 reusable TMs to my hack and I came across this post by Jambo51. Since you're working on the 649 patch now, I was wondering if you had any information on it? Thanks!
/me opens up my own tutorial just to find out what that var does....
4050 Unknown or multi-use.
Set to 0x1 after the "Don't go out yet!" OAK Script event.
Set to 0x2 during the Hall of Fame room level script, if the National Dex is NOT already unlocked.
Set to 0x3 after OAK's chat with the player in PALLET TOWN after beating the elite four.
If you removed all of those scripts, then yes, it is safe. That is pretty much how this works. Pick a var, check it, make sure nothing uses it, then go for it.
Well that shows how much I know, thanks for pointing that out to me. :) Back when I started hacking there weren't any tutorials for that so I just had to figure out everything myself. :P just to be sure, from your tutorial, it's safe to just change the number to 4050 for all of my scripts, right?