about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--include/pokemon.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 04ecfa0..95af35e 100644 --- a/include/pokemon.h +++ b/include/pokemon.h
@@ -54,17 +54,17 @@ struct __attribute__((aligned(4))) PokemonIntermediate {
54 u16 otId; // only the lower 2 bytes, because the upper 2 are secret 54 u16 otId; // only the lower 2 bytes, because the upper 2 are secret
55 55
56 u8 ppBonuses; 56 u8 ppBonuses;
57 u8 otGender:1; 57 u8 otGender;
58 u8 metLevel:7; 58 u8 metLevel;
59 u8 metLocation; 59 u8 metLocation;
60 u8 nickname[POKEMON_NAME_LENGTH]; 60 u8 nickname[POKEMON_NAME_LENGTH];
61 u8 otName[OT_NAME_LENGTH]; 61 u8 otName[OT_NAME_LENGTH];
62 u8 pokeball; 62 u8 pokeball;
63 u8 language:3; 63 u8 language;
64 u8 altAbility:1; 64 u8 altAbility;
65 u8 orre:1; 65 u8 gender;
66 u8 gender:2; 66 u8 orre;
67 u8 shiny:1; 67 u8 shiny;
68 u8 nature; 68 u8 nature;
69 u8 unownLetter; 69 u8 unownLetter;
70 70