Pokémon species data structure (Generation III): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
m (Minor grammar error)
Line 1: Line 1:
==Specs==
==Specs==


Every pokemon in Ruby, Sapphire, FireRed, LeafGreen, and Emerald have a 28-byte base stats structure stored in the game's ROM somewhere.
Every pokemon in Ruby, Sapphire, FireRed, LeafGreen, and Emerald has a 28-byte base stats structure stored in the game's ROM somewhere.


<table border=2 cellspacing=1 cellpadding=2 align=center width=300px>
<table border=2 cellspacing=1 cellpadding=2 align=center width=300px>

Revision as of 01:38, 15 February 2005

Specs

Every pokemon in Ruby, Sapphire, FireRed, LeafGreen, and Emerald has a 28-byte base stats structure stored in the game's ROM somewhere.

Base Stats
HPBYTE
AttackBYTE
DefenseBYTE
SpeedBYTE
Special AttackBYTE
Special DefenseBYTE
Type 1BYTE
Type 2BYTE
Catch Rate (?)BYTE
Experience YieldBYTE
Effort YieldWORD
Item 1WORD
Item 2WORD
Sex DeterminantBYTE
Egg StepsBYTE
Base HappinessBYTE
Experience TypeBYTE
Breed Group 1BYTE
Breed Group 2BYTE
Ability 1BYTE
Ability 2BYTE
(???)BYTE
(???)BYTE
(???)BYTE

If it's marked with (???) it's because I don't know what it does. Someone else please put in what those are if you know.

Storage

The following are ROM offsets for the first entry (Bulbasaur) in each advanced game:

Sapphire: 0x001febc4
Ruby: 0x001fec34
Fire Red: 0x002111A8
Leaf Green: 0x00211184
Emerald: 0x002f0d70