mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-10-19 05:26:24 +13:00

This adds a new tileset for the Seagallop Ferry. Had to remake the tileset from scratch using the S.S. Anne one. Very awkward! The map could be made to look more like the FRLG one but that's neither here nor there.
124 lines
2.3 KiB
NASM
124 lines
2.3 KiB
NASM
;Note: These warp tiles act like teleporters, initiating the warp when the player steps over them.
|
|
; Used for things like house entrances, cave entrances, etc.
|
|
WarpTileIDPointers:
|
|
table_width 2, WarpTileIDPointers
|
|
dw .OverworldWarpTileIDs
|
|
dw .RedsHouse1WarpTileIDs
|
|
dw .MartWarpTileIDs
|
|
dw .ForestWarpTileIDs
|
|
dw .RedsHouse2WarpTileIDs
|
|
dw .DojoWarpTileIDs
|
|
dw .PokecenterWarpTileIDs
|
|
dw .GymWarpTileIDs
|
|
dw .HouseWarpTileIDs
|
|
dw .ForestGateWarpTileIDs
|
|
dw .MuseumWarpTileIDs
|
|
dw .UndergroundWarpTileIDs
|
|
dw .GateWarpTileIDs
|
|
dw .ShipWarpTileIDs
|
|
dw .ShipPortWarpTileIDs
|
|
dw .CemeteryWarpTileIDs
|
|
dw .InteriorWarpTileIDs
|
|
dw .CavernWarpTileIDs
|
|
dw .LobbyWarpTileIDs
|
|
dw .MansionWarpTileIDs
|
|
dw .LabWarpTileIDs
|
|
dw .ClubWarpTileIDs
|
|
dw .FacilityWarpTileIDs
|
|
dw .PlateauWarpTileIDs
|
|
dw .PreGymWarpTileIDs
|
|
dw .CitrineWarpTileIDs
|
|
dw .CelesteWarpTileIDs
|
|
dw .RocketHouseWarpTileIDs
|
|
dw .BetaMartWarpTileIDs
|
|
dw .JackyWarpTileIDs
|
|
dw .LabWarpTileIDs ; Fossil Lab
|
|
dw .ShipPortWarpTileIDs ; Seagallop Port
|
|
assert_table_length NUM_TILESETS
|
|
|
|
MACRO warp_tiles
|
|
IF _NARG
|
|
db \# ; all args
|
|
ENDC
|
|
db -1 ; end
|
|
ENDM
|
|
|
|
.OverworldWarpTileIDs:
|
|
warp_tiles $1B, $58
|
|
|
|
.ForestGateWarpTileIDs:
|
|
.MuseumWarpTileIDs:
|
|
.GateWarpTileIDs:
|
|
db $3B
|
|
; fallthrough
|
|
.RedsHouse1WarpTileIDs:
|
|
.RedsHouse2WarpTileIDs:
|
|
warp_tiles $1A, $1C
|
|
|
|
.MartWarpTileIDs:
|
|
.PokecenterWarpTileIDs:
|
|
warp_tiles $5E
|
|
|
|
.ForestWarpTileIDs:
|
|
warp_tiles $5A, $5C, $3A
|
|
|
|
.DojoWarpTileIDs:
|
|
.GymWarpTileIDs:
|
|
warp_tiles $4A
|
|
|
|
.HouseWarpTileIDs:
|
|
warp_tiles $54, $5C, $32
|
|
|
|
.ShipWarpTileIDs:
|
|
warp_tiles $37, $39, $1E, $4A
|
|
|
|
.InteriorWarpTileIDs:
|
|
warp_tiles $15, $55, $04
|
|
|
|
.CavernWarpTileIDs:
|
|
warp_tiles $18, $1A, $22
|
|
|
|
.LobbyWarpTileIDs:
|
|
warp_tiles $1A, $1C, $38
|
|
|
|
.MansionWarpTileIDs:
|
|
warp_tiles $1A, $1C, $53
|
|
|
|
.LabWarpTileIDs:
|
|
warp_tiles $34
|
|
|
|
.FacilityWarpTileIDs:
|
|
db $43, $58, $20
|
|
; fallthrough
|
|
.CemeteryWarpTileIDs:
|
|
db $1B
|
|
; fallthrough
|
|
.UndergroundWarpTileIDs:
|
|
warp_tiles $13
|
|
|
|
.PlateauWarpTileIDs:
|
|
db $1B, $3B
|
|
; fallthrough
|
|
|
|
.PreGymWarpTileIDs:
|
|
warp_tiles $23
|
|
|
|
.CitrineWarpTileIDs:
|
|
warp_tiles $1B, $1C, $0B, $0C, $58, $59
|
|
|
|
.CelesteWarpTileIDs:
|
|
warp_tiles $5A, $5C, $3A, $30, $50, $51 ; Like Forest but a bit better
|
|
|
|
.RocketHouseWarpTileIDs:
|
|
warp_tiles
|
|
|
|
.BetaMartWarpTileIDs:
|
|
warp_tiles $1C, $1D, $1E, $1F, $0C, $0D, $0E, $0F, $4B
|
|
|
|
.JackyWarpTileIDs:
|
|
warp_tiles
|
|
|
|
.ShipPortWarpTileIDs:
|
|
.ClubWarpTileIDs:
|
|
warp_tiles ; end
|