summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route118.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/maps/Route118.inc')
-rw-r--r--data/scripts/maps/Route118.inc70
1 files changed, 35 insertions, 35 deletions
diff --git a/data/scripts/maps/Route118.inc b/data/scripts/maps/Route118.inc
index 0b5b4748e..b96346f15 100644
--- a/data/scripts/maps/Route118.inc
+++ b/data/scripts/maps/Route118.inc
@@ -10,12 +10,12 @@ Route118_EventScript_150F34:: @ 8150F34
lock
faceplayer
checkflag 227
- jumpeq Route118_EventScript_150F89
+ goto_if_eq Route118_EventScript_150F89
msgbox Route118_Text_170F12, 5
compare RESULT, 1
- jumpeq Route118_EventScript_150F5E
+ goto_if_eq Route118_EventScript_150F5E
compare RESULT, 0
- jumpeq Route118_EventScript_150F7F
+ goto_if_eq Route118_EventScript_150F7F
end
Route118_EventScript_150F5E:: @ 8150F5E
@@ -51,62 +51,62 @@ Route118_EventScript_150FA5:: @ 8150FA5
Route118_EventScript_150FAE:: @ 8150FAE
lockall
setvar 0x8008, 0
- move 255, Route118_Movement_1A0841
- waitmove 0
- move 19, Route118_Movement_151069
- waitmove 0
- jump Route118_EventScript_151004
+ applymovement 255, Route118_Movement_1A0841
+ waitmovement 0
+ applymovement 19, Route118_Movement_151069
+ waitmovement 0
+ goto Route118_EventScript_151004
end
Route118_EventScript_150FCE:: @ 8150FCE
lockall
setvar 0x8008, 1
- move 255, Route118_Movement_1A0841
- waitmove 0
- jump Route118_EventScript_151004
+ applymovement 255, Route118_Movement_1A0841
+ waitmovement 0
+ goto Route118_EventScript_151004
end
Route118_EventScript_150FE4:: @ 8150FE4
lockall
setvar 0x8008, 2
- move 255, Route118_Movement_1A0841
- waitmove 0
- move 19, Route118_Movement_15106B
- waitmove 0
- jump Route118_EventScript_151004
+ applymovement 255, Route118_Movement_1A0841
+ waitmovement 0
+ applymovement 19, Route118_Movement_15106B
+ waitmovement 0
+ goto Route118_EventScript_151004
end
Route118_EventScript_151004:: @ 8151004
- playsfx 10
- move 19, Route118_Movement_15106D
- waitmove 0
- pause 30
+ playse 10
+ applymovement 19, Route118_Movement_15106D
+ waitmovement 0
+ delay 30
msgbox Route118_Text_170D66, 4
- closebutton
+ closemessage
compare 0x8008, 0
- callif 1, Route118_EventScript_151048
+ call_if 1, Route118_EventScript_151048
compare 0x8008, 1
- callif 1, Route118_EventScript_151053
+ call_if 1, Route118_EventScript_151053
compare 0x8008, 2
- callif 1, Route118_EventScript_15105E
+ call_if 1, Route118_EventScript_15105E
setvar 0x4071, 1
- disappear 19
+ removeobject 19
releaseall
end
Route118_EventScript_151048:: @ 8151048
- move 19, Route118_Movement_151071
- waitmove 0
+ applymovement 19, Route118_Movement_151071
+ waitmovement 0
return
Route118_EventScript_151053:: @ 8151053
- move 19, Route118_Movement_15107C
- waitmove 0
+ applymovement 19, Route118_Movement_15107C
+ waitmovement 0
return
Route118_EventScript_15105E:: @ 815105E
- move 19, Route118_Movement_151086
- waitmove 0
+ applymovement 19, Route118_Movement_151086
+ waitmovement 0
return
Route118_Movement_151069:: @ 8151069
@@ -161,9 +161,9 @@ Route118_Movement_151086:: @ 8151086
Route118_EventScript_15108F:: @ 815108F
trainerbattle 0, OPPONENT_ROSE_1, 0, Route118_Text_1BDFF4, Route118_Text_1BE03C
- specialval RESULT, sub_8082C68
+ specialvar RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route118_EventScript_1510B6
+ goto_if_eq Route118_EventScript_1510B6
msgbox Route118_Text_1BE05E, 6
end
@@ -184,9 +184,9 @@ Route118_EventScript_1510E4:: @ 81510E4
Route118_EventScript_1510FB:: @ 81510FB
trainerbattle 0, OPPONENT_DALTON_1, 0, Route118_Text_1BE3E8, Route118_Text_1BE406
- specialval RESULT, sub_8082C68
+ specialvar RESULT, sub_8082C68
compare RESULT, 1
- jumpeq Route118_EventScript_151122
+ goto_if_eq Route118_EventScript_151122
msgbox Route118_Text_1BE413, 6
end