aboutsummaryrefslogtreecommitdiffstats
path: root/data/battle_anims/subanimations.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-25 16:33:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-25 16:44:41 -0400
commit95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch)
tree5a7b79846bd7f07e40310da46b21873774a08ef7 /data/battle_anims/subanimations.asm
parentRemove unused _GREEN TitleMons data (diff)
downloadpokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.gz
pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.tar.xz
pokeyellow-95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1.zip
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'data/battle_anims/subanimations.asm')
-rw-r--r--data/battle_anims/subanimations.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/battle_anims/subanimations.asm b/data/battle_anims/subanimations.asm
index bbdc45c0..530192f6 100644
--- a/data/battle_anims/subanimations.asm
+++ b/data/battle_anims/subanimations.asm
@@ -1,4 +1,5 @@
SubanimationPointers:
+ table_width 2, SubanimationPointers
dw Subanimation00
dw Subanimation01
dw Subanimation02
@@ -85,6 +86,7 @@ SubanimationPointers:
dw Subanimation53
dw Subanimation54
dw Subanimation55
+ assert_table_length NUM_SUBANIMS
; format:
; subanim type, count