From fff1871a51e72365db7b5856f0335cfd14a7c005 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 23 Sep 2017 10:23:00 -0400 Subject: Stopped bit-packing serialized Pokémon data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems to have been causing some difficulty with the GameCube being able to parse the data, so for now I'm not going to do it. --- include/pokemon.h | 14 +++++++------- 1 file 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 { u16 otId; // only the lower 2 bytes, because the upper 2 are secret u8 ppBonuses; - u8 otGender:1; - u8 metLevel:7; + u8 otGender; + u8 metLevel; u8 metLocation; u8 nickname[POKEMON_NAME_LENGTH]; u8 otName[OT_NAME_LENGTH]; u8 pokeball; - u8 language:3; - u8 altAbility:1; - u8 orre:1; - u8 gender:2; - u8 shiny:1; + u8 language; + u8 altAbility; + u8 gender; + u8 orre; + u8 shiny; u8 nature; u8 unownLetter; -- cgit 1.4.1