Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -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