summaryrefslogtreecommitdiff
path: root/include/constants/battle_script_commands.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-06 15:52:58 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-06 15:52:58 -0500
commitd97eb6353d7f21c28983642dc94033e04bfb488b (patch)
tree3598f0b0137929cf56956442c4a132495576eb08 /include/constants/battle_script_commands.h
parent629cb532d8886ba5874b137cab6f148e29a1e753 (diff)
Sync battle script documentation with Emerald, 1
Diffstat (limited to 'include/constants/battle_script_commands.h')
-rw-r--r--include/constants/battle_script_commands.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/constants/battle_script_commands.h b/include/constants/battle_script_commands.h
index 49ecfeafa..de1b2a65e 100644
--- a/include/constants/battle_script_commands.h
+++ b/include/constants/battle_script_commands.h
@@ -39,6 +39,8 @@
#define BS_EFFECT_BATTLER 2
#define BS_FAINTED 3
#define BS_ATTACKER_WITH_PARTNER 4 // for atk98_updatestatusicon
+#define BS_UNKNOWN_5 5 // for openpartyscreen
+#define BS_UNKNOWN_6 6 // for openpartyscreen
#define BS_BATTLER_0 7
#define BS_ATTACKER_SIDE 8 // for atk1E_jumpifability
#define BS_NOT_ATTACKER_SIDE 9 // for atk1E_jumpifability
@@ -48,6 +50,9 @@
#define BS_PLAYER2 13 // for atk98_updatestatusicon
#define BS_OPPONENT2 14
+// used for openpartyscreen
+#define OPEN_PARTY_ALLOW_CANCEL 0x80
+
// atk 01, accuracy calc
#define NO_ACC_CALC 0xFFFE
#define NO_ACC_CALC_CHECK_LOCK_ON 0xFFFF
@@ -70,7 +75,7 @@
#define VARIOUS_CASE_4 4
#define VARIOUS_RESET_INTIMIDATE_TRACE_BITS 5
#define VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP 6
-#define VARIOUS_CASE_7 7
+#define VARIOUS_RESET_PLAYER_FAINTED_FLAG 7
#define VARIOUS_CASE_8 8
#define VARIOUS_RETURN_OPPONENT_MON1 9
#define VARIOUS_RETURN_OPPONENT_MON2 10