pokecrystal-board/constants/tileset_constants.asm

76 lines
2.5 KiB
NASM
Raw Normal View History

; Tilesets indexes (see data/tilesets.asm)
2018-01-31 08:38:45 -08:00
const_def 1
2018-01-17 11:50:34 -08:00
const TILESET_JOHTO ; 01
const TILESET_JOHTO_MODERN ; 02
2015-11-12 21:49:27 -08:00
const TILESET_KANTO ; 03
const TILESET_BATTLE_TOWER_OUTSIDE ; 04
2018-01-17 11:50:34 -08:00
const TILESET_HOUSE ; 05
const TILESET_PLAYERS_HOUSE ; 06
2015-11-12 21:49:27 -08:00
const TILESET_POKECENTER ; 07
const TILESET_GATE ; 08
const TILESET_PORT ; 09
const TILESET_LAB ; 0a
2018-01-17 11:50:34 -08:00
const TILESET_FACILITY ; 0b
2015-11-12 21:49:27 -08:00
const TILESET_MART ; 0c
2018-01-17 11:50:34 -08:00
const TILESET_MANSION ; 0d
2015-11-12 21:49:27 -08:00
const TILESET_GAME_CORNER ; 0e
2018-01-17 11:50:34 -08:00
const TILESET_ELITE_FOUR_ROOM ; 0f
const TILESET_TRADITIONAL_HOUSE ; 10
2015-11-12 21:49:27 -08:00
const TILESET_TRAIN_STATION ; 11
2018-01-17 11:50:34 -08:00
const TILESET_CHAMPIONS_ROOM ; 12
2015-11-12 21:49:27 -08:00
const TILESET_LIGHTHOUSE ; 13
2018-01-17 11:50:34 -08:00
const TILESET_PLAYERS_ROOM ; 14
2015-11-12 21:49:27 -08:00
const TILESET_POKECOM_CENTER ; 15
const TILESET_BATTLE_TOWER_INSIDE ; 16
2018-01-17 11:50:34 -08:00
const TILESET_TOWER ; 17
2015-11-12 21:49:27 -08:00
const TILESET_CAVE ; 18
const TILESET_PARK ; 19
const TILESET_RUINS_OF_ALPH ; 1a
const TILESET_RADIO_TOWER ; 1b
const TILESET_UNDERGROUND ; 1c
const TILESET_ICE_PATH ; 1d
2018-01-17 11:50:34 -08:00
const TILESET_DARK_CAVE ; 1e
const TILESET_FOREST ; 1f
const TILESET_BETA_WORD_ROOM ; 20
2015-11-12 21:49:27 -08:00
const TILESET_HO_OH_WORD_ROOM ; 21
const TILESET_KABUTO_WORD_ROOM ; 22
const TILESET_OMANYTE_WORD_ROOM ; 23
const TILESET_AERODACTYL_WORD_ROOM ; 24
if DEF(_DEBUG)
const TILESET_BOARD_DEBUG_1 ; 25
endc
DEF NUM_TILESETS EQU const_value - 1
; wTileset struct size
DEF TILESET_LENGTH EQU 14
; roof length (see gfx/tilesets/roofs)
DEF ROOF_LENGTH EQU 9
; bg palette values (see gfx/tilesets/*_palette_map.asm)
2018-01-12 00:07:48 -08:00
; TilesetBGPalette indexes (see gfx/tilesets/bg_tiles.pal)
const_def
const PAL_BG_GRAY ; 0
const PAL_BG_RED ; 1
const PAL_BG_GREEN ; 2
const PAL_BG_WATER ; 3
const PAL_BG_YELLOW ; 4
const PAL_BG_BROWN ; 5
const PAL_BG_ROOF ; 6
const PAL_BG_TEXT ; 7
; variable spaces sets (see gfx/tilesets.asm)
const_def
const TILESET_VARIABLE_SPACES_1 ; 0
; const TILESET_VARIABLE_SPACES_2 ; 1
DEF NUM_VARIABLE_SPACES_SETS EQU const_value
; number of tiles of the tileset occupied by space tiles (see LoadTilesetGFX)
DEF TILESET_FIXED_SPACES_NUM_TILES EQU $20
DEF TILESET_VARIABLE_SPACES_NUM_TILES EQU $20
2023-10-20 11:07:56 -07:00
; metatile layout constants
DEF FIRST_SPACE_METATILE EQU $80
DEF FIRST_GREY_SPACE_METATILE EQU $e0
DEF UNIQUE_SPACE_METATILES_MASK EQU %11111