Clean up some hex values in map scripts

This commit is contained in:
Remy Oukaour
2018-01-09 18:45:25 -05:00
parent fbc353f206
commit 2f0973f3e0
101 changed files with 420 additions and 399 deletions

View File

@@ -21,11 +21,11 @@ WillsRoom_MapScriptHeader:
.WillsRoomDoors:
checkevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorsClosed
changeblock $4, $e, $2a
changeblock 4, 14, $2a
.KeepDoorsClosed:
checkevent EVENT_WILLS_ROOM_EXIT_OPEN
iffalse .OpenDoors
changeblock $4, $2, $16
changeblock 4, 2, $16
.OpenDoors:
return
@@ -34,10 +34,10 @@ WillsRoom_MapScriptHeader:
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
changeblock $4, $e, $2a
changeblock 4, 14, $2a
reloadmappart
closetext
setscene $1
setscene 1
setevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
waitsfx
end
@@ -51,7 +51,7 @@ WillScript_Battle:
waitbutton
closetext
winlosstext WillScript_WillBeatenText, 0
loadtrainer WILL, 1
loadtrainer WILL, WILL1
startbattle
reloadmapafterbattle
setevent EVENT_BEAT_ELITE_4_WILL
@@ -60,7 +60,7 @@ WillScript_Battle:
waitbutton
closetext
playsound SFX_ENTER_DOOR
changeblock $4, $2, $16
changeblock 4, 2, $16
reloadmappart
closetext
setevent EVENT_WILLS_ROOM_EXIT_OPEN