summaryrefslogtreecommitdiff
path: root/maps/LancesRoom.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-17 13:23:43 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-17 13:23:43 -0500
commitc70e8eec499ce70ffff03b38ae6ea987d99608e7 (patch)
tree40eb1c5db4294d2651ed892914c7e5814fdef846 /maps/LancesRoom.asm
parentfaa41e743b3eeac9d8230271a77368a557433c78 (diff)
Comment on changeblock ids
Diffstat (limited to 'maps/LancesRoom.asm')
-rw-r--r--maps/LancesRoom.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/maps/LancesRoom.asm b/maps/LancesRoom.asm
index c073f0f1e..a3336251b 100644
--- a/maps/LancesRoom.asm
+++ b/maps/LancesRoom.asm
@@ -22,13 +22,13 @@ LancesRoom_MapScripts:
.LancesRoomDoors:
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
- iffalse .KeepDoorsClosed
- changeblock 4, 22, $34
-.KeepDoorsClosed:
+ iffalse .KeepEntranceOpen
+ changeblock 4, 22, $34 ; wall
+.KeepEntranceOpen:
checkevent EVENT_LANCES_ROOM_EXIT_OPEN
- iffalse .OpenDoors
- changeblock 4, 0, $0b
-.OpenDoors:
+ iffalse .KeepExitClosed
+ changeblock 4, 0, $0b ; open door
+.KeepExitClosed:
return
.LancesDoorLocksBehindYou:
@@ -36,7 +36,7 @@ LancesRoom_MapScripts:
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
- changeblock 4, 22, $34
+ changeblock 4, 22, $34 ; wall
reloadmappart
closetext
setscene 1
@@ -69,7 +69,7 @@ LanceScript_0x180e7b:
waitbutton
closetext
playsound SFX_ENTER_DOOR
- changeblock 4, 0, $0b
+ changeblock 4, 0, $0b ; open door
reloadmappart
closetext
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED