summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-01 21:11:58 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-01 21:11:58 -0500
commit0e818f8b8bfe1f061a31c413d131fb766d12245c (patch)
tree4749128f737987adac75440032f35f0d53e28b81
parent4401d24074913b227ed246da02343cd875ee9fc0 (diff)
Define SCENE_ALWAYS EQU -1 for coord_events
-rw-r--r--constants/scene_constants.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/constants/scene_constants.asm b/constants/scene_constants.asm
index 67a0351ce..6039d69b5 100644
--- a/constants/scene_constants.asm
+++ b/constants/scene_constants.asm
@@ -6,6 +6,9 @@ SCENE_DEFAULT EQU 0
; Often a map will have a one-time default event for scene 0, and switch to a
; do-nothing scene 1 when the event finishes.
SCENE_FINISHED EQU 1
+; A coord_event for scene -1 will always activate, regardless of the map's
+; scene variable value.
+SCENE_ALWAYS EQU -1
; wPokecenter2FSceneID
const_def 1