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/Route115/scripts.inc | |
parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) |
improve call_if macros
Diffstat (limited to 'data/maps/Route115/scripts.inc')
-rw-r--r-- | data/maps/Route115/scripts.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route115/scripts.inc b/data/maps/Route115/scripts.inc index 735ffaa5b..560c360af 100644 --- a/data/maps/Route115/scripts.inc +++ b/data/maps/Route115/scripts.inc @@ -6,18 +6,18 @@ Route115_MapScripts:: @ 81F2920 Route115_MapScript1_1F2930: @ 81F2930 compare VAR_0x4037, 3 - call_if 1, Route115_EventScript_273939 + call_if_eq Route115_EventScript_273939 compare VAR_0x4037, 4 - call_if 1, Route115_EventScript_27394C + call_if_eq Route115_EventScript_27394C end Route115_MapScript1_1F2947: @ 81F2947 compare VAR_0x4039, 1 - call_if 1, Route115_EventScript_273D13 + call_if_eq Route115_EventScript_273D13 compare VAR_0x4037, 3 - call_if 1, Route115_EventScript_273D1B + call_if_eq Route115_EventScript_273D1B compare VAR_0x4037, 4 - call_if 1, Route115_EventScript_273D1B + call_if_eq Route115_EventScript_273D1B end Route115_MapScript2_1F2969: @ 81F2969 |