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/pokemon/dex_order.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/pokemon/dex_order.asm')
| -rw-r--r-- | data/pokemon/dex_order.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/pokemon/dex_order.asm b/data/pokemon/dex_order.asm index 0e293946..32e7a79b 100644 --- a/data/pokemon/dex_order.asm +++ b/data/pokemon/dex_order.asm @@ -1,4 +1,5 @@ PokedexOrder: + table_width 1, PokedexOrder db DEX_RHYDON db DEX_KANGASKHAN db DEX_NIDORAN_M @@ -189,3 +190,4 @@ PokedexOrder: db DEX_BELLSPROUT db DEX_WEEPINBELL db DEX_VICTREEBEL + assert_table_length NUM_POKEMON_INDEXES |
