summaryrefslogtreecommitdiff
path: root/constants/map_constants.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 /constants/map_constants.asm
parent87f24a885d888411d715171d75163bd59a609b41 (diff)
Deobfuscate exit warps on indoor maps
Diffstat (limited to 'constants/map_constants.asm')
-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