mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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
40 lines
849 B
NASM
40 lines
849 B
NASM
; TypeNames indexes (see data/types/names.asm)
|
|
; also used in:
|
|
; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
|
|
; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
|
|
; - TypeMatchups (see data/types/type_matchups.asm)
|
|
; - TypeBoostItems (see data/types/type_boost_items.asm)
|
|
const_def
|
|
|
|
PHYSICAL EQU const_value
|
|
const NORMAL
|
|
const FIGHTING
|
|
const FLYING
|
|
const POISON
|
|
const GROUND
|
|
const ROCK
|
|
const BIRD
|
|
const BUG
|
|
const GHOST
|
|
const STEEL
|
|
|
|
UNUSED_TYPES EQU const_value
|
|
const_next 19
|
|
const CURSE_TYPE
|
|
UNUSED_TYPES_END EQU const_value
|
|
|
|
SPECIAL EQU const_value
|
|
const FIRE
|
|
const WATER
|
|
const GRASS
|
|
const ELECTRIC
|
|
const PSYCHIC_TYPE
|
|
const ICE
|
|
const DRAGON
|
|
const DARK
|
|
TYPES_END EQU const_value
|
|
|
|
NUM_TYPES EQU TYPES_END + UNUSED_TYPES - UNUSED_TYPES_END - 1 ; discount BIRD
|
|
|
|
POKEDEX_TYPE_STRING_LENGTH EQU 9
|