kep-hack/data/tilesets/warp_tile_ids.asm
Martha Schilling 2b2c95e52b Actually working postgame warps!
FINALLY managed to get this working. The bugged warps are now working and the jank ones are less jank. Also removed the cocoon's pre-evolved moves again.
2023-12-08 17:37:41 +00:00

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
.RocketHouseWarpTileIDs:
warp_tiles
.BetaMartWarpTileIDs:
warp_tiles $1C, $1D, $1E, $1F, $0C, $0D, $0E, $0F, $4B
.JackyWarpTileIDs:
warp_tiles
.ShipPortWarpTileIDs:
.ClubWarpTileIDs:
warp_tiles ; end