Type chart data structure (Generation III)

Revision as of 16:18, 30 September 2017 by Nescientist (talk | contribs)

Specs

The type chart in the Generation III Pokémon games are stored in a 336 byte data structure. The data structure consists of 112 3-byte entries, all of which use the following format:

Base Stats Data whose names are marked with an asterisk (*) have more information below the table.
Name Type Description
Attacking Type* byte The type of the move being used.
Defending Type* byte The type of the Pokémon being attacked.
Effectiveness* byte Used to determine the Damage multiplier.

Notes

Types

Types are enumerated like this:

00. Normal 01. Fighting 02. Flying 03. Poison 04. Ground 05. Rock
06. Bug 07. Ghost 08. Steel 09. ??? 10. Fire 11. Water
12. Grass 13. Electric 14. Psychic 15. Ice 16. Dragon 17. Dark

Effectiveness

00 Totally ineffective, such as Electric on Ground.
05 Not very effective, such as Water on Grass.
14 Supereffective, such as Ice on Dragon

Normally effective attacks, such as Fighting on Poison are not listed in the table.

Foresight and Odor Sleuth

Near the end of the data structure, there are three bytes that signal the end of the normal part of the table - FE FE 00. There are only two entries after this, and they are Fighting and Normal on Ghost, respectively.

However, this area of the table is unique in that all entries in it are ignored after Foresight or Odor Sleuth is used, simply reverting to normal damage.

The end of the table is marked with FF FF 00.


Data structure in the Pokémon games
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
TCG GB and GB2 Character encoding


  This data structure article is part of Project Games, a Bulbapedia project that aims to write comprehensive articles on the Pokémon games.