From d8e65fc4b669fb0115615299b1255723e9f8397d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 8 Oct 2021 16:50:52 -0400 Subject: More battle doc, add battle window ids --- include/battle_script_commands.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/battle_script_commands.h') diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h index ee3676463..90b6d80e8 100644 --- a/include/battle_script_commands.h +++ b/include/battle_script_commands.h @@ -3,8 +3,9 @@ #include "constants/pokemon.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); -- cgit v1.2.3 From def6cc8158c09f3458866f1fa5983e58022c4101 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 13 Oct 2021 16:39:21 -0400 Subject: Label battle script macro arguments --- include/battle_script_commands.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/battle_script_commands.h') diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h index 90b6d80e8..cb81ad812 100644 --- a/include/battle_script_commands.h +++ b/include/battle_script_commands.h @@ -2,6 +2,7 @@ #define GUARD_BATTLE_SCRIPT_COMMANDS_H #include "constants/pokemon.h" +#include "constants/battle_script_commands.h" // Arguments for 'flags' in HandleBattleWindow #define WINDOW_CLEAR (1 << 0) -- cgit v1.2.3