Define scene constants alongside scene_scripts (#979)
Generic SCENE_DEFAULT and SCENE_FINISHED are legacy values
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
|
||||
Route29_MapScripts:
|
||||
def_scene_scripts
|
||||
scene_script .DummyScene0 ; SCENE_ROUTE29_NOTHING
|
||||
scene_script .DummyScene1 ; SCENE_ROUTE29_CATCH_TUTORIAL
|
||||
scene_script .DummyScene0, SCENE_ROUTE29_NOOP
|
||||
scene_script .DummyScene1, SCENE_ROUTE29_CATCH_TUTORIAL
|
||||
|
||||
def_callbacks
|
||||
callback MAPCALLBACK_OBJECTS, .Tuscany
|
||||
@@ -57,7 +57,7 @@ Route29Tutorial1:
|
||||
writetext CatchingTutorialDebriefText
|
||||
waitbutton
|
||||
closetext
|
||||
setscene SCENE_ROUTE29_NOTHING
|
||||
setscene SCENE_ROUTE29_NOOP
|
||||
setevent EVENT_LEARNED_TO_CATCH_POKEMON
|
||||
end
|
||||
|
||||
@@ -82,7 +82,7 @@ Route29Tutorial2:
|
||||
writetext CatchingTutorialDebriefText
|
||||
waitbutton
|
||||
closetext
|
||||
setscene SCENE_ROUTE29_NOTHING
|
||||
setscene SCENE_ROUTE29_NOOP
|
||||
setevent EVENT_LEARNED_TO_CATCH_POKEMON
|
||||
end
|
||||
|
||||
@@ -91,7 +91,7 @@ Script_RefusedTutorial1:
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData1b
|
||||
setscene SCENE_ROUTE29_NOTHING
|
||||
setscene SCENE_ROUTE29_NOOP
|
||||
end
|
||||
|
||||
Script_RefusedTutorial2:
|
||||
@@ -99,7 +99,7 @@ Script_RefusedTutorial2:
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData2b
|
||||
setscene SCENE_ROUTE29_NOTHING
|
||||
setscene SCENE_ROUTE29_NOOP
|
||||
end
|
||||
|
||||
CatchingTutorialDudeScript:
|
||||
|
Reference in New Issue
Block a user