diff options
author | YamaArashi <shadow962@live.com> | 2016-09-10 12:26:47 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-10 12:26:47 -0700 |
commit | 61e860247e5489e6d7dec67176ec52ef86b7869f (patch) | |
tree | a2102440e7dd90c6bcba2c13790d5f0529c9ed6e /include/pokemon.h | |
parent | 8765b09e09dfaf271b0ae4974f615f43486bd7e2 (diff) |
decompile functions for setting pokemon data
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |