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

@@ -1,7 +1,7 @@
RuinsOfAlphAerodactylChamber_MapScripts:
def_scene_scripts
scene_script .CheckWall ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
scene_script .CheckWall, SCENE_RUINSOFALPHAERODACTYLCHAMBER_CHECK_WALL
scene_script .DummyScene, SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .HiddenDoors
@@ -41,7 +41,7 @@ RuinsOfAlphAerodactylChamber_MapScripts:
changeblock 4, 0, $30 ; open wall
reloadmappart
earthquake 50
setscene SCENE_FINISHED
setscene SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOOP
closetext
end