summaryrefslogtreecommitdiff
path: root/include/battle_ai_script_commands.h
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2019-07-28 20:33:25 -0500
committercamthesaxman <cameronghall@cox.net>2019-07-28 20:33:25 -0500
commit00b44d588618c9a0feff1285183c183f1c97f1bb (patch)
tree240e7f042005fc542c38a08cab2921454313092d /include/battle_ai_script_commands.h
parentbc09f81a9a6a8280480a08e0daf33541ba255fb4 (diff)
emerald file names, part 1
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