summaryrefslogtreecommitdiff
path: root/audio/cry_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/cry_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/cry_pointers.asm')
-rw-r--r--audio/cry_pointers.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/cry_pointers.asm b/audio/cry_pointers.asm
index ec6b17e0..58b948a0 100644
--- a/audio/cry_pointers.asm
+++ b/audio/cry_pointers.asm
@@ -1,4 +1,6 @@
Cries:
+; entries correspond to CRY_* constants (see constants/cry_constants.asm)
+ table_width 3, Cries
dba Cry_Nidoran_M
dba Cry_Nidoran_F
dba Cry_Slowpoke
@@ -67,3 +69,4 @@ Cries:
dba Cry_Aipom
dba Cry_Dunsparce
dba Cry_Donphan
+ assert_table_length NUM_CRIES