summaryrefslogtreecommitdiff
path: root/include/battle_ai_script_commands.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-07-29 09:46:02 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-07-29 09:46:02 -0400
commit78535eea89e8b71f37e188289793e3e18c9bb985 (patch)
treec3d7ec29b849e810cc6bc90827f9053a4f486b64 /include/battle_ai_script_commands.h
parentf4e6816db9622dfa93466138ed075075009295b8 (diff)
parent3f477dae36c99bcb03a38be251dbef2f7e344ebc (diff)
Merge branch 'master' into modern_gcc
Diffstat (limited to 'include/battle_ai_script_commands.h')
-rw-r--r--include/battle_ai_script_commands.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/battle_ai_script_commands.h b/include/battle_ai_script_commands.h
new file mode 100644
index 000000000..fdad0c7e9
--- /dev/null
+++ b/include/battle_ai_script_commands.h
@@ -0,0 +1,29 @@
+#ifndef GUARD_BATTLEAI_H
+#define GUARD_BATTLEAI_H
+
+enum
+{
+ TARGET,
+ USER
+};
+
+// AI states
+enum
+{
+ BATTLEAI_SETTING_UP,
+ BATTLEAI_PROCESSING,
+ BATTLEAI_FINISHED,
+ BATTLEAI_DO_NOT_PROCESS
+};
+
+// battle_ai
+void BattleAI_SetupAIData(void);
+u8 BattleAI_GetAIActionToUse(void);
+void BattleAI_DoAIProcessing(void);
+void sub_810745C(void);
+void AIStackPushVar(u8 *);
+u8 AIStackPop(void);
+void BattleAI_HandleItemUseBeforeAISetup(void);
+void RecordAbilityBattle(u8 a, u8 b);
+
+#endif