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

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 43: Line 43:
| Carbos || byte
| Carbos || byte
|-
|-
| ? || 3 bytes
| ? || 1 byte
|-
| Calcium || byte
|-
| ? || 1 byte
|-
|-
| DVs || word
| DVs || word
Line 112: Line 116:
This value informs about the amount of [[HP Up]] used in the Pokémon. Just because the number of HP Ups we can use with a Pokémon is limited.
This value informs about the amount of [[HP Up]] used in the Pokémon. Just because the number of HP Ups we can use with a Pokémon is limited.


=== Protein, Carbos, Iron ===
=== Protein, Carbos, Iron, Calcium ===


The same as HP Up.
The same as HP Up.

Revision as of 13:01, 30 August 2009

0572Minccino.png This article does not yet meet the quality standards of Bulbapedia. Please feel free to edit this article to make it conform to Bulbapedia norms and conventions.
050Diglett.png This article is incomplete.
Please feel free to edit this article to add missing information and complete it.

Notes

Pokémon
Species byte
Remaining HP word
? byte
Status byte
? 3 bytes
Attack 1 byte
Attack 2 byte
Attack 3 byte
Attack 4 byte
OT ID word
Experience 3 bytes
HP Up byte
? byte
Protein 1 byte
? byte
Iron 1 byte
? byte
Carbos byte
? 1 byte
Calcium byte
? 1 byte
DVs word
PP1 byte
PP2 byte
PP3 byte
PP4 byte
level byte
Total HP word
Attack word
Defense word
Speed word
Special word

Pokémon in Generation I games are all stored in the same 44-byte structure.

The trainer EO is stored in other memory address.

Species

This value is 1 byte length, and is the Pokémon Species.

The value for each Pokémon is listed in this article.

Remaining HP

This value is 2 bytes length.

Is the current level of HP remaining for this Pokémon. The value must not be greater than the total HP.

Status

This value is 1 byte length, and is the status of the Pokémon:

0 = OK

4 = Sleep

8 = Poisson

10 = Burn

20 = Freezed

40 = Paralysis

OT ID

Is the ID of the trainer who catched the Pokémon. Is is different than ours, the Pokémon will gain extra experience.

Experience

Is the total amount of experience gained. The level of the Pokémon should be concordant with the experience amount. Visit the experience article for more information about Pokémon grow types, and experience formulas.

HP Up

This value informs about the amount of HP Up used in the Pokémon. Just because the number of HP Ups we can use with a Pokémon is limited.

Protein, Carbos, Iron, Calcium

The same as HP Up.

Total HP

Is the total HP the Pokémon can have when we visit a Pokémon Center.

Bulbapedia logo.png This article is a stub. You can help Bulbapedia by expanding it.


Data structure in the Pokémon games
General Character encoding
Generation I Pokémon speciesPokémonPoké MartCharacter encodingSave
Generation II Pokémon speciesPokémonTrainerCharacter encoding (Korean) • Save
Generation III Pokémon species (Pokémon evolutionPokédexType chart)
Pokémon (substructures) • MoveContestContest moveItem
Trainer TowerBattle FrontierCharacter encodingSave
Generation IV Pokémon species (Pokémon evolutionLearnsets)
PokémonSaveCharacter encoding
Generation V–present Character encoding
Generation VIII Save
TCG GB and GB2 Character encoding