Reformat compare + goto_if/call_if to single statements
This commit is contained in:
1 parent
c57efdba5d
commit
e66ea0cb99
293 files changed
+2990
-5978
No files matched your search
@@ -34,8 +34,7 @@ FortreeCity_House4_EventScript_WingullReturned::
|
||||
waitmovement 0
|
||||
msgbox FortreeCity_House4_Text_WelcomeWingullTakeMentalHerb, MSGBOX_DEFAULT
|
||||
giveitem ITEM_MENTAL_HERB
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_MENTAL_HERB
|
||||
releaseall
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user