summaryrefslogtreecommitdiff
path: root/include/constants/battle_constants.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-01-07 17:57:46 -0800
committerMarcus Huderle <huderlem@gmail.com>2018-01-07 20:07:36 -0800
commitbe36c506387648a11afe51b0f4209386947feb37 (patch)
tree4aafddc91df76b5674c47a2be3bb1b3a42a0b519 /include/constants/battle_constants.h
parent82ab732d673946af609f896dc51639030eb1bd19 (diff)
Finish battle_2.c and battle_util.c decompilation
Diffstat (limited to 'include/constants/battle_constants.h')
-rw-r--r--include/constants/battle_constants.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/constants/battle_constants.h b/include/constants/battle_constants.h
index 2b973b4d9..49768f33e 100644
--- a/include/constants/battle_constants.h
+++ b/include/constants/battle_constants.h
@@ -245,6 +245,19 @@
#define MSG_DISPLAY 0x7
#define BATTLE_COMMUNICATION_ENTRIES_COUNT 0x8
+#define BS_GET_TARGET 0
+#define BS_GET_ATTACKER 1
+#define BS_GET_EFFECT_BANK 2
+#define BS_GET_gBank1 3
+#define BS_GET_BANK_0 7
+#define BS_ATTACKER_WITH_PARTNER 4 // for atk98_status_icon_update
+#define BS_GET_ATTACKER_SIDE 8 // for atk1E_jumpifability
+#define BS_GET_NOT_ATTACKER_SIDE 9 // for atk1E_jumpifability
+#define BS_GET_SCRIPTING_BANK 10
+#define BS_GET_OPPONENT1 12
+#define BS_GET_PLAYER2 13
+#define BS_GET_OPPONENT2 14
+
// status animation table
#define B_ANIM_STATUS_PSN 0x0
#define B_ANIM_STATUS_CONFUSION 0x1