aboutsummaryrefslogtreecommitdiffstats
path: root/data/growth_rates.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/growth_rates.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/growth_rates.asm')
-rw-r--r--data/growth_rates.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/growth_rates.asm b/data/growth_rates.asm
index e2cb8c90..cc0955e4 100644
--- a/data/growth_rates.asm
+++ b/data/growth_rates.asm
@@ -11,9 +11,11 @@ ENDM
GrowthRateTable:
; entries correspond to GROWTH_* (see constants/pokemon_data_constants.asm)
+ table_width 4, GrowthRateTable
growth_rate 1, 1, 0, 0, 0 ; Medium Fast
growth_rate 3, 4, 10, 0, 30 ; Slightly Fast
growth_rate 3, 4, 20, 0, 70 ; Slightly Slow
growth_rate 6, 5, -15, 100, 140 ; Medium Slow
growth_rate 4, 5, 0, 0, 0 ; Fast
growth_rate 5, 4, 0, 0, 0 ; Slow
+ assert_table_length NUM_GROWTH_RATES