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/scripts/gabby_and_ty.inc | |
parent | ac2e4adf2da2f30a741556e20e5bc9a494997581 (diff) |
improve call_if macros
Diffstat (limited to 'data/scripts/gabby_and_ty.inc')
-rw-r--r-- | data/scripts/gabby_and_ty.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc index bcb8e517c..39de44ba6 100644 --- a/data/scripts/gabby_and_ty.inc +++ b/data/scripts/gabby_and_ty.inc @@ -215,11 +215,11 @@ Route111_EventScript_28CF56:: @ 828CF56 special GabbyAndTyBeforeInterview special GabbyAndTySetScriptVarsToEventObjectLocalIds compare VAR_FACING, 2 - call_if 1, Route111_EventScript_28CF94 + call_if_eq Route111_EventScript_28CF94 compare VAR_FACING, 1 - call_if 1, Route111_EventScript_28CF9F + call_if_eq Route111_EventScript_28CF9F compare VAR_FACING, 4 - call_if 1, Route111_EventScript_28CFB1 + call_if_eq Route111_EventScript_28CFB1 goto_if_set FLAG_TEMP_1, Route111_EventScript_28D0EE msgbox Route111_Text_28B042, MSGBOX_YESNO goto Route111_EventScript_28D0A7 @@ -248,11 +248,11 @@ Route120_EventScript_28CFC3:: @ 828CFC3 special GabbyAndTyBeforeInterview special GabbyAndTySetScriptVarsToEventObjectLocalIds compare VAR_FACING, 2 - call_if 1, Route111_EventScript_28CF94 + call_if_eq Route111_EventScript_28CF94 compare VAR_FACING, 1 - call_if 1, Route111_EventScript_28CF9F + call_if_eq Route111_EventScript_28CF9F compare VAR_FACING, 4 - call_if 1, Route111_EventScript_28CFB1 + call_if_eq Route111_EventScript_28CFB1 goto_if_set FLAG_TEMP_1, Route111_EventScript_28D0EE specialvar VAR_RESULT, GabbyAndTyGetLastQuote compare VAR_RESULT, 0 |