summaryrefslogtreecommitdiff
path: root/include/battle_script_commands.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-31 19:36:25 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-31 19:36:25 +0100
commit6cb1c4fd6e7c52e528f36e3511ac4b4db4dbb2ee (patch)
treec5d4f93c251472daa4cded616da3141448a37e6b /include/battle_script_commands.h
parent665734d689fbd6da708e482b1cb9fdf3ee2345bc (diff)
parent4cb8528d94216f69c4a37d470c1d5f3487a87239 (diff)
fix merge conflicts, evo scene
Diffstat (limited to 'include/battle_script_commands.h')
-rw-r--r--include/battle_script_commands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/battle_script_commands.h b/include/battle_script_commands.h
index 9684425fe..a466abc04 100644
--- a/include/battle_script_commands.h
+++ b/include/battle_script_commands.h
@@ -25,6 +25,7 @@
#define VARIOUS_GET_MOVE_TARGET 3
#define VARIOUS_RESET_INTIMIDATE_TRACE_BITS 5
#define VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP 6
+#define VARIOUS_EMIT_YESNOBOX 13
#define VARIOUS_WAIT_CRY 18
#define VARIOUS_RETURN_OPPONENT_MON1 19
#define VARIOUS_RETURN_OPPONENT_MON2 20
@@ -41,6 +42,9 @@
#define STAT_CHANGE_WORKED 0
#define STAT_CHANGE_DIDNT_WORK 1
+#define WINDOW_CLEAR 0x1
+#define WINDOW_x80 0x80
+
void AI_CalcDmg(u8 bankAtk, u8 bankDef);
u8 TypeCalc(u16 move, u8 bankAtk, u8 bankDef);
u8 AI_TypeCalc(u16 move, u16 targetSpecies, u8 targetAbility);