summaryrefslogtreecommitdiff
path: root/home/overworld.asm
diff options
context:
space:
mode:
authorTheFakeMateo <skeetendomateo@gmail.com>2020-07-15 18:12:58 -0500
committerTheFakeMateo <skeetendomateo@gmail.com>2020-07-15 18:12:58 -0500
commit4ecff22f716aad9e9ad034cb0feae6cae273162e (patch)
tree300fb00d4e4dd2649fe151fa36ecc4f20bafdbcf /home/overworld.asm
parent87f24a885d888411d715171d75163bd59a609b41 (diff)
Deobfuscate exit warps on indoor maps
Diffstat (limited to 'home/overworld.asm')
-rw-r--r--home/overworld.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 0408bf32..bc5f03d0 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -507,7 +507,7 @@ WarpFound2::
; not all these maps are necessarily indoors, though
.indoorMaps
ldh a, [hWarpDestinationMap] ; destination map
- cp $ff
+ cp LAST_MAP
jr z, .goBackOutside
; if not going back to the previous map
ld [wCurMap], a