summaryrefslogtreecommitdiff
path: root/data/maps/Route125/scripts.inc
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/Route125/scripts.inc
parentac2e4adf2da2f30a741556e20e5bc9a494997581 (diff)
improve call_if macros
Diffstat (limited to 'data/maps/Route125/scripts.inc')
-rw-r--r--data/maps/Route125/scripts.inc13
1 files changed, 6 insertions, 7 deletions
diff --git a/data/maps/Route125/scripts.inc b/data/maps/Route125/scripts.inc
index 1aee88596..e5ad32697 100644
--- a/data/maps/Route125/scripts.inc
+++ b/data/maps/Route125/scripts.inc
@@ -5,21 +5,20 @@ Route125_MapScripts:: @ 81F6748
.byte 0
Route125_MapScript1_1F6758: @ 81F6758
- checkflag FLAG_SYS_WEATHER_CTRL
- call_if 1, Route125_EventScript_27207A
+ call_if_set FLAG_SYS_WEATHER_CTRL, Route125_EventScript_27207A
compare VAR_0x4039, 1
- call_if 1, Route125_EventScript_273D13
+ call_if_eq Route125_EventScript_273D13
compare VAR_0x4037, 11
- call_if 1, Route125_EventScript_273D17
+ call_if_eq Route125_EventScript_273D17
compare VAR_0x4037, 12
- call_if 1, Route125_EventScript_273D17
+ call_if_eq Route125_EventScript_273D17
end
Route125_MapScript1_1F6783: @ 81F6783
compare VAR_0x4037, 11
- call_if 1, Route125_EventScript_273A85
+ call_if_eq Route125_EventScript_273A85
compare VAR_0x4037, 12
- call_if 1, Route125_EventScript_273AF2
+ call_if_eq Route125_EventScript_273AF2
end
Route125_MapScript2_1F679A: @ 81F679A