Search the Community
Showing results for tags 'Structure'.
Similar to the generation 4, the third generation games does not encrypt Pokémon data in the RAM; therefore, making the process of finding Pokémon data during battles becomes relatively easy. As outlined on Data Crystal’s “Pokémon FireRed and LeafGreen:RAM map” enemy Pokémon start at index 0x0202402C and party Pokémon start at 0x02024284 in the RAM with each Pokémon consisting of 100 bytes. However, only the first 80 bytes is important for extracting Pokémon from the RAM with the structure looks like this. Table: Additional Reading and Resources:
Pokémon Structure in RAM Due to a lack of documentation regarding how Pokémon are stored in RAM during battle of the generation 4 games I have taken it upon myself to document how they are structured and how to extract them. I've found that the Pokémon data is stored around the addresses 002C0BC2 to 002D5780 when a RAM dump is viewed in a hex editor. The length of the data is of 128 bytes (decimal value) or 80 bytes (hexadecimal value) per Pokémon. With that the following is the structure of Pokémon data in the RAM of generation 4 main line games if the relevant 128 bytes were extracted from