summaryrefslogtreecommitdiff
path: root/data/scripts/gabby_and_ty.inc
diff options
context:
space:
mode:
authorMade-s <made111@gmx.de>2018-01-06 19:20:14 +0100
committerGitHub <noreply@github.com>2018-01-06 19:20:14 +0100
commitcc2c226d2d598bb65376b53f6828e69bdf43245d (patch)
treeefc9b28d5c846371fb38e2984f4e71a3a5d03efe /data/scripts/gabby_and_ty.inc
parent8906ac68e7c5caf7c62597abf16affafc2bb05a3 (diff)
parent7bf330e9f2b048a9b3d7882c80c9aa413c55484a (diff)
Merge branch 'master' into master
Diffstat (limited to 'data/scripts/gabby_and_ty.inc')
-rw-r--r--data/scripts/gabby_and_ty.inc18
1 files changed, 8 insertions, 10 deletions
diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc
index ad7a3d3c5..5ddcf4a65 100644
--- a/data/scripts/gabby_and_ty.inc
+++ b/data/scripts/gabby_and_ty.inc
@@ -203,13 +203,12 @@ Route111_EventScript_1AE5A2:: @ 81AE5A2
special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare FACING, 2
- call_if 1, Route111_EventScript_1AE5E0
+ call_if_eq Route111_EventScript_1AE5E0
compare FACING, 1
- call_if 1, Route111_EventScript_1AE5EB
+ call_if_eq Route111_EventScript_1AE5EB
compare FACING, 4
- call_if 1, Route111_EventScript_1AE5FD
- checkflag FLAG_TEMP_1
- goto_if_eq Route111_EventScript_1AE73A
+ call_if_eq Route111_EventScript_1AE5FD
+ goto_if_set FLAG_TEMP_1, Route111_EventScript_1AE73A
msgbox Route111_Text_1AC015, MSGBOX_YESNO
goto Route111_EventScript_1AE6F3
end
@@ -237,13 +236,12 @@ Route120_EventScript_1AE60F:: @ 81AE60F
special GabbyAndTyBeforeInterview
special GabbyAndTySetScriptVarsToFieldObjectLocalIds
compare FACING, 2
- call_if 1, Route111_EventScript_1AE5E0
+ call_if_eq Route111_EventScript_1AE5E0
compare FACING, 1
- call_if 1, Route111_EventScript_1AE5EB
+ call_if_eq Route111_EventScript_1AE5EB
compare FACING, 4
- call_if 1, Route111_EventScript_1AE5FD
- checkflag FLAG_TEMP_1
- goto_if_eq Route111_EventScript_1AE73A
+ call_if_eq Route111_EventScript_1AE5FD
+ goto_if_set FLAG_TEMP_1, Route111_EventScript_1AE73A
specialvar RESULT, GabbyAndTyGetLastQuote
compare RESULT, 0
goto_if_eq Route111_EventScript_1AE69F