Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -4,8 +4,7 @@ MtPyre_6F_MapScripts::
|
||||
MtPyre_6F_EventScript_Valerie::
|
||||
trainerbattle_single TRAINER_VALERIE_1, MtPyre_6F_Text_ValerieIntro, MtPyre_6F_Text_ValerieDefeat, MtPyre_6F_EventScript_RegisterValerie
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq MtPyre_6F_EventScript_RematchValerie
|
||||
goto_if_eq VAR_RESULT, TRUE, MtPyre_6F_EventScript_RematchValerie
|
||||
msgbox MtPyre_6F_Text_ValeriePostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user