From ac2e4adf2da2f30a741556e20e5bc9a494997581 Mon Sep 17 00:00:00 2001 From: Melody Date: Fri, 21 Dec 2018 20:28:24 -0500 Subject: improve goto_if macros --- data/maps/Route124/scripts.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/maps/Route124/scripts.inc') diff --git a/data/maps/Route124/scripts.inc b/data/maps/Route124/scripts.inc index b7c40b034..374c64f4c 100644 --- a/data/maps/Route124/scripts.inc +++ b/data/maps/Route124/scripts.inc @@ -25,7 +25,7 @@ Route124_EventScript_1F65B3:: @ 81F65B3 trainerbattle_single TRAINER_JENNY_1, Route124_Text_2A0B37, Route124_Text_2A0B7C, Route124_EventScript_1F65DF specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_eq Route124_EventScript_1F65FE + goto_if_eq Route124_EventScript_1F65FE msgbox Route124_Text_2A0B9A, MSGBOX_DEFAULT release end @@ -57,7 +57,7 @@ Route124_EventScript_1F6643:: @ 81F6643 trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A0E87, Route124_Text_2A0EFE, Route124_Text_2A0F8C, Route124_EventScript_1F6673 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_eq Route124_EventScript_1F668C + goto_if_eq Route124_EventScript_1F668C msgbox Route124_Text_2A0F3A, MSGBOX_DEFAULT release end @@ -77,7 +77,7 @@ Route124_EventScript_1F66A7:: @ 81F66A7 trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_2A0FD1, Route124_Text_2A1012, Route124_Text_2A10E5, Route124_EventScript_1F66D7 specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_eq Route124_EventScript_1F66F0 + goto_if_eq Route124_EventScript_1F66F0 msgbox Route124_Text_2A103E, MSGBOX_DEFAULT release end -- cgit v1.2.3