From 61e860247e5489e6d7dec67176ec52ef86b7869f Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 10 Sep 2016 12:26:47 -0700 Subject: decompile functions for setting pokemon data --- include/pokemon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/pokemon.h b/include/pokemon.h index a0b1d3126..11de26acc 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -183,8 +183,8 @@ struct BoxPokemon u8 nickname[POKEMON_NAME_LENGTH]; u8 language; u8 isBadEgg:1; - u8 sanity2:1; - u8 sanity3:1; + u8 hasSpecies:1; + u8 isEgg:1; u8 unused:5; u8 otName[OT_NAME_LENGTH]; u8 markings; @@ -376,7 +376,7 @@ void DecryptBoxMon(struct BoxPokemon *boxMon); union PokemonSubstruct *GetSubstruct(struct BoxPokemon *boxMon, u32 personality, u8 substructType); u32 GetMonData(struct Pokemon *mon, s32 field, u8 *data); u32 GetBoxMonData(struct BoxPokemon *boxMon, s32 field, u8 *data); -void SetMonData(struct Pokemon *mon, s32 field, u8 *data); +void SetMonData(struct Pokemon *mon, s32 field, const u8 *data); void SetBoxMonData(struct BoxPokemon *boxMon, s32 field, const u8 *data); u8 GetNature(struct Pokemon *mon); -- cgit v1.2.3