Bulbapedia:Sandbox: Difference between revisions

Line 4,087: Line 4,087:


== Pokémon Evolution Data Structure ==
== Pokémon Evolution Data Structure ==
Each species has 5 substructures, as {{p|Eevee}} has 5 evolution options in this generation.  The overall structure is laid out as follows:
Each species has 7 substructures, as {{p|Eevee}} has 7 evolution options in this generation.  The overall structure is laid out as follows:
{| class="wikitable"
{| class="wikitable"
! Offset !! Size !! Type !! Notes
! Offset !! Size !! Type !! Notes
|-
|-
| 0x00 || 8 || Substructure || First Substructure
| 0x00 || 6 || Substructure || First Substructure
|-
|-
| 0x08 || 8 || Substructure || Second Substructure
| 0x06 || 6 || Substructure || Second Substructure
|-
|-
| 0x10 || 8 || Substructure || Third Substructure
| 0x0C || 6 || Substructure || Third Substructure
|-
|-
| 0x18 || 8 || Substructure || Fourth Substructure
| 0x12 || 6 || Substructure || Fourth Substructure
|-
|-
| 0x20 || 8 || Substructure || Fifth Substructure
| 0x18 || 6 || Substructure || Fifth Substructure
|-
| 0x1E || 6 || Substructure || Sixth Substructure
|-
| 0x24 || 6 || Substructure || Seventh Substructure
|}
|}


Line 4,129: Line 4,133:
|-
|-
| 0x04 || 2 || uint16_t || Target Pokémon - The Pokémon which this Pokémon will evolve to.  See [[List of Pokémon by index number (Generation III)]] for a list of values.
| 0x04 || 2 || uint16_t || Target Pokémon - The Pokémon which this Pokémon will evolve to.  See [[List of Pokémon by index number (Generation III)]] for a list of values.
|-
| 0x06 || 2 || uint16_t || Padding due to alignment. Zeroed out.
|}
|}


54

edits