diff options
author | Melody <melody@pallet.town> | 2018-12-21 21:32:45 -0500 |
---|---|---|
committer | Melody <melody@pallet.town> | 2018-12-21 21:32:45 -0500 |
commit | 55005f1588fed924bb86c420458371bf99a88e0e (patch) | |
tree | 26cb92272d19b82cbfb129eea32487b8afcf6d82 /data/maps/Route131/scripts.inc | |
parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) |
improve call_if macros
Diffstat (limited to 'data/maps/Route131/scripts.inc')
-rw-r--r-- | data/maps/Route131/scripts.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/maps/Route131/scripts.inc b/data/maps/Route131/scripts.inc index 618d17fdb..da36f4001 100644 --- a/data/maps/Route131/scripts.inc +++ b/data/maps/Route131/scripts.inc @@ -4,7 +4,7 @@ Route131_MapScripts:: @ 81F7404 Route131_MapScript1_1F740A: @ 81F740A compare VAR_0x405E, 4 - call_if 4, Route131_EventScript_1F741F + call_if_ge Route131_EventScript_1F741F call Route131_EventScript_1F741B end @@ -13,8 +13,7 @@ Route131_EventScript_1F741B:: @ 81F741B return Route131_EventScript_1F741F:: @ 81F741F - checkflag FLAG_SYS_WEATHER_CTRL - call_if 1, Route131_EventScript_27207A + call_if_set FLAG_SYS_WEATHER_CTRL, Route131_EventScript_27207A return Route131_EventScript_1F7429:: @ 81F7429 |