diff options
author | SatoMew <SatoMew@users.noreply.github.com> | 2019-10-08 22:46:32 +0100 |
---|---|---|
committer | SatoMew <SatoMew@users.noreply.github.com> | 2019-10-08 22:46:32 +0100 |
commit | 2c254082de042dde46cee9d2da2d9bb1bc340905 (patch) | |
tree | af99bcac2c6fece9523b12dbabe4128ec26f6fc9 /include/battle_ai_script_commands.h | |
parent | 78558b07b0983b6b8b06085933fdf66b801658e9 (diff) | |
parent | 2a7205dec677c98d087cb8ba191370de464c8bf0 (diff) |
Merge branch 'master' of https://github.com/pret/pokefirered
Diffstat (limited to 'include/battle_ai_script_commands.h')
-rw-r--r-- | include/battle_ai_script_commands.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/battle_ai_script_commands.h b/include/battle_ai_script_commands.h index 3786d4a8c..94cbcce15 100644 --- a/include/battle_ai_script_commands.h +++ b/include/battle_ai_script_commands.h @@ -3,15 +3,19 @@ #include "global.h" -extern u8 sBattler_AI; +// return values for BattleAI_ChooseMoveOrAction +// 0 - 3 are move idx +#define AI_CHOICE_FLEE 4 +#define AI_CHOICE_WATCH 5 -void BattleAI_HandleItemUseBeforeAISetup(u8 defaultScoreMoves); -void BattleAI_SetupAIData(u8 defaultScoreMoves); +void BattleAI_HandleItemUseBeforeAISetup(void); +void BattleAI_SetupAIData(void); u8 BattleAI_ChooseMoveOrAction(void); void ClearBankMoveHistory(u8 bank); void RecordAbilityBattle(u8 bank, u8 abilityId); void ClearBankAbilityHistory(u8 bank); void RecordItemEffectBattle(u8 bank, u8 itemEffect); void ClearBankItemEffectHistory(u8 bank); +u8 BattleAI_ChooseMoveOrAction(void); #endif // GUARD_BATTLE_AI_SCRIPT_COMMANDS_H |