From 0f932ae83f107f50be35e4bb19186087e9473c56 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Fri, 29 Mar 2024 15:36:10 +0100 Subject: [PATCH] Fix style of some bit definitions --- include/data.h | 14 +++++++------- include/pokemon.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/data.h b/include/data.h index eba8e6f80936..feae0d87b247 100644 --- a/include/data.h +++ b/include/data.h @@ -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) diff --git a/include/pokemon.h b/include/pokemon.h index 0c3023a8203b..d37e5f4ae946 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -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;