Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -18,8 +18,7 @@ Route106_EventScript_Kyla::
|
||||
Route106_EventScript_Elliot::
|
||||
trainerbattle_single TRAINER_ELLIOT_1, Route106_Text_ElliotIntro, Route106_Text_ElliotDefeated, Route106_EventScript_ElliotRegisterMatchCallAfterBattle
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq Route106_EventScript_ElliotRematch
|
||||
goto_if_eq VAR_RESULT, TRUE, Route106_EventScript_ElliotRematch
|
||||
msgbox Route106_Text_ElliotPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user