summaryrefslogtreecommitdiff
path: root/constants/script_constants.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2021-03-08 07:01:31 -0800
committerGitHub <noreply@github.com>2021-03-08 07:01:31 -0800
commite791c5392b19f589c51afd98666d19e778278847 (patch)
tree4392cbecdd5166484f3a8ec8799939434159bae3 /constants/script_constants.asm
parentfb35fe6aba5e4e4ce7edf5b345fdf2afec4b6b49 (diff)
parent98da09b3e90b6a132ce6d2431999485593aef0c9 (diff)
Merge pull request #806 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
Diffstat (limited to 'constants/script_constants.asm')
-rw-r--r--constants/script_constants.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants/script_constants.asm b/constants/script_constants.asm
index fe5d2d7c4..7c9881988 100644
--- a/constants/script_constants.asm
+++ b/constants/script_constants.asm
@@ -175,6 +175,7 @@ NUM_CMDQUEUE_TYPES EQU const_value
const FLOOR_10F
const FLOOR_11F
const FLOOR_ROOF
+NUM_FLOORS EQU const_value
; showemote arguments
; Emotes indexes (see data/sprites/emotes.asm)
@@ -191,7 +192,9 @@ NUM_CMDQUEUE_TYPES EQU const_value
const EMOTE_ROD ; 9
const EMOTE_BOULDER_DUST ; 10
const EMOTE_GRASS_RUSTLE ; 11
+NUM_EMOTES EQU const_value
EMOTE_FROM_MEM EQU -1
+EMOTE_LENGTH EQU 6
; fruittree arguments
; FruitTreeItems indexes (see data/items/fruit_trees.asm)
@@ -236,6 +239,7 @@ NUM_FRUIT_TREES EQU const_value - 1
const DECODESC_RIGHT_DOLL ; 2
const DECODESC_BIG_DOLL ; 3
const DECODESC_CONSOLE ; 4
+NUM_DECODESCS EQU const_value
; swarm arguments
; StoreSwarmMapIndices arguments