summaryrefslogtreecommitdiff
path: root/data/maps/DesertUnderpass
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-21 20:28:24 -0500
committerMelody <melody@pallet.town>2018-12-21 20:28:24 -0500
commitac2e4adf2da2f30a741556e20e5bc9a494997581 (patch)
tree1a05a202cfece044d546094581d8463a9b6e452c /data/maps/DesertUnderpass
parent87fd6b8dc21b37b656f16e3f11832c6951328750 (diff)
improve goto_if macros
Diffstat (limited to 'data/maps/DesertUnderpass')
-rw-r--r--data/maps/DesertUnderpass/scripts.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/maps/DesertUnderpass/scripts.inc b/data/maps/DesertUnderpass/scripts.inc
index 486bd2577..d9913cb76 100644
--- a/data/maps/DesertUnderpass/scripts.inc
+++ b/data/maps/DesertUnderpass/scripts.inc
@@ -9,10 +9,8 @@ DesertUnderpass_MapScript1_23AF3D: @ 823AF3D
DesertUnderpass_EventScript_23AF41:: @ 823AF41
lock
faceplayer
- checkflag FLAG_0x14F
- goto_eq DesertUnderpass_EventScript_23AF57
- checkflag FLAG_0x150
- goto_eq DesertUnderpass_EventScript_23AF68
+ goto_if_set FLAG_0x14F, DesertUnderpass_EventScript_23AF57
+ goto_if_set FLAG_0x150, DesertUnderpass_EventScript_23AF68
release
end