mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
30 lines
832 B
NASM
30 lines
832 B
NASM
; MapGroupRoofs values; Roofs indexes
|
|
const_def
|
|
const ROOF_NEW_BARK ; 0
|
|
const ROOF_VIOLET ; 1
|
|
const ROOF_AZALEA ; 2
|
|
const ROOF_OLIVINE ; 3
|
|
const ROOF_GOLDENROD ; 4
|
|
DEF NUM_ROOFS EQU const_value
|
|
|
|
MapGroupRoofs:
|
|
; entries correspond to MAPGROUP_* constants
|
|
; values are indexes for Roofs (see below)
|
|
table_width 1, MapGroupRoofs
|
|
db -1 ; 0
|
|
db ROOF_OLIVINE ; 1 (Level1)
|
|
if DEF(_DEBUG)
|
|
db ROOF_OLIVINE ; 1 (DebugLevel1)
|
|
endc
|
|
assert_table_length NUM_MAP_GROUPS + 1
|
|
|
|
Roofs:
|
|
; entries correspond to ROOF_* constants
|
|
table_width ROOF_LENGTH * LEN_2BPP_TILE, Roofs
|
|
INCBIN "gfx/tilesets/roofs/new_bark.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/violet.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/azalea.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/olivine.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/goldenrod.2bpp"
|
|
assert_table_length NUM_ROOFS
|