Item data structure (Generation III)

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 09:36, 28 June 2006 by Zhen Lin (talk | contribs)
Jump to navigationJump to search

Items are stored in a 44-byte structure in the GBA games.

Offset Field Size
0 Name ?
14 Index number 2 bytes
16 Price 2 bytes
18
20 Description 4 bytes
24
26 Pocket 1 byte
27 Type 1 byte
28

Pocket

Number Item type
1 Main pocket
2 Poké Ball
3 Berries
4 TMs and HMs
5 Key items

Type

For items other than Poké Balls, the type determines how the item can be used. With Poké Balls, the type indicates the Poké Ball type, and is one less than the index number.

Type Description
0 Mail
1 Items which can be used out-of-battle.
2 Items which must be used in a certain location; key items of this type can be assigned to select.
3 Only the Pokéblock case is of this type.
4 Items which cannot be used out-of-battle.