Comment on changeblock ids

This commit is contained in:
Remy Oukaour
2018-01-17 13:23:43 -05:00
parent faa41e743b
commit c70e8eec49
23 changed files with 127 additions and 126 deletions

View File

@@ -20,21 +20,21 @@ BrunosRoom_MapScripts:
.BrunosRoomDoors:
checkevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorClosed
changeblock 4, 14, $2a
.KeepDoorClosed:
iffalse .KeepEntranceOpen
changeblock 4, 14, $2a ; wall
.KeepEntranceOpen:
checkevent EVENT_BRUNOS_ROOM_EXIT_OPEN
iffalse .OpenDoor
changeblock 4, 2, $16
.OpenDoor:
iffalse .KeepExitClosed
changeblock 4, 2, $16 ; open door
.KeepExitClosed:
return
.BrunosDoorLocksBehindYou:
applymovement PLAYER, MovementData_0x1809f9
applymovement PLAYER, BrunosRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
changeblock 4, 14, $2a
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene 1
@@ -46,7 +46,7 @@ BrunoScript_Battle:
faceplayer
opentext
checkevent EVENT_BEAT_ELITE_4_BRUNO
iftrue UnknownScript_0x1809f3
iftrue BrunoScript_AfterBattle
writetext BrunoScript_BrunoBeforeText
waitbutton
closetext
@@ -60,20 +60,20 @@ BrunoScript_Battle:
waitbutton
closetext
playsound SFX_ENTER_DOOR
changeblock 4, 2, $16
changeblock 4, 2, $16 ; open door
reloadmappart
closetext
setevent EVENT_BRUNOS_ROOM_EXIT_OPEN
waitsfx
end
UnknownScript_0x1809f3:
BrunoScript_AfterBattle:
writetext BrunoScript_BrunoDefeatText
waitbutton
closetext
end
MovementData_0x1809f9:
BrunosRoom_EnterMovement:
step UP
step UP
step UP