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/BattleFrontier_Lounge1 | |
| parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) | |
improve call_if macros
Diffstat (limited to 'data/maps/BattleFrontier_Lounge1')
| -rw-r--r-- | data/maps/BattleFrontier_Lounge1/scripts.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/data/maps/BattleFrontier_Lounge1/scripts.inc b/data/maps/BattleFrontier_Lounge1/scripts.inc index 34434ef05..a12c54334 100644 --- a/data/maps/BattleFrontier_Lounge1/scripts.inc +++ b/data/maps/BattleFrontier_Lounge1/scripts.inc @@ -4,10 +4,8 @@ BattleFrontier_Lounge1_MapScripts:: @ 825E774 BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775 lock faceplayer - checkflag FLAG_0x153 - call_if 0, BattleFrontier_Lounge1_EventScript_25E7AD - checkflag FLAG_0x153 - call_if 1, BattleFrontier_Lounge1_EventScript_25E7B6 + call_if_unset FLAG_0x153, BattleFrontier_Lounge1_EventScript_25E7AD + call_if_set FLAG_0x153, BattleFrontier_Lounge1_EventScript_25E7B6 setflag FLAG_0x153 goto BattleFrontier_Lounge1_EventScript_25E792 end |
