summaryrefslogtreecommitdiff
path: root/constants
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 /constants
parentd3a01f777d2bbb3bc5ec6822af893d16fda19936 (diff)
parent4ecff22f716aad9e9ad034cb0feae6cae273162e (diff)
Merge pull request #276 from TheFakeMateo/master
Deobfuscate exit warps on indoor maps
Diffstat (limited to 'constants')
-rw-r--r--constants/map_constants.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/constants/map_constants.asm b/constants/map_constants.asm
index 3ddc5746..6c7d8d48 100644
--- a/constants/map_constants.asm
+++ b/constants/map_constants.asm
@@ -253,3 +253,8 @@ ENDM
mapconst LORELEIS_ROOM, 6, 5 ; $F5
mapconst BRUNOS_ROOM, 6, 5 ; $F6
mapconst AGATHAS_ROOM, 6, 5 ; $F7
+
+
+; Indoor maps, such as houses, use this as the Map ID in their exit warps
+; This map ID takes the player back to the last outdoor map they were on, stored in wLastMap
+LAST_MAP EQU -1