summaryrefslogtreecommitdiff
path: root/include/battle_ai_script_commands.h
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-03 06:55:42 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-03 06:55:42 +0800
commit6a063cf74ad8168e9080c1f3be20e5dfe3c3187c (patch)
treefb1c3ab1ea836434cdd86be3b4e59a5fc8b8571f /include/battle_ai_script_commands.h
parent742a7ee1beab323e30d60c599697a2a831c4f4de (diff)
ported battle_controller_opponent from pokeem and corrected lots of stuff
Diffstat (limited to 'include/battle_ai_script_commands.h')
-rw-r--r--include/battle_ai_script_commands.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/battle_ai_script_commands.h b/include/battle_ai_script_commands.h
index 12df776be..aa51838e5 100644
--- a/include/battle_ai_script_commands.h
+++ b/include/battle_ai_script_commands.h
@@ -3,13 +3,19 @@
#include "global.h"
+// return values for BattleAI_ChooseMoveOrAction
+// 0 - 3 are move idx
+#define AI_CHOICE_FLEE 4
+#define AI_CHOICE_WATCH 5
+
void BattleAI_HandleItemUseBeforeAISetup(void);
-void BattleAI_SetupAIData(u8 defaultScoreMoves);
+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_GetAIActionToUse(void);
#endif // GUARD_BATTLE_AI_SCRIPT_COMMANDS_H