summaryrefslogtreecommitdiff
path: root/home/overworld.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 08:19:51 -0400
committerGitHub <noreply@github.com>2020-07-16 08:19:51 -0400
commitb9a113a9f4712771e37313a4c8a76f7ef23cebb2 (patch)
tree08b999ddb2212e9f5dba4b1aa1e37c9a6cb4a35d /home/overworld.asm
parentd3a01f777d2bbb3bc5ec6822af893d16fda19936 (diff)
parent4ecff22f716aad9e9ad034cb0feae6cae273162e (diff)
Merge pull request #276 from TheFakeMateo/master
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 1863ea4a..807d6a61 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