Hey guys!
I'm new to the forum and thought I'd contribute to the tutorial page because there aren't many Pokemon G/S hacks out there and I'm hoping there'll be more if i give some information on hacking Trainers.
First, you'll need a good Hex Editor (I use Windhex) and a proper RBYGS table file. Next, you'll need, obviously, a Pokemon Silver or Gold ROM.
Open the ROM in your hex editor of choice, with the correct table file. Now firstly, the Trainer Data is setup very differently in different parts of the ROM. Some will just give (PKMNLVL PKMN PKMNLVl PKMN FF) this is the most basic trainer setup. Remember, right before this, there is the Trainer's name followed by 50 00, 00 50, or 50 02, or something similar to that. The next Trainer format is (PKMNLVL PKMN MOVE MOVE MOVE MOVE ETC.) SO BE CAREFUL WHEN EDITING THOSE.
Now, to get to the Trainer you need to edit, just search their name in the Text Search part of your Hex Editor, remember that their name will be in hex, too, so don't overwrite that data unless you know what you're doing! If you need a more specific location, the Trainer Teams start at around 0399CB.
I'm new to the forum and thought I'd contribute to the tutorial page because there aren't many Pokemon G/S hacks out there and I'm hoping there'll be more if i give some information on hacking Trainers.
First, you'll need a good Hex Editor (I use Windhex) and a proper RBYGS table file. Next, you'll need, obviously, a Pokemon Silver or Gold ROM.
Open the ROM in your hex editor of choice, with the correct table file. Now firstly, the Trainer Data is setup very differently in different parts of the ROM. Some will just give (PKMNLVL PKMN PKMNLVl PKMN FF) this is the most basic trainer setup. Remember, right before this, there is the Trainer's name followed by 50 00, 00 50, or 50 02, or something similar to that. The next Trainer format is (PKMNLVL PKMN MOVE MOVE MOVE MOVE ETC.) SO BE CAREFUL WHEN EDITING THOSE.
Now, to get to the Trainer you need to edit, just search their name in the Text Search part of your Hex Editor, remember that their name will be in hex, too, so don't overwrite that data unless you know what you're doing! If you need a more specific location, the Trainer Teams start at around 0399CB.