Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -14,10 +14,8 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_Curator::
|
||||
message LilycoveCity_LilycoveMuseum_1F_Text_ImCuratorHaveYouViewedOurPaintings
|
||||
waitmessage
|
||||
multichoice 20, 8, MULTI_VIEWED_PAINTINGS, TRUE
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_SawPaintings
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_NotYet
|
||||
goto_if_eq VAR_RESULT, 0, LilycoveCity_LilycoveMuseum_1F_EventScript_SawPaintings
|
||||
goto_if_eq VAR_RESULT, 1, LilycoveCity_LilycoveMuseum_1F_EventScript_NotYet
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_1F_EventScript_NotYet::
|
||||
@@ -26,10 +24,8 @@ LilycoveCity_LilycoveMuseum_1F_EventScript_NotYet::
|
||||
|
||||
LilycoveCity_LilycoveMuseum_1F_EventScript_SawPaintings::
|
||||
msgbox LilycoveCity_LilycoveMuseum_1F_Text_HaveYouAnInterestInPaintings, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_NotInterested
|
||||
compare VAR_RESULT, YES
|
||||
goto_if_eq LilycoveCity_LilycoveMuseum_1F_EventScript_InterestedInPaintings
|
||||
goto_if_eq VAR_RESULT, NO, LilycoveCity_LilycoveMuseum_1F_EventScript_NotInterested
|
||||
goto_if_eq VAR_RESULT, YES, LilycoveCity_LilycoveMuseum_1F_EventScript_InterestedInPaintings
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_1F_EventScript_NotInterested::
|
||||
|
||||
Reference in New Issue
Block a user