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

@@ -9,8 +9,8 @@
PowerPlant_MapScripts:
def_scene_scripts
scene_script .DummyScene0 ; SCENE_POWERPLANT_NOTHING
scene_script .DummyScene1 ; SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
scene_script .DummyScene0, SCENE_POWERPLANT_NOOP
scene_script .DummyScene1, SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
def_callbacks
@@ -40,7 +40,7 @@ PowerPlantGuardPhoneScript:
closetext
turnobject PLAYER, DOWN
applymovement POWERPLANT_OFFICER1, PowerPlantOfficer1ReturnToPostMovement
setscene SCENE_POWERPLANT_NOTHING
setscene SCENE_POWERPLANT_NOOP
end
PowerPlantOfficerScript: