summaryrefslogtreecommitdiff
path: root/data/maps/Route128
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-22 19:10:49 -0500
committerGitHub <noreply@github.com>2021-11-22 19:10:49 -0500
commite0fae879da1b773bf90fca145e047ccdb7613938 (patch)
treeb1be0ec73e33fccf2fe2deac44d62aa10ae391e4 /data/maps/Route128
parent5cb875b6cb798cf890e156f54a150ff90735ddab (diff)
parent42a83ee50e3364f3f7361dacb3d3616053f4c5bf (diff)
Merge pull request #1558 from GriffinRichards/update-macros
Update event macro comments
Diffstat (limited to 'data/maps/Route128')
-rw-r--r--data/maps/Route128/scripts.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/maps/Route128/scripts.inc b/data/maps/Route128/scripts.inc
index e550f2bd1..d08605128 100644
--- a/data/maps/Route128/scripts.inc
+++ b/data/maps/Route128/scripts.inc
@@ -181,8 +181,7 @@ Route128_Movement_MaxieApproachPlayer:
Route128_EventScript_Isaiah::
trainerbattle_single TRAINER_ISAIAH_1, Route128_Text_IsaiahIntro, Route128_Text_IsaiahDefeat, Route128_EventScript_RegisterIsaiah
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route128_EventScript_RematchIsaiah
+ goto_if_eq VAR_RESULT, TRUE, Route128_EventScript_RematchIsaiah
msgbox Route128_Text_IsaiahPostBattle, MSGBOX_DEFAULT
release
end
@@ -203,8 +202,7 @@ Route128_EventScript_RematchIsaiah::
Route128_EventScript_Katelyn::
trainerbattle_single TRAINER_KATELYN_1, Route128_Text_KatelynIntro, Route128_Text_KatelynDefeat, Route128_EventScript_RegisterKatelyn
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, TRUE
- goto_if_eq Route128_EventScript_RematchKatelyn
+ goto_if_eq VAR_RESULT, TRUE, Route128_EventScript_RematchKatelyn
msgbox Route128_Text_KatelynPostBattle, MSGBOX_DEFAULT
release
end