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
@@ -11,8 +11,7 @@ RustboroCity_Flat2_2F_EventScript_NinjaBoy::
|
||||
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_GavePremierBall
|
||||
msgbox RustboroCity_Flat2_2F_Text_MyDaddyMadeThisYouCanHaveIt, MSGBOX_DEFAULT
|
||||
giveitem ITEM_PREMIER_BALL
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_PREMIER_BALL_RUSTBORO
|
||||
release
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user