SCENE_DEFAULT=0 and SCENE_FINISHED=1 (generic constants for a common scene pattern)

This commit is contained in:
Rangi
2018-02-01 15:06:06 -05:00
parent b54a7b7795
commit b2970e75f4
45 changed files with 99 additions and 253 deletions

View File

@@ -4,7 +4,7 @@
BrunosRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_BRUNOSROOM_NOTHING
scene_script .DummyScene ; SCENE_FINISHED
db 1 ; callbacks
callback MAPCALLBACK_TILES, .BrunosRoomDoors
@@ -35,7 +35,7 @@ BrunosRoom_MapScripts:
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene SCENE_BRUNOSROOM_NOTHING
setscene SCENE_FINISHED
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
waitsfx
end