Pokémon species data structure (Generation I)
The Pokémon species data structure is a 28-byte structure, stored in the ROM of the Generation I games for every Pokémon species, that determines most of the information inherent to the species, such as base stats, types, and catch rate. The structures (with the exception of Mew in Red and Blue) appear in Pokédex order rather than index number order. Cries and level-up moves (other than those known at level 1), as well as Evolutions, are stored elsewhere. The Pokémon species' names are not part of this structure, but are instead stored elsewhere.
Notes
| Offset | Contents | Size |
|---|---|---|
| 0x00 | Pokédex number | byte |
| 0x01 | Base HP | byte |
| 0x02 | Base Attack | byte |
| 0x03 | Base Defense | byte |
| 0x04 | Base Speed | byte |
| 0x05 | Base Special | byte |
| 0x06 | Type 1 | byte |
| 0x07 | Type 2 | byte |
| 0x08 | Catch rate | byte |
| 0x09 | Base Exp. yield | byte |
| 0x0A | Dimensions of front sprite | byte |
| 0x0B | Pointer to front sprite | word |
| 0x0D | Pointer to back sprite | word |
| 0x0F-0x12 | Moves known at Lv. 1 | 4 bytes |
| 0x13 | Growth rate | byte |
| 0x14-0x1A | TM and HM flags | 7 bytes |
| 0x1B | Padding (always 0) | byte |
Stat experience yield
Generation I has no effort yield field. When a Pokémon is defeated, the stat experience it gives is equal to its base stats. Special is a single stat, so it is used for both Special Attack and Special Defense.
Types
The types are associated with the following values. For a single-type Pokémon, both types are set to the same value. Values 9-19 are unused and are displayed as Normal.
| Value | Type | Value | Type | Value | Type |
|---|---|---|---|---|---|
| 0 | Normal | 9 | Normal | 18 | Normal |
| 1 | Fighting | 10 | Normal | 19 | Normal |
| 2 | Flying | 11 | Normal | 20 | Fire |
| 3 | Poison | 12 | Normal | 21 | Water |
| 4 | Ground | 13 | Normal | 22 | Grass |
| 5 | Rock | 14 | Normal | 23 | Electric |
| 6 | Bird | 15 | Normal | 24 | Psychic |
| 7 | Bug | 16 | Normal | 25 | Ice |
| 8 | Ghost | 17 | Normal | 26 | Dragon |
Sprites
The dimensions of the front sprite are given in the data structure even though they can also be found at the beginning of the (compressed) image data. The high nybble is the width, and the low nybble is the height. The width and height are given in tiles; to convert to pixels, multiply by 8. The back sprite is always 4×4.
The bank in which the sprite is located is based on the internal id of the Pokémon:
| Internal id | Red, Blue | Yellow | Red, Green (Japan) |
|---|---|---|---|
| 21 | 0x01 | 0x09 | 0x01 |
| 182 | 0x0B | 0x0B | 0x0D |
| 0 to 30 | 0x09 | 0x09 | 0x09 |
| 31 to 73 | 0x0A | 0x0A | 0x0A |
| 74 to 115 | 0x0B | 0x0B | 0x0B |
| 116 | 0x0C | 0x0C | 0x0B |
| 117 to 152 | 0x0C | 0x0C | 0x0C |
| 153 | 0x0D | 0x0D | 0x0C |
| 154 to 255 | 0x0D | 0x0D | 0x0D |
Ids are checked top to bottom, so the first two rows take precedence over the ranges. Japanese Blue, as well as the English, German, French, Italian and Spanish releases, use the same banks as their Red/Blue or Yellow counterparts shown here.
The ROM offset of a sprite is then . For example, Bulbasaur has an internal id of 153, so its sprites are in bank 0x0D. Its front sprite pointer is 0x4000 and its back sprite pointer is 0x40E5, which puts the sprites at 0x034000 and 0x0340E5 in the ROM.
Growth rate
The following values correspond to the different growth rates a Pokémon can have:
| Value | Growth rate | Lv. 100 Exp |
|---|---|---|
| 0 | Medium Fast | 1,000,000 |
| 3 | Medium Slow | 1,059,860 |
| 4 | Fast | 800,000 |
| 5 | Slow | 1,250,000 |
TMs
The TMs and HMs a Pokémon can learn are stored as a bit field, with one bit per move, ordered from the least significant bit (LSB) of the first byte to the most significant bit (MSB) of the last byte. The five HMs are treated as TMs 51-55.
For example, Bulbasaur's TM and HM flags are A4 03 38 C0 03 08 06. TM n is stored in bit of byte , where bit 0 is the LSB:
| Byte | Value | Binary | Bits set | Moves |
|---|---|---|---|---|
| 0 | A4 |
10100100 |
2, 5, 7 | TM03 (Swords Dance), TM06 (Toxic), TM08 (Body Slam) |
| 1 | 03 |
00000011 |
0, 1 | TM09 (Take Down), TM10 (Double-Edge) |
| 2 | 38 |
00111000 |
3, 4, 5 | TM20 (Rage), TM21 (Mega Drain), TM22 (SolarBeam) |
| 3 | C0 |
11000000 |
6, 7 | TM31 (Mimic), TM32 (Double Team) |
| 4 | 03 |
00000011 |
0, 1 | TM33 (Reflect), TM34 (Bide) |
| 5 | 08 |
00001000 |
3 | TM44 (Rest) |
| 6 | 06 |
00000110 |
1, 2 | TM50 (Substitute), HM01 (Cut) |
The binary column is written with the MSB on the left, so the bit numbers count from the right. Byte 6 has bit 1 set for TM50 and bit 2 set for TM51, which is HM01 (Cut). Bits 3-6 are HM02-HM05, which Bulbasaur cannot learn, and bit 7 is unused.
Fingerprint
The first entries of the table are shown below and can be used to locate it in a ROM.
Red and Blue
01 2D 31 31 2D 41 16 03 2D 40 55 00 40 E5 40 21 2D 00 00 03 A4 03 38 C0 03 08 06 00 // BULBASAUR 02 3C 3E 3F 3C 50 16 03 2D 8D 66 2B 50 57 51 21 2D 49 00 03 A4 03 38 C0 03 08 06 00 // IVYSAUR 03 50 52 53 50 64 16 03 2D D0 77 62 41 97 43 21 2D 49 16 03 A4 43 38 C0 03 08 06 00 // VENUSAUR 04 27 34 2B 41 32 14 14 2D 41 55 5C 5C 5C 5D 0A 2D 00 00 03 B5 03 4F C8 E3 08 26 00 // CHARMANDER 05 3A 40 3A 50 41 14 14 2D 8E 66 0C 5F 48 60 0A 2D 34 00 03 B5 03 4F C8 E3 08 26 00 // CHARMELEON 06 4E 54 4E 64 55 14 02 2D D1 77 86 62 95 64 0A 2D 34 2B 03 B5 43 4F CE E3 08 26 00 // CHARIZARD 07 2C 30 41 2B 32 15 15 2D 42 55 B8 5D 8F 5E 21 27 00 00 03 B1 3F 0F C8 83 08 32 00 // SQUIRTLE 08 3B 3F 50 3A 41 15 15 2D 8F 66 B1 60 F1 61 21 27 91 00 03 B1 3F 0F C8 83 08 32 00 // WARTORTLE 09 4F 53 64 4E 55 15 15 2D D2 77 37 76 51 78 21 27 91 37 03 B1 7F 0F CE 83 08 32 00 // BLASTOISE 0A 2D 1E 23 2D 14 07 07 FF 35 55 49 4A E1 4A 21 51 00 00 00 00 00 00 00 00 00 00 00 // CATERPIE ...
Yellow
01 2D 31 31 2D 41 16 03 2D 40 55 00 40 E4 40 21 2D 00 00 03 A4 03 38 C0 03 08 06 00 // BULBASAUR 02 3C 3E 3F 3C 50 16 03 2D 8D 66 E9 4F 73 51 21 2D 49 00 03 A4 03 38 C0 03 08 06 00 // IVYSAUR 03 50 52 53 50 64 16 03 2D D0 77 61 41 81 43 21 2D 49 16 03 A4 43 38 C0 03 08 06 00 // VENUSAUR 04 27 34 2B 41 32 14 14 2D 41 55 F0 5D FC 5E 0A 2D 00 00 03 B5 03 4F C8 E3 08 26 00 // CHARMANDER 05 3A 40 3A 50 41 14 14 2D 8E 66 C8 60 25 62 0A 2D 34 00 03 B5 03 4F C8 E3 08 26 00 // CHARMELEON 06 4E 54 4E 64 55 14 02 2D D1 77 A9 64 00 67 0A 2D 34 2B 03 B5 43 4F CE E3 08 2E 00 // CHARIZARD 07 2C 30 41 2B 32 15 15 2D 42 55 58 5F 4B 60 21 27 00 00 03 B1 3F 0F C8 83 08 32 00 // SQUIRTLE 08 3B 3F 50 3A 41 15 15 2D 8F 66 8E 62 14 64 21 27 91 00 03 B1 3F 0F C8 83 08 32 00 // WARTORTLE 09 4F 53 64 4E 55 15 15 2D D2 77 FA 75 0B 78 21 27 91 37 03 B1 7F 0F CE 83 08 32 00 // BLASTOISE 0A 2D 1E 23 2D 14 07 07 FF 35 55 05 4B E8 4B 21 51 00 00 00 00 00 00 00 00 00 00 00 // CATERPIE ...
Storage
The following are ROM offsets for the first entry (Bulbasaur) and for Mew in each release of the Generation I games.
| Game | Language | Bulbasaur | Mew |
|---|---|---|---|
| Red | Japanese | 0x038000
|
0x004200
|
| Japanese (Rev 1) | |||
| Green | Japanese | ||
| Japanese (Rev 1) | |||
| Blue (J) | Japanese | 0x0383DE
|
0x00425B
|
| Red | English | ||
| German | |||
| French | |||
| Italian | |||
| Spanish | |||
| Blue | English | ||
| German | |||
| French | |||
| Italian | |||
| Spanish | |||
| Yellow | Japanese | 0x039446
| |
| Japanese (Rev 1) | |||
| Japanese (Rev 2) | |||
| Japanese (Rev 3) | |||
| English | |||
| German | |||
| French | |||
| Italian | |||
| Spanish |
Related articles
| |||||||||||||||||||||||||||||||||
| This data structure article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games. |