Fix style of some bit definitions (#4319)

This commit is contained in:
Bassoonian 2024-03-29 17:43:33 +01:00 committed by GitHub
parent 46e6324fe2
commit 0acd058c16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View file

@ -65,13 +65,13 @@ struct TrainerMon
u8 lvl;
u8 ball;
u8 friendship;
u8 nature : 5;
bool8 gender : 2;
bool8 isShiny : 1;
u8 dynamaxLevel : 4;
bool8 gigantamaxFactor : 1;
bool8 shouldDynamax : 1;
bool8 shouldTerastal : 1;
u8 nature:5;
bool8 gender:2;
bool8 isShiny:1;
u8 dynamaxLevel:4;
bool8 gigantamaxFactor:1;
bool8 shouldDynamax:1;
bool8 shouldTerastal:1;
};
#define TRAINER_PARTY(partyArray) partyArray, .partySize = ARRAY_COUNT(partyArray)

View file

@ -389,9 +389,9 @@ struct SpeciesInfo /*0x8C*/
/* 0x38 */ u16 trainerScale;
/* 0x3A */ u16 trainerOffset;
/* 0x3C */ const u8 *description;
/* 0x40 */ u8 bodyColor : 7;
/* 0x40 */ u8 bodyColor:7;
// Graphical Data
u8 noFlip : 1;
u8 noFlip:1;
/* 0x41 */ u8 frontAnimDelay;
/* 0x42 */ u8 frontAnimId;
/* 0x43 */ u8 backAnimId;