Define scene constants alongside scene_scripts (#979)

Generic SCENE_DEFAULT and SCENE_FINISHED are legacy values
This commit is contained in:
Rangi
2022-07-29 17:43:10 -04:00
committed by GitHub
parent 51bfd31ea8
commit 8826d97ee4
94 changed files with 380 additions and 518 deletions

View File

@@ -11,8 +11,8 @@
Route27_MapScripts:
def_scene_scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
scene_script .DummyScene0, SCENE_ROUTE27_FIRST_STEP_INTO_KANTO
scene_script .DummyScene1, SCENE_ROUTE27_NOOP
def_callbacks
@@ -40,7 +40,7 @@ FirstStepIntoKantoScene_Continue:
writetext Route27FisherText
waitbutton
closetext
setscene SCENE_FINISHED
setscene SCENE_ROUTE27_NOOP
end
Route27FisherScript:
@@ -474,8 +474,8 @@ Route27_MapEvents:
warp_event 36, 5, TOHJO_FALLS, 2
def_coord_events
coord_event 18, 10, SCENE_DEFAULT, FirstStepIntoKantoLeftScene
coord_event 19, 10, SCENE_DEFAULT, FirstStepIntoKantoRightScene
coord_event 18, 10, SCENE_ROUTE27_FIRST_STEP_INTO_KANTO, FirstStepIntoKantoLeftScene
coord_event 19, 10, SCENE_ROUTE27_FIRST_STEP_INTO_KANTO, FirstStepIntoKantoRightScene
def_bg_events
bg_event 25, 7, BGEVENT_READ, TohjoFallsSign