improve goto_if macros
This commit is contained in:
@@ -22,9 +22,9 @@ Route103_EventScript_1EC3C1:: @ 81EC3C1
|
||||
lockall
|
||||
checkplayergender
|
||||
compare VAR_RESULT, 0
|
||||
goto_eq Route103_EventScript_1EC3DA
|
||||
goto_if_eq Route103_EventScript_1EC3DA
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq Route103_EventScript_1EC434
|
||||
goto_if_eq Route103_EventScript_1EC434
|
||||
end
|
||||
|
||||
Route103_EventScript_1EC3DA:: @ 81EC3DA
|
||||
@@ -211,7 +211,7 @@ Route103_EventScript_1EC60B:: @ 81EC60B
|
||||
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_2949F9, Route103_Text_294A3D, Route103_Text_294AAE, Route103_EventScript_1EC63A
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq Route103_EventScript_1EC653
|
||||
goto_if_eq Route103_EventScript_1EC653
|
||||
msgbox Route103_Text_294A52, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
@@ -230,7 +230,7 @@ Route103_EventScript_1EC66E:: @ 81EC66E
|
||||
trainerbattle_double TRAINER_AMY_AND_LIV_1, Route103_Text_294AFD, Route103_Text_294B22, Route103_Text_294BD0, Route103_EventScript_1EC69D
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq Route103_EventScript_1EC6B6
|
||||
goto_if_eq Route103_EventScript_1EC6B6
|
||||
msgbox Route103_Text_294B40, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
@@ -254,7 +254,7 @@ Route103_EventScript_1EC6E8:: @ 81EC6E8
|
||||
trainerbattle_single TRAINER_MIGUEL_1, Route103_Text_294EDF, Route103_Text_294F21, Route103_EventScript_1EC714
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_eq Route103_EventScript_1EC733
|
||||
goto_if_eq Route103_EventScript_1EC733
|
||||
msgbox Route103_Text_294F42, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user