summaryrefslogtreecommitdiff
path: root/data/maps/FortreeCity
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-18 23:06:30 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-18 23:06:51 -0500
commite66ea0cb996c70093fe3f250cafb7f1f87e84d4d (patch)
tree162e07afa059e7683e4aa991a1a82205c16b3025 /data/maps/FortreeCity
parentc57efdba5d3cc475f75c5909c31f96bbce6190b8 (diff)
Reformat compare + goto_if/call_if to single statements
Diffstat (limited to 'data/maps/FortreeCity')
-rw-r--r--data/maps/FortreeCity/scripts.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/maps/FortreeCity/scripts.inc b/data/maps/FortreeCity/scripts.inc
index a9fe64ade..f1694aaa8 100644
--- a/data/maps/FortreeCity/scripts.inc
+++ b/data/maps/FortreeCity/scripts.inc
@@ -56,16 +56,14 @@ FortreeCity_EventScript_Kecleon::
lock
faceplayer
checkitem ITEM_DEVON_SCOPE
- compare VAR_RESULT, TRUE
- goto_if_eq FortreeCity_EventScript_AskUseDevonScope
+ goto_if_eq VAR_RESULT, TRUE, FortreeCity_EventScript_AskUseDevonScope
msgbox FortreeCity_Text_SomethingUnseeable, MSGBOX_DEFAULT
release
end
FortreeCity_EventScript_AskUseDevonScope::
msgbox FortreeCity_Text_UnseeableUseDevonScope, MSGBOX_YESNO
- compare VAR_RESULT, YES
- goto_if_eq FortreeCity_EventScript_UseDevonScope
+ goto_if_eq VAR_RESULT, YES, FortreeCity_EventScript_UseDevonScope
release
end