Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2010-11-04 14:10:46

dooshboi
Member
From: Brooklyn, New York
Registered: 2010-11-02
Post 1/132

G/S Rival Editing?

So I've been working on a Pokemon Silver Hack (very simple one, just an upgrade to it) and I've found that I can't find the Rival Trainer data. I've searched for it with hex, text, and searched the internet. Sorry to bother you guys, but do you know where the trainer data for all the Rival fights are located? Help is much appreciated, and thanks in advance.


I don't calculate stat values, I don't breed my way to perfection, and I don't care about natures. I catch my Pokemon the way they are, and treat them like individuals instead of brainless drones.

Offline

#2 2010-11-04 17:17:27

Miksy91
Member
Registered: 2010-10-16
Post 170/2,311

Re: G/S Rival Editing?

Rival battles start at 0x39A92, byte E6 seems to refer to his name.

Last edited by Miksy91 (2010-11-04 17:19:28)

Offline

#3 2010-11-04 19:04:46

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 314/3,480

Re: G/S Rival Editing?

Ah, Miksy you beat me to it. Good work haha.

Yeah, the rival's data was annoying to me at first as well. I tried searching for the byte *usually* used to refer to his name in text at the rainer data and couldnt find him. I found it by searching for his pokemon in order. (and later by just following his trainer group pointer). But yeah he's edited just like any other trainer, just remember you have three entries for each battle, since he has three possible teams based on his three possible starters.

Offline

#4 2010-11-05 06:24:27

Miksy91
Member
Registered: 2010-10-16
Post 171/2,311

Re: G/S Rival Editing?

Actually, I also tried searching for "KAMON" 50... at first but that didn't give any results so I just went to the beginning of trainer data to see for myself.

Also, I figured out that there are pointers for each trainer in front of the trainer data (at least in yellow) :D

Offline

#5 2010-11-05 14:57:28

dooshboi
Member
From: Brooklyn, New York
Registered: 2010-11-02
Post 2/132

Re: G/S Rival Editing?

Thanks guys! And I've figured out that if you search for the data in hex (his pokemon,their levels, their moves)  you can easily find any set of rival fights. But thanks anyway, your method seems much easier.

And Miksy I'm starting to learn how to do pointers and headers. Youre formulas helped, i just can't access Pokecommunity now to thank you properly.


I don't calculate stat values, I don't breed my way to perfection, and I don't care about natures. I catch my Pokemon the way they are, and treat them like individuals instead of brainless drones.

Offline

#6 2010-11-05 16:53:01

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 316/3,480

Re: G/S Rival Editing?

In GSC there is a table pointing to where each trainer group starts. Also using this, you can add more trainers by repointing and adding more encounters. You can also add legit trainer data for professor Oak. he shares his pointer with Will of the elite four, but you can repoint his and go to town making new Oak data. It's good stuff. I think I posted that offset here somewhere but if not let me know and I'll re-post it

Offline

Board footer

Powered by FluxBB