7,075
edits
Force Fire (talk | contribs) m (Reverted edits by TheICTLiker4 (talk) to last revision by MiSsInGnO) |
Bfdifan2006 (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
The [[type]] chart in the [[Generation III]] Pokémon games are stored in a 336-byte data structure. | |||
The [[type]] chart in the [[Generation III]] Pokémon games are stored in a 336 byte data structure. | |||
{| align="center" style="border: | ==Format== | ||
|- | The data structure consists of 112 3-byte entries, all of which use the following format. Data whose names are marked with an asterisk (*) have more information below the table. | ||
{| align="center" style="border: 2px solid #88a; background: #f8f8ff; padding: 2px;" class="roundy" | |||
|- style="background-color: #ccccff" | |||
| Name | ! style="{{roundytl|5px}}" | Name !! Type !! style="{{roundytr|5px}}" | Description | ||
|- | |- style="background-color: #e6e6ff" | ||
| [[Type|Attacking Type]]* || byte || The type of the move being used. | | [[Type|Attacking Type]]* || byte || The type of the move being used. | ||
|- | |- style="background-color: #e6e6ff" | ||
| Defending Type* || byte || The type of the Pokémon being attacked. | | Defending Type* || byte || The type of the Pokémon being attacked. | ||
|- | |- style="background-color: #e6e6ff" | ||
| [[Type#Type effectiveness|Effectiveness]]* || byte || Used to determine the Damage multiplier. | | style="{{roundybl|5px}}" | [[Type#Type effectiveness|Effectiveness]]* || byte || style="{{roundybr|5px}}" | Used to determine the Damage multiplier. | ||
|} | |} | ||
Line 20: | Line 19: | ||
Types are enumerated like this: | Types are enumerated like this: | ||
<div style="columns: 22em 3;"> | |||
* 00. {{t|Normal}} | |||
* 01. {{t|Fighting}} | |||
* 02. {{t|Flying}} | |||
* 03. {{t|Poison}} | |||
* 04. {{t|Ground}} | |||
* 05. {{t|Rock}} | |||
* 06. {{t|Bug}} | |||
* 07. {{t|Ghost}} | |||
* 08. {{t|Steel}} | |||
* 09. {{t|???}} | |||
* 10. {{t|Fire}} | |||
* 11. {{t|Water}} | |||
* 12. {{t|Grass}} | |||
* 13. {{t|Electric}} | |||
* 14. {{t|Psychic}} | |||
* 15. {{t|Ice}} | |||
* 16. {{t|Dragon}} | |||
* 17. {{t|Dark}} | |||
</div> | |||
===Effectiveness=== | ===Effectiveness=== | ||
{|style="border: 1px solid #88a | {|style="border: 1px solid #88a;" class="roundy" | ||
| | ! Hex | ||
! Dec | |||
! Description | |||
|- | |||
|0x00 | |||
|0 | |||
|Totally ineffective, such as {{t|Electric}} on {{t|Ground}}. | |Totally ineffective, such as {{t|Electric}} on {{t|Ground}}. | ||
|- | |- | ||
| | |0x05 | ||
|5 | |||
|Not very effective, such as {{t|Water}} on {{t|Grass}}. | |Not very effective, such as {{t|Water}} on {{t|Grass}}. | ||
|- | |- | ||
| | |0x14 | ||
|20 | |||
|Supereffective, such as {{t|Ice}} on {{t|Dragon}} | |Supereffective, such as {{t|Ice}} on {{t|Dragon}} | ||
|} | |} | ||
Normally effective attacks, such as {{t|Bug}} on {{t|Normal}} | Normally effective attacks, such as {{t|Bug}} on {{t|Normal}}, assume a default value of 0x0A (10), so they don't need to be listed in this table. | ||
===Foresight and Odor Sleuth=== | ===Foresight and Odor Sleuth=== |
edits