diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:33:05 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:44:41 -0400 |
| commit | 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch) | |
| tree | 5a7b79846bd7f07e40310da46b21873774a08ef7 /data/items/tm_prices.asm | |
| parent | Remove unused _GREEN TitleMons data (diff) | |
| download | pokeyellow-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/items/tm_prices.asm')
| -rw-r--r-- | data/items/tm_prices.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/items/tm_prices.asm b/data/items/tm_prices.asm index 7f007e9d..22bcb074 100644 --- a/data/items/tm_prices.asm +++ b/data/items/tm_prices.asm @@ -1,5 +1,6 @@ TechnicalMachinePrices: ; In thousands (nybbles). + table_width 1, TechnicalMachinePrices dn 3, 2 ; TM01, TM02 dn 2, 1 ; TM03, TM04 dn 3, 4 ; TM05, TM06 @@ -25,3 +26,4 @@ TechnicalMachinePrices: dn 2, 4 ; TM45, TM46 dn 3, 4 ; TM47, TM48 dn 4, 2 ; TM49, TM50 + assert_table_length (NUM_TMS + 1) / 2 |
