summaryrefslogtreecommitdiff
path: root/data/maps/BattleFrontier_OutsideWest
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-21 21:32:45 -0500
committerMelody <melody@pallet.town>2018-12-21 21:32:45 -0500
commit55005f1588fed924bb86c420458371bf99a88e0e (patch)
tree26cb92272d19b82cbfb129eea32487b8afcf6d82 /data/maps/BattleFrontier_OutsideWest
parentac2e4adf2da2f30a741556e20e5bc9a494997581 (diff)
improve call_if macros
Diffstat (limited to 'data/maps/BattleFrontier_OutsideWest')
-rw-r--r--data/maps/BattleFrontier_OutsideWest/scripts.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/data/maps/BattleFrontier_OutsideWest/scripts.inc b/data/maps/BattleFrontier_OutsideWest/scripts.inc
index 57b81117f..da5724259 100644
--- a/data/maps/BattleFrontier_OutsideWest/scripts.inc
+++ b/data/maps/BattleFrontier_OutsideWest/scripts.inc
@@ -145,13 +145,13 @@ BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
faceplayer
delay 20
compare VAR_FACING, 2
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
compare VAR_FACING, 1
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D5C5
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D5C5
compare VAR_FACING, 3
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
compare VAR_FACING, 4
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D5BA
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
msgbox BattleFrontier_OutsideWest_Text_23DC36, MSGBOX_DEFAULT
release
end
@@ -170,13 +170,13 @@ BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
message BattleFrontier_OutsideWest_Text_23DCB0
waitmessage
compare VAR_FACING, 2
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D5FD
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D5FD
compare VAR_FACING, 1
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D608
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D608
compare VAR_FACING, 3
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D613
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D613
compare VAR_FACING, 4
- call_if 1, BattleFrontier_OutsideWest_EventScript_23D61E
+ call_if_eq BattleFrontier_OutsideWest_EventScript_23D61E
waitbuttonpress
release
end