Reformat compare + goto_if/call_if to single statements

This commit is contained in:
GriffinR committed 2021-11-18 23:06:51 -05:00
1 parent c57efdba5d
commit e66ea0cb99
293 files changed
+2990 -5978

No files matched your search

+2 -4
View File
@@ -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