Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - Wild Pokemon offsets
  
User name:
Password:
Reply:
 

UserPost
Kyoufu Kawa
Posts: 1135/2481
Lab, you're a fuckin' genius for explaining it like that. But just the offset and any format differences would suffice.
labmaster
Posts: 22/43
I can tell you where the data is - Kawa probably can as well. In FireRed, the actual encounter data starts at 083c73a0. This is referenced by a block of pointers starting at 083c9cb0. The problem (for me, at least) is knowing what data matches which areas. The index to the pointer to the encounter data is created in a most inefficient manner - a loop in the function at 08082934, which I haven't got around to reversing yet.

However, you can still find the addresses manually for the area you are currently in. In VBA-SDL, place a break on thumb at 08082b4a. The word in r00 is a pointer to the start of the encounter data for the area you're in (for e.g., Route 01 data is at 083C8E60).

The format of the data itself is pretty simple to understand - it's just the min/max level of the Pokemon followed by an identifier for the Pokemon species itself.
darkwing42
Posts: 3/3
thats okay. I didn't expect much anytime soon. just hoped someone might have some thoughts.
Kyoufu Kawa
Posts: 1124/2481
Unfortunatly, wild pokemon data -is- very strangely stored. It took me at least five toilet breaks to figure out how to make a program follow the right path through the ROM. Can't help ya here. The moment FR/LG and/or E offsets become available, they will be added to PokeRoms.ini
darkwing42
Posts: 2/3
are the wild pokemon offsets going to be added soon to pokeroms.ini for fire red, leaf green and emerald? I tried to look myself using a hex editor and the example of the offset for sapphire but I couldn't make heads or tails out of it. Maybe a tutorial would help so more people can search.
Acmlm's Board - I2 Archive - Pokémon hacking - Wild Pokemon offsets


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.