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/Route127 | |
| parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) | |
improve call_if macros
Diffstat (limited to 'data/maps/Route127')
| -rw-r--r-- | data/maps/Route127/scripts.inc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/data/maps/Route127/scripts.inc b/data/maps/Route127/scripts.inc index 4407a1157..28f20bfb3 100644 --- a/data/maps/Route127/scripts.inc +++ b/data/maps/Route127/scripts.inc @@ -5,21 +5,20 @@ Route127_MapScripts:: @ 81F69D9 .byte 0 Route127_MapScript1_1F69E9: @ 81F69E9 - checkflag FLAG_SYS_WEATHER_CTRL - call_if 1, Route127_EventScript_27207A + call_if_set FLAG_SYS_WEATHER_CTRL, Route127_EventScript_27207A compare VAR_0x4039, 1 - call_if 1, Route127_EventScript_273D13 + call_if_eq Route127_EventScript_273D13 compare VAR_0x4037, 13 - call_if 1, Route127_EventScript_273D17 + call_if_eq Route127_EventScript_273D17 compare VAR_0x4037, 14 - call_if 1, Route127_EventScript_273D17 + call_if_eq Route127_EventScript_273D17 end Route127_MapScript1_1F6A14: @ 81F6A14 compare VAR_0x4037, 13 - call_if 1, Route127_EventScript_273B5F + call_if_eq Route127_EventScript_273B5F compare VAR_0x4037, 14 - call_if 1, Route127_EventScript_273BCC + call_if_eq Route127_EventScript_273BCC end Route127_MapScript2_1F6A2B: @ 81F6A2B |
