mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
40902ffe24
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
55 lines
944 B
NASM
55 lines
944 B
NASM
TypeNames:
|
|
; entries correspond to types (see constants/type_constants.asm)
|
|
table_width 2, TypeNames
|
|
dw Normal
|
|
dw Fighting
|
|
dw Flying
|
|
dw Poison
|
|
dw Ground
|
|
dw Rock
|
|
dw Bird
|
|
dw Bug
|
|
dw Ghost
|
|
dw Steel
|
|
assert_table_length UNUSED_TYPES
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw Normal
|
|
dw CurseType
|
|
assert_table_length UNUSED_TYPES_END
|
|
dw Fire
|
|
dw Water
|
|
dw Grass
|
|
dw Electric
|
|
dw Psychic
|
|
dw Ice
|
|
dw Dragon
|
|
dw Dark
|
|
assert_table_length TYPES_END
|
|
|
|
Normal: db "NORMAL@"
|
|
Fighting: db "FIGHTING@"
|
|
Flying: db "FLYING@"
|
|
Poison: db "POISON@"
|
|
CurseType: db "???@"
|
|
Fire: db "FIRE@"
|
|
Water: db "WATER@"
|
|
Grass: db "GRASS@"
|
|
Electric: db "ELECTRIC@"
|
|
Psychic: db "PSYCHIC@"
|
|
Ice: db "ICE@"
|
|
Ground: db "GROUND@"
|
|
Rock: db "ROCK@"
|
|
Bird: db "BIRD@"
|
|
Bug: db "BUG@"
|
|
Ghost: db "GHOST@"
|
|
Steel: db "STEEL@"
|
|
Dragon: db "DRAGON@"
|
|
Dark: db "DARK@"
|