summaryrefslogtreecommitdiff
path: root/audio/sfx_pointers.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2021-03-08 07:01:30 -0800
committerGitHub <noreply@github.com>2021-03-08 07:01:30 -0800
commitf9431c6aab479601ee0229a109154fa4f8b8b889 (patch)
tree39a5c61fd37951b562c35db534d16146d531a7e5 /audio/sfx_pointers.asm
parentfb3e541e86ac6c95ad027d9c5dac055f00643aa7 (diff)
parente950809640f81c5d621c39becc4dcce15a82c064 (diff)
Merge pull request #69 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
Diffstat (limited to 'audio/sfx_pointers.asm')
-rw-r--r--audio/sfx_pointers.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/sfx_pointers.asm b/audio/sfx_pointers.asm
index 8c3420e5..9049b89e 100644
--- a/audio/sfx_pointers.asm
+++ b/audio/sfx_pointers.asm
@@ -1,5 +1,6 @@
SFX:
; entries correspond to SFX_* constants
+ table_width 3, SFX
dba Sfx_DexFanfare5079
dba Sfx_Item
dba Sfx_CaughtMon
@@ -188,3 +189,4 @@ SFX:
dba Sfx_TrainArrived
dba Sfx_StopSlot
dba Sfx_2Boops
+ assert_table_length NUM_SFX