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/Route130 | |
| parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) | |
improve call_if macros
Diffstat (limited to 'data/maps/Route130')
| -rw-r--r-- | data/maps/Route130/scripts.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/maps/Route130/scripts.inc b/data/maps/Route130/scripts.inc index 57d5b199b..5c7696eb7 100644 --- a/data/maps/Route130/scripts.inc +++ b/data/maps/Route130/scripts.inc @@ -4,7 +4,7 @@ Route130_MapScripts:: @ 81F735F Route130_MapScript1_1F7365: @ 81F7365 compare VAR_0x405E, 4 - call_if 4, Route130_EventScript_1F73B5 + call_if_ge Route130_EventScript_1F73B5 specialvar VAR_RESULT, IsMirageIslandPresent compare VAR_RESULT, 1 goto_if_eq Route130_EventScript_1F73B1 @@ -31,8 +31,7 @@ Route130_EventScript_1F73B1:: @ 81F73B1 end Route130_EventScript_1F73B5:: @ 81F73B5 - checkflag FLAG_SYS_WEATHER_CTRL - call_if 1, Route130_EventScript_27207A + call_if_set FLAG_SYS_WEATHER_CTRL, Route130_EventScript_27207A return Route130_EventScript_1F73BF:: @ 81F73BF |
