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
54 lines
1.4 KiB
NASM
54 lines
1.4 KiB
NASM
tileset: MACRO
|
|
dba \1GFX, \1Meta, \1Coll
|
|
dw \1Anim
|
|
dw NULL
|
|
dw \1PalMap
|
|
ENDM
|
|
|
|
; Associated data:
|
|
; - The *GFX, *Meta, and *Coll are defined in gfx/tilesets.asm
|
|
; - The *PalMap are defined in gfx/tileset_palette_maps.asm
|
|
; - The *Anim are defined in engine/tilesets/tileset_anims.asm
|
|
|
|
Tilesets::
|
|
; entries correspond to TILESET_* constants (see constants/tileset_constants.asm)
|
|
table_width TILESET_LENGTH, Tilesets
|
|
tileset Tileset0
|
|
tileset TilesetJohto
|
|
tileset TilesetJohtoModern
|
|
tileset TilesetKanto
|
|
tileset TilesetBattleTowerOutside
|
|
tileset TilesetHouse
|
|
tileset TilesetPlayersHouse
|
|
tileset TilesetPokecenter
|
|
tileset TilesetGate
|
|
tileset TilesetPort
|
|
tileset TilesetLab
|
|
tileset TilesetFacility
|
|
tileset TilesetMart
|
|
tileset TilesetMansion
|
|
tileset TilesetGameCorner
|
|
tileset TilesetEliteFourRoom
|
|
tileset TilesetTraditionalHouse
|
|
tileset TilesetTrainStation
|
|
tileset TilesetChampionsRoom
|
|
tileset TilesetLighthouse
|
|
tileset TilesetPlayersRoom
|
|
tileset TilesetPokeComCenter
|
|
tileset TilesetBattleTowerInside
|
|
tileset TilesetTower
|
|
tileset TilesetCave
|
|
tileset TilesetPark
|
|
tileset TilesetRuinsOfAlph
|
|
tileset TilesetRadioTower
|
|
tileset TilesetUnderground
|
|
tileset TilesetIcePath
|
|
tileset TilesetDarkCave
|
|
tileset TilesetForest
|
|
tileset TilesetBetaWordRoom
|
|
tileset TilesetHoOhWordRoom
|
|
tileset TilesetKabutoWordRoom
|
|
tileset TilesetOmanyteWordRoom
|
|
tileset TilesetAerodactylWordRoom
|
|
assert_table_length NUM_TILESETS + 1
|