mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
127 lines
3.1 KiB
NASM
127 lines
3.1 KiB
NASM
MACRO tilepal
|
|
; used in gfx/tilesets/*_palette_map.asm
|
|
; vram bank, pals
|
|
DEF x = \1 << OAM_TILE_BANK
|
|
rept (_NARG - 1) / 2
|
|
dn (x | PAL_BG_\3), (x | PAL_BG_\2)
|
|
shift 2
|
|
endr
|
|
ENDM
|
|
|
|
TilesetVariableSpacesPalMaps::
|
|
; entries correspond to TILESET_VARIABLE_SPACES_* constants (see constants/tileset_constants.asm)
|
|
table_width 2, TilesetVariableSpacesPalMaps
|
|
dw TilesetVariableSpaces1PalMap
|
|
assert_table_length NUM_VARIABLE_SPACES_SETS
|
|
|
|
TilesetFixedSpacesPalMap:
|
|
INCLUDE "gfx/tilesets/spaces/fixed_spaces_palette_map.asm"
|
|
|
|
TilesetVariableSpaces1PalMap:
|
|
INCLUDE "gfx/tilesets/spaces/variable_spaces_1_palette_map.asm"
|
|
|
|
TilesetKantoPalMap:
|
|
INCLUDE "gfx/tilesets/kanto_palette_map.asm"
|
|
|
|
Tileset0PalMap:
|
|
TilesetJohtoPalMap:
|
|
INCLUDE "gfx/tilesets/johto_palette_map.asm"
|
|
|
|
TilesetJohtoModernPalMap:
|
|
INCLUDE "gfx/tilesets/johto_modern_palette_map.asm"
|
|
|
|
TilesetHousePalMap:
|
|
INCLUDE "gfx/tilesets/house_palette_map.asm"
|
|
|
|
TilesetPlayersHousePalMap:
|
|
INCLUDE "gfx/tilesets/players_house_palette_map.asm"
|
|
|
|
TilesetPokecenterPalMap:
|
|
INCLUDE "gfx/tilesets/pokecenter_palette_map.asm"
|
|
|
|
TilesetGatePalMap:
|
|
INCLUDE "gfx/tilesets/gate_palette_map.asm"
|
|
|
|
TilesetPortPalMap:
|
|
INCLUDE "gfx/tilesets/port_palette_map.asm"
|
|
|
|
TilesetLabPalMap:
|
|
INCLUDE "gfx/tilesets/lab_palette_map.asm"
|
|
|
|
TilesetFacilityPalMap:
|
|
INCLUDE "gfx/tilesets/facility_palette_map.asm"
|
|
|
|
TilesetMartPalMap:
|
|
INCLUDE "gfx/tilesets/mart_palette_map.asm"
|
|
|
|
TilesetMansionPalMap:
|
|
INCLUDE "gfx/tilesets/mansion_palette_map.asm"
|
|
|
|
TilesetGameCornerPalMap:
|
|
INCLUDE "gfx/tilesets/game_corner_palette_map.asm"
|
|
|
|
TilesetEliteFourRoomPalMap:
|
|
INCLUDE "gfx/tilesets/elite_four_room_palette_map.asm"
|
|
|
|
TilesetTraditionalHousePalMap:
|
|
INCLUDE "gfx/tilesets/traditional_house_palette_map.asm"
|
|
|
|
TilesetTowerPalMap:
|
|
INCLUDE "gfx/tilesets/tower_palette_map.asm"
|
|
|
|
TilesetCavePalMap:
|
|
TilesetDarkCavePalMap:
|
|
INCLUDE "gfx/tilesets/cave_palette_map.asm"
|
|
|
|
TilesetParkPalMap:
|
|
INCLUDE "gfx/tilesets/park_palette_map.asm"
|
|
|
|
TilesetRuinsOfAlphPalMap:
|
|
TilesetBetaWordRoomPalMap:
|
|
TilesetHoOhWordRoomPalMap:
|
|
TilesetKabutoWordRoomPalMap:
|
|
TilesetOmanyteWordRoomPalMap:
|
|
TilesetAerodactylWordRoomPalMap:
|
|
INCLUDE "gfx/tilesets/ruins_of_alph_palette_map.asm"
|
|
|
|
TilesetRadioTowerPalMap:
|
|
INCLUDE "gfx/tilesets/radio_tower_palette_map.asm"
|
|
|
|
TilesetTrainStationPalMap:
|
|
INCLUDE "gfx/tilesets/train_station_palette_map.asm"
|
|
|
|
TilesetUndergroundPalMap:
|
|
INCLUDE "gfx/tilesets/underground_palette_map.asm"
|
|
|
|
TilesetChampionsRoomPalMap:
|
|
INCLUDE "gfx/tilesets/champions_room_palette_map.asm"
|
|
|
|
TilesetLighthousePalMap:
|
|
INCLUDE "gfx/tilesets/lighthouse_palette_map.asm"
|
|
|
|
TilesetPlayersRoomPalMap:
|
|
INCLUDE "gfx/tilesets/players_room_palette_map.asm"
|
|
|
|
TilesetIcePathPalMap:
|
|
INCLUDE "gfx/tilesets/ice_path_palette_map.asm"
|
|
|
|
TilesetForestPalMap:
|
|
INCLUDE "gfx/tilesets/forest_palette_map.asm"
|
|
|
|
TilesetPokeComCenterPalMap:
|
|
INCLUDE "gfx/tilesets/pokecom_center_palette_map.asm"
|
|
|
|
TilesetBattleTowerInsidePalMap:
|
|
INCLUDE "gfx/tilesets/battle_tower_inside_palette_map.asm"
|
|
|
|
TilesetBattleTowerOutsidePalMap:
|
|
INCLUDE "gfx/tilesets/battle_tower_outside_palette_map.asm"
|
|
|
|
if DEF(_DEBUG)
|
|
TilesetBoardDebug1PalMap::
|
|
INCLUDE "gfx/tilesets/board_debug_1_palette_map.asm"
|
|
|
|
TilesetBoardDebug2PalMap::
|
|
INCLUDE "gfx/tilesets/board_debug_2_palette_map.asm"
|
|
endc
|