summaryrefslogtreecommitdiff
path: root/engine/overworld/special_warps.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/special_warps.asm')
-rw-r--r--engine/overworld/special_warps.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/special_warps.asm b/engine/overworld/special_warps.asm
index 8c1b4159..4814e668 100644
--- a/engine/overworld/special_warps.asm
+++ b/engine/overworld/special_warps.asm
@@ -1,4 +1,4 @@
-SpecialWarpIn: ; 6042 (1:6042)
+SpecialWarpIn:
call LoadSpecialWarpData
predef LoadTilesetHeader
ld hl,wd732
@@ -29,7 +29,7 @@ SpecialWarpIn: ; 6042 (1:6042)
ret
; gets the map ID, tile block map view pointer, tileset, and coordinates
-LoadSpecialWarpData: ; 6073 (1:6073)
+LoadSpecialWarpData:
ld a, [wd72d]
cp TRADE_CENTER
jr nz, .notTradeCenter
@@ -144,4 +144,4 @@ LoadSpecialWarpData: ; 6073 (1:6073)
ld [wXOffsetSinceLastSpecialWarp], a
ld a, $ff ; the player's coordinates have already been updated using a special warp, so don't use any of the normal warps
ld [wDestinationWarpID], a
- ret \ No newline at end of file
+ ret