improve goto_if macros

This commit is contained in:
Melody
2018-12-21 20:28:24 -05:00
parent 87fd6b8dc2
commit ac2e4adf2d
273 changed files with 2555 additions and 3036 deletions

View File

@@ -40,7 +40,7 @@ Route115_EventScript_1F298E:: @ 81F298E
trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_29B1FA, Route115_Text_29B230, Route115_EventScript_1F29BA
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route115_EventScript_1F29D9
goto_if_eq Route115_EventScript_1F29D9
msgbox Route115_Text_29B258, MSGBOX_DEFAULT
release
end
@@ -67,7 +67,7 @@ Route115_EventScript_1F2A07:: @ 81F2A07
trainerbattle_single TRAINER_NOB_1, Route115_Text_29B449, Route115_Text_29B480, Route115_EventScript_1F2A33
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route115_EventScript_1F2A52
goto_if_eq Route115_EventScript_1F2A52
msgbox Route115_Text_29B49D, MSGBOX_DEFAULT
release
end
@@ -89,7 +89,7 @@ Route115_EventScript_1F2A69:: @ 81F2A69
trainerbattle_single TRAINER_CYNDY_1, Route115_Text_29B5EF, Route115_Text_29B62D, Route115_EventScript_1F2A95
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route115_EventScript_1F2AB4
goto_if_eq Route115_EventScript_1F2AB4
msgbox Route115_Text_29B647, MSGBOX_DEFAULT
release
end