diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-07-18 04:39:01 +0800 |
---|---|---|
committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-07-18 05:06:53 +0800 |
commit | f7af77d22c84d9b8cba25145e26204a05ccf1455 (patch) | |
tree | ee1bf474be710622c92fb46690577b73cb655786 /include | |
parent | c7d3ad06b062abf6acb2eaa2b19da86a7acdab19 (diff) |
sync documentation of CountAliveMonsInBattle()
Diffstat (limited to 'include')
-rw-r--r-- | include/pokemon.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index 971e0b5aa..9dd5850b4 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -540,11 +540,6 @@ extern const u16 *const gLevelUpLearnsets[]; extern const u8 gFacilityClassToPicIndex[]; extern const u8 gFacilityClassToTrainerClass[]; -u8 CountAliveMons(u8 caseId); -#define BATTLE_ALIVE_EXCEPT_ACTIVE 0 -#define BATTLE_ALIVE_ATK_SIDE 1 -#define BATTLE_ALIVE_DEF_SIDE 2 - void ZeroBoxMonData(struct BoxPokemon *boxMon); void ZeroMonData(struct Pokemon *mon); void ZeroPlayerPartyMons(void); @@ -568,8 +563,14 @@ void SetBattleMonMoveSlot(struct BattlePokemon *mon, u16 move, u8 slot); u16 MonTryLearningNewMove(struct Pokemon *mon, bool8 firstMove); void DeleteFirstMoveAndGiveMoveToMon(struct Pokemon *mon, u16 move); s32 CalculateBaseDamage(struct BattlePokemon *attacker, struct BattlePokemon *defender, u32 move, u16 sideStatus, u16 powerOverride, u8 typeOverride, u8 battlerIdAtk, u8 battlerIdDef); -u8 CountAliveMons(u8 a1); -u8 GetDefaultMoveTarget(u8 a1); + +#define BATTLE_ALIVE_EXCEPT_ACTIVE 0 +#define BATTLE_ALIVE_ATK_SIDE 1 +#define BATTLE_ALIVE_DEF_SIDE 2 + +u8 CountAliveMonsInBattle(u8 caseId); + +u8 GetDefaultMoveTarget(u8 battlerId); u8 GetMonGender(struct Pokemon *mon); u8 GetBoxMonGender(struct BoxPokemon *boxMon); u8 GetGenderFromSpeciesAndPersonality(u16 species, u32 personality); |