summaryrefslogtreecommitdiff
path: root/data/maps/GraniteCave_1F
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/GraniteCave_1F
parent87fd6b8dc21b37b656f16e3f11832c6951328750 (diff)
improve goto_if macros
Diffstat (limited to 'data/maps/GraniteCave_1F')
-rw-r--r--data/maps/GraniteCave_1F/scripts.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/maps/GraniteCave_1F/scripts.inc b/data/maps/GraniteCave_1F/scripts.inc
index 28b95d578..1ace4071b 100644
--- a/data/maps/GraniteCave_1F/scripts.inc
+++ b/data/maps/GraniteCave_1F/scripts.inc
@@ -4,8 +4,7 @@ GraniteCave_1F_MapScripts:: @ 822DA5D
GraniteCave_1F_EventScript_22DA5E:: @ 822DA5E
lock
faceplayer
- checkflag FLAG_0x06D
- goto_eq GraniteCave_1F_EventScript_22DA8A
+ goto_if_set FLAG_0x06D, GraniteCave_1F_EventScript_22DA8A
msgbox GraniteCave_1F_Text_22DA94, MSGBOX_DEFAULT
giveitem_std ITEM_HM05
setflag FLAG_0x06D