Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Emulation & ROM Hacking

Pokemon Stadium 2 change trainer pokemon - Page 1

Pokemon Stadium 2 change trainer pokemon

Posted by: EliteAnax17
Date: 2014-10-25 18:11:12
Hi, I'm looking for documentation & help on how to change the pokemon for a specific trainer in Pokemon Stadium 2 in Gym Leader Castle mode.

I have no idea where to start, http://tcrf.net/Pok%C3%A9mon_Stadium_2_%28International%29 wasn't of any help and there isnt much documentation on where the data on the pokemon species for specific trainers is located within the ROM.

Specifically, I want to change Red's. Any help would be appreciated.

Re: Pokemon Stadium 2 change trainer pokemon

Posted by: Stackout
Date: 2014-10-25 18:40:53
There's some stuff at http://datacrystal.romhacking.net/wiki/Pok%C3%A9mon_Stadium_2:ROM_map – but that doesn't seem to cover what you're looking for. I'd search for the known constants of what you're looking for: Pokémon index numbers, levels, move index numbers, etc. The Gen 2 Pokémon data structure might help there (find it on Bulbapedia).

Re: Pokemon Stadium 2 change trainer pokemon

Posted by: EliteAnax17
Date: 2014-10-25 21:49:13
So, to test trying to find Red's R1 Tauros on his Stadium team, I used the rental data (I figured its formatted the same since it stores species, item held, moveset and level) and came up with 32 80 00 00 1D E7 59 3F 00. 1D 37 59 3F being the moveset as listed on Serebii. I searched it and found nothing within the ROM, but it did find 32 80 00 00, but there wasnt any data listed after it. Could that still be Tauros? Am I doing anything wrong here?

Because pokemon explicit data stored in the ranges of:

    0x1708494-0x1708C00 : Little Cup Rental Pokémon
    0x1708CB4-0x170B1D0 : Prime Cup / Free Battle Rental Pokémon
    0x170BBA4-0x170D220 : Poké Cup / Gym Leader Castle Rental Pokémon

And text is stored between 0x1D718B8-0x1D8FAC8 I am taking a guess that it could be between 0x170D220-0x1D718B8 somewhere.

Re: Pokemon Stadium 2 change trainer pokemon

Posted by: Bent`
Date: 2014-10-26 19:19:02
0x1710f54
32 80 8C 00 1D 59 E7 3F
L50 Tauros Scope Lens 00 Headbutt Earthquake Iron Tail Hyper Beam

No time to take a closer look and figure out the format, sorry. If you figure out anything please share.

Re: Pokemon Stadium 2 change trainer pokemon

Posted by: EliteAnax17
Date: 2014-11-02 16:57:08
Red's R1 data is located from 01710EDC to 01710F54.

I've successfully replaced the data, thanks guys.

Re: Pokemon Stadium 2 change trainer pokemon

Posted by: Bent`
Date: 2014-11-04 01:45:17
I took a closer look over the weekend. Here is all the text and roster data dumped. The repo also has tools to automatically insert changed data into the ROM, so once you have the tools built you only need to edit the text/json files..