summaryrefslogtreecommitdiff
path: root/include/battle_script_commands.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-19 08:09:17 -0400
committerGitHub <noreply@github.com>2021-10-19 08:09:17 -0400
commit934a7e7a5d2074e9f80294ac8f538a2b038061b1 (patch)
tree0e2859b1814453bba70a514b3cee23e776a6a9f9 /include/battle_script_commands.h
parent164590e37d67a385bf6479aafcbe5b351891bc0b (diff)
parente1900efe1ead0e3344ca95a327b453617c807b6a (diff)
Merge pull request #1516 from GriffinRichards/doc-miscbattle
Miscellaneous battle documentation
Diffstat (limited to 'include/battle_script_commands.h')
-rw-r--r--include/battle_script_commands.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h
index ee3676463..cb81ad812 100644
--- a/include/battle_script_commands.h
+++ b/include/battle_script_commands.h
@@ -2,9 +2,11 @@
#define GUARD_BATTLE_SCRIPT_COMMANDS_H
#include "constants/pokemon.h"
+#include "constants/battle_script_commands.h"
-#define WINDOW_CLEAR 0x1
-#define WINDOW_x80 0x80
+// Arguments for 'flags' in HandleBattleWindow
+#define WINDOW_CLEAR (1 << 0)
+#define WINDOW_BG1 (1 << 7)
void AI_CalcDmg(u8 battlerIdAtk, u8 battlerIdDef);
u8 TypeCalc(u16 move, u8 battlerIdAtk, u8 battlerIdDef);