You are not logged in.
Does anybody know, how to change gym leader prize in Gold?
ex: Change Falkner prize to give Hiro TM01 or else if Hiro win the match.
I know that possible, but, where the offset of leader data?
I've search them with Megamap to see pointer, then I get the offset and going to it...
But, there's no item script for the leader :(
Somebody can help me?
Simply open the script in PKSV and change the giveitem (or verbosegiveitem) byte to the value of the item that you want him to give. It might appear as “verbosegiveitem itemname 1” where itemname is the name of another item that would be given in the GBA games.
Simply change that name for the value of the item you want (example: 01 for Masterball). You can find a list of the values somewhere in the Gen II section or in Cross-Generational section.
@Gallego13, can you explain me with hex editor?
Because my johtomap can't be run,so I can't use PKSV too.. :(
I think you should check your PC's .dlls and updates because it's not normal that almost any tool works for you :P
Anyway, you need to check the offset for the sprite you want, look for the item's byte and change it.
Yeah, I've found leader falkner offset and I'am going with hex editor..
But, there's no item number :(
it just name, pokemon data, and pokemon move,
Okay, you haven't found his script, you've found his trainer data. His script is located at 0x15812F. So you would go there in a hex editor and look for 0x9D 0xDF 0x01. This translates to:
verbosegiveitem 0xDF 0x1 ' Gives you one TM 31 Mud-Slap. As we can see, we find this code at 0x158170.
To change the item he gives you, just change 0xDF to the item number of whichever item number you want.
Also, as a side note, PKSV does not load his script properly anyway. I forget which one of the commands it is, probably the "phone call on next map" or whatever it calls it, that it gets wrong causing the rest of the script to decompile incorrectly, and making it impossible to actually edit his item in PKSV anyway.