diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-09-29 19:45:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 19:45:56 -0700 |
commit | cf0bf8a1f2d3cd97e0fe967270188dda24b8fac2 (patch) | |
tree | f830e2568cdd61baa849ad860ee875093d3095af /include/pokemon.h | |
parent | c1c2015f7046676b043641c0d1f9d9e29bc73647 (diff) | |
parent | 4133688019e167da45c868a26bf6a6e4901bef54 (diff) |
Merge pull request #426 from PikalaxALT/daycare
Decompile asm/daycare.s
Diffstat (limited to 'include/pokemon.h')
-rw-r--r-- | include/pokemon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 9c6f16442..5d76a8a05 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -93,6 +93,8 @@ #define MON_DATA_SPATK2 87 #define MON_DATA_SPDEF2 88 +#define MAX_LEVEL 100 + #define MON_MALE 0x00 #define MON_FEMALE 0xFE #define MON_GENDERLESS 0xFF @@ -510,7 +512,7 @@ void sub_803ADE8(struct Pokemon *mon, struct UnknownPokemonStruct *src); void sub_803AF78(struct Pokemon *mon, struct UnknownPokemonStruct *dest); u16 CalculateBoxMonChecksum(struct BoxPokemon *boxMon); void CalculateMonStats(struct Pokemon *mon); -void sub_803B4B4(struct Pokemon *src, struct Pokemon *dest); +void sub_803B4B4(const struct BoxPokemon *src, struct Pokemon *dest); u8 GetLevelFromMonExp(struct Pokemon *mon); u8 GetLevelFromBoxMonExp(struct BoxPokemon *boxMon); u16 GiveMoveToMon(struct Pokemon *mon, u16 move); @@ -599,5 +601,7 @@ u8 *sub_8040D08(); bool32 sub_8040D3C(u16 species, u8 *name, u8 language); s8 sub_8040A54(struct Pokemon *, u8); u16 GetMonEVCount(struct Pokemon *); +u8 GetLevelUpMovesBySpecies(u16, u16 *); +u8 TryIncrementMonLevel(struct Pokemon *); #endif // GUARD_POKEMON_H |