pokecrystal-board/data/types/search_types.asm
Rangi 40902ffe24 Verify data table sizes with table_width and assert_table_length macros
This was discussed in #706

It also uncovered some off-by-one issues with defining some constants.

A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2021-03-04 00:15:03 -05:00

22 lines
382 B
NASM

PokedexTypeSearchConversionTable:
; entries correspond with PokedexTypeSearchStrings (see data/types/search_strings.asm)
table_width 1, PokedexTypeSearchConversionTable
db NORMAL
db FIRE
db WATER
db GRASS
db ELECTRIC
db ICE
db FIGHTING
db POISON
db GROUND
db FLYING
db PSYCHIC_TYPE
db BUG
db ROCK
db GHOST
db DRAGON
db DARK
db STEEL
assert_table_length NUM_TYPES