diff options
author | paul <nintendo6496@googlemail.com> | 2018-11-24 19:57:36 +0100 |
---|---|---|
committer | paul <nintendo6496@googlemail.com> | 2018-11-24 19:57:36 +0100 |
commit | 4744a7d96ec21fc9480165061990ba98a774a469 (patch) | |
tree | 0c24d7e392d5cc4302e6ed6381b2a2dc047a2b3a /include/pokemon.h | |
parent | 284bbf91af43b0c9928865894cbc1d3001e57c16 (diff) | |
parent | fecda40501d39c633435fe2777ebc93d92233ca1 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index e15172dd5..e8782af98 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -1,6 +1,8 @@ #ifndef GUARD_POKEMON_H #define GUARD_POKEMON_H +#include "global.h" + #define MON_DATA_PERSONALITY 0 #define MON_DATA_OT_ID 1 #define MON_DATA_NICKNAME 2 @@ -570,8 +572,14 @@ void DecryptBoxMon(struct BoxPokemon *boxMon); // 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); + +#ifdef IS_POKEMON_C +u32 GetMonData(struct Pokemon *, s32, u8 *); +u32 GetBoxMonData(struct BoxPokemon *, s32, u8 *); +#else u32 GetMonData(); u32 GetBoxMonData(); +#endif // IS_POKEMON_C void SetMonData(struct Pokemon *mon, s32 field, const void *data); void SetBoxMonData(struct BoxPokemon *boxMon, s32 field, const void *data); |