summaryrefslogtreecommitdiff
path: root/include/battle_ai_script_commands.h
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2019-07-28 21:23:43 -0500
committerGitHub <noreply@github.com>2019-07-28 21:23:43 -0500
commit3f477dae36c99bcb03a38be251dbef2f7e344ebc (patch)
tree57da1db9027de960c4b066bdcf6ab17c03753791 /include/battle_ai_script_commands.h
parentd442be12102ed3493c04b3688f37a4ffad6606f7 (diff)
parente03220c21de7c33e1ddeb3fd0585378da37d8b51 (diff)
Merge pull request #750 from camthesaxman/filenames_1
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