You are not logged in.
Okay, so I;ve been messing with a Silver ROM to get some practice for my Crystal hack, and I wanna change what kind of Pokémon the 'Dude' catches when he teaches the player how to catch pokémon.
I was looking into some hex offsets, and noticed rattata had a hex number of 13. So I went in to Transhexlation with a table file, found Dude, changedh is name to 'Aide'. I had no problem with this. But I cannot find where rattata may be located. I searched for '13' and the closest one to the script ended up making the pkmn, bag, and run while in battle turn white so that you cannot see it (not for dude, for everything). And I simply turned it back to 76 or whatever it was before and was afraid to delve any deeper into the ROM. Has anybody done this?
I know for SaR (haven't played it yet) I'm guessing Mateo had to do something to make it a Weedle (if he did) when the Old Man teaches Red how to catch Pokémon.
I know I'm close, I just need a little help.
The code to change what he catches is in his event script. Well, technically, there are 3 scripts you will have to change to make sure it changes right. There is one script each for the triggers, since he can show you how to catch one there, and another in his event script.
If you use Johtomap, you can do this very easily by clicking "decompile script" and changing the 0x13 associated with the Loadpokedata command.
If you want to do it manually, you could just jump to the start offsets and change them there as well. In Silver, the offsets for these scripts are:
0x128D98 - Top trigger
0x128DCE - Bottom trigger
0x128E1C - Dude's person event
In the hex editor, you will look until you see "5C 13 05" which tells it to load the data for a Rattata at Lv5. You could change this to any pokemon at any level. I hope this helped!
EDIT: If you want, there is nothing stopping you from making him catch a different pokemon based on which event causes him to. So the top trigger calls a Rattata battle, bottom trigger loads Pidgey, and if you wait and talk to him directly to do it he loads a Sentret.
Alright, JohtoMap would not let me save the script for some reason. So I did it the manly way and hex edited it. Works like a friggin' charm. Thank you so much Mateo, you are such a helpful person even if you are busy with school. This really is a great forum. Everyone helps each other out, it's fricken amazing.
Ah. For Johtomap you would need to hit "compile". Then close pksv. Johtomap will then ask you to reload the rom because it has changed. Then you would repeat for the other scripts. But Yeah, the hex editor was probably faster for a small edit like this anyway, no need to keep reloading the rom and such haha. Glad you got it figured it out, mate! Also, I'm glad you like it here. I'm glad we have a community like we do too!