diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-01 21:12:13 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-01 21:12:13 -0500 |
| commit | b423e94be700cc6434465cf1dcccf0b677489192 (patch) | |
| tree | b77f44ac9b1b07113f92459e3d74a9ede69cce7d | |
| parent | bb88e045d10b704bfb6e86f142975016b3329eed (diff) | |
Define SCENE_ALWAYS EQU -1 for coord_events
| -rw-r--r-- | constants/scene_constants.asm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/constants/scene_constants.asm b/constants/scene_constants.asm index 721edebe..7878293f 100644 --- a/constants/scene_constants.asm +++ b/constants/scene_constants.asm @@ -6,12 +6,15 @@ 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 - const SCENE_POKECENTER2F_LEAVE_TRADE_CENTER ; 1 - const SCENE_POKECENTER2F_LEAVE_COLOSSEUM ; 2 - const SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE ; 3 + const SCENE_POKECENTER2F_LEAVE_TRADE_CENTER ; 1 + const SCENE_POKECENTER2F_LEAVE_COLOSSEUM ; 2 + const SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE ; 3 ; wPowerPlantSceneID const_def |
