Meaningful scene constant names
(Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event)
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
WillsRoom_MapScripts:
|
||||
db 2 ; scene scripts
|
||||
scene_script .LockDoor ; SCENE_WILLSROOM_0
|
||||
scene_script .DummyScene ; SCENE_WILLSROOM_1
|
||||
scene_script .LockDoor ; SCENE_DEFAULT
|
||||
scene_script .DummyScene ; SCENE_WILLSROOM_NOTHING
|
||||
|
||||
db 1 ; callbacks
|
||||
callback MAPCALLBACK_TILES, .WillsRoomDoors
|
||||
@@ -35,7 +35,7 @@ WillsRoom_MapScripts:
|
||||
changeblock 4, 14, $2a ; wall
|
||||
reloadmappart
|
||||
closetext
|
||||
setscene SCENE_WILLSROOM_1
|
||||
setscene SCENE_WILLSROOM_NOTHING
|
||||
setevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
|
||||
waitsfx
|
||||
end
|
||||
|
Reference in New Issue
Block a user