diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/pokemon.h | 13 |
1 files changed, 12 insertions, 1 deletions
| diff --git a/include/pokemon.h b/include/pokemon.h index 80e7ee7..d8a7265 100644 --- a/include/pokemon.h +++ b/include/pokemon.h | |||
| @@ -11,6 +11,15 @@ | |||
| 11 | #define OT_NAME_LENGTH 7 | 11 | #define OT_NAME_LENGTH 7 |
| 12 | #define TILE_SIZE_4BPP 32 | 12 | #define TILE_SIZE_4BPP 32 |
| 13 | 13 | ||
| 14 | enum PokemonLanguage { | ||
| 15 | Japanese = 1, | ||
| 16 | English = 2, | ||
| 17 | French = 3, | ||
| 18 | Italian = 4, | ||
| 19 | German = 5, | ||
| 20 | Spanish = 7 | ||
| 21 | }; | ||
| 22 | |||
| 14 | struct PokemonIntermediate { | 23 | struct PokemonIntermediate { |
| 15 | u32 otId; | 24 | u32 otId; |
| 16 | u32 experience; | 25 | u32 experience; |
| @@ -35,7 +44,9 @@ struct PokemonIntermediate { | |||
| 35 | u8 nickname[POKEMON_NAME_LENGTH]; | 44 | u8 nickname[POKEMON_NAME_LENGTH]; |
| 36 | u8 otName[OT_NAME_LENGTH]; | 45 | u8 otName[OT_NAME_LENGTH]; |
| 37 | u8 pokeball; | 46 | u8 pokeball; |
| 38 | u8 altAbility; // waste of space but nothing to pack it with | 47 | u8 language:3; |
| 48 | u8 altAbility:1; | ||
| 49 | u8 filler:4; // waste of space but nothing to pack it with | ||
| 39 | 50 | ||
| 40 | // the following values are generated from the personality value. | 51 | // the following values are generated from the personality value. |
| 41 | u8 nature:6; | 52 | u8 nature:6; |
