summaryrefslogtreecommitdiff
path: root/data/scripts/secret_power_tm.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/secret_power_tm.inc')
-rw-r--r--data/scripts/secret_power_tm.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/scripts/secret_power_tm.inc b/data/scripts/secret_power_tm.inc
index 031835c14..072d154f0 100644
--- a/data/scripts/secret_power_tm.inc
+++ b/data/scripts/secret_power_tm.inc
@@ -38,7 +38,7 @@ Route111_EventScript_2765FF:: @ 82765FF
faceplayer
msgbox Route111_Text_2762C9, MSGBOX_YESNO
compare VAR_RESULT, 1
- goto_eq Route111_EventScript_27661E
+ goto_if_eq Route111_EventScript_27661E
msgbox Route111_Text_27655C, MSGBOX_DEFAULT
release
end
@@ -46,17 +46,17 @@ Route111_EventScript_2765FF:: @ 82765FF
Route111_EventScript_27661E:: @ 827661E
giveitem_std ITEM_TM43
compare VAR_RESULT, 0
- goto_eq Route111_EventScript_276680
+ goto_if_eq Route111_EventScript_276680
msgbox Route111_Text_27636E, MSGBOX_DEFAULT
closemessage
setflag FLAG_0x060
clearflag FLAG_HIDE_SLATEPORT_CITY_TM_SALESMAN
compare VAR_FACING, 3
- call_if 1, Route111_EventScript_27666A
+ call_if_eq Route111_EventScript_27666A
compare VAR_FACING, 4
- call_if 1, Route111_EventScript_27666A
+ call_if_eq Route111_EventScript_27666A
compare VAR_FACING, 2
- call_if 1, Route111_EventScript_276675
+ call_if_eq Route111_EventScript_276675
removeobject VAR_LAST_TALKED
release
end