diff options
author | YamaArashi <shadow962@live.com> | 2016-10-21 22:30:56 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-10-21 22:30:56 -0700 |
commit | 37baad749dc2557802d110dcab4817c7efb79f9d (patch) | |
tree | a48cc7745db3e789961db881f8fb6b419ed607a9 | |
parent | eea3e61cfd7a1a0dbcba3a5afa8be62c2a731fa4 (diff) |
add explanatory comment about GetMonData()/GetBoxMonData()
-rw-r--r-- | include/pokemon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index e82cd0e54..43ff1b500 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -375,8 +375,14 @@ void GetMonSpriteTemplate_803C5A0(u16 species, u8 a2); void EncryptBoxMon(struct BoxPokemon *boxMon); void DecryptBoxMon(struct BoxPokemon *boxMon); union PokemonSubstruct *GetSubstruct(struct BoxPokemon *boxMon, u32 personality, u8 substructType); + +// These are full type signatures for GetMonData() and GetBoxMonData(), +// but they are not used since some code erroneously omits the third arg. +// u32 GetMonData(struct Pokemon *mon, s32 field, u8 *data); +// u32 GetBoxMonData(struct BoxPokemon *boxMon, s32 field, u8 *data); u32 GetMonData(); u32 GetBoxMonData(); + void SetMonData(struct Pokemon *mon, s32 field, const u8 *data); void SetBoxMonData(struct BoxPokemon *boxMon, s32 field, const u8 *data); void CopyMon(void *dest, void *src, size_t size); |