summaryrefslogtreecommitdiff
path: root/data/maps/Route128/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route128/scripts.inc')
-rw-r--r--data/maps/Route128/scripts.inc80
1 files changed, 37 insertions, 43 deletions
diff --git a/data/maps/Route128/scripts.inc b/data/maps/Route128/scripts.inc
index 8e2742ff5..2443051f5 100644
--- a/data/maps/Route128/scripts.inc
+++ b/data/maps/Route128/scripts.inc
@@ -17,29 +17,29 @@ Route128_EventScript_1F6B57:: @ 81F6B57
delay 20
applymovement 4, Route128_Movement_1F6C89
waitmovement 0
- msgbox Route128_Text_1F6DF5, 4
+ msgbox Route128_Text_1F6DF5, MSGBOX_DEFAULT
closemessage
applymovement 4, Route128_Movement_1F6C91
waitmovement 0
- msgbox Route128_Text_1F6E48, 4
+ msgbox Route128_Text_1F6E48, MSGBOX_DEFAULT
closemessage
applymovement 5, Route128_Movement_1F6CAD
waitmovement 0
applymovement 4, Route128_Movement_2725A6
waitmovement 0
- msgbox Route128_Text_1F6E5A, 4
+ msgbox Route128_Text_1F6E5A, MSGBOX_DEFAULT
closemessage
applymovement 5, Route128_Movement_1F6CBB
waitmovement 0
applymovement 255, Route128_Movement_2725A6
waitmovement 0
- msgbox Route128_Text_1F6F1E, 4
+ msgbox Route128_Text_1F6F1E, MSGBOX_DEFAULT
closemessage
applymovement 4, Route128_Movement_1F6C96
applymovement 255, Route128_Movement_2725A4
applymovement 5, Route128_Movement_1F6CA8
waitmovement 0
- msgbox Route128_Text_1F704F, 4
+ msgbox Route128_Text_1F704F, MSGBOX_DEFAULT
closemessage
delay 40
applymovement 5, Route128_Movement_1F6CB0
@@ -56,15 +56,15 @@ Route128_EventScript_1F6B57:: @ 81F6B57
waitmovement 0
applymovement 255, Route128_Movement_2725A8
waitmovement 0
- msgbox Route128_Text_1F70C9, 4
+ msgbox Route128_Text_1F70C9, MSGBOX_DEFAULT
closemessage
applymovement 3, Route128_Movement_1F6C85
applymovement 255, Route128_Movement_2725A6
waitmovement 0
- msgbox Route128_Text_1F70EA, 4
+ msgbox Route128_Text_1F70EA, MSGBOX_DEFAULT
applymovement 3, Route128_Movement_2725AA
waitmovement 0
- msgbox Route128_Text_1F721B, 4
+ msgbox Route128_Text_1F721B, MSGBOX_DEFAULT
closemessage
applymovement 3, Route128_Movement_2725AA
waitmovement 0
@@ -176,78 +176,72 @@ Route128_Movement_1F6CBB: @ 81F6CBB
step_end
Route128_EventScript_1F6CBE:: @ 81F6CBE
- trainerbattle 2, TRAINER_ISAIAH_1, 0, Route128_Text_2A287F, Route128_Text_2A28AB, Route128_EventScript_1F6CEA
+ trainerbattle_single TRAINER_ISAIAH_1, Route128_Text_2A287F, Route128_Text_2A28AB, Route128_EventScript_1F6CEA
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route128_EventScript_1F6D09
- msgbox Route128_Text_2A28D7, 4
+ msgbox Route128_Text_2A28D7, MSGBOX_DEFAULT
release
end
Route128_EventScript_1F6CEA:: @ 81F6CEA
special sub_80B4808
waitmovement 0
- msgbox Route128_Text_2A2916, 4
- setvar VAR_0x8004, 376
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 376
- callstd 8
+ msgbox Route128_Text_2A2916, MSGBOX_DEFAULT
+ register_matchcall TRAINER_ISAIAH_1
release
end
Route128_EventScript_1F6D09:: @ 81F6D09
- trainerbattle 5, TRAINER_ISAIAH_1, 0, Route128_Text_2A2975, Route128_Text_2A29B8
- msgbox Route128_Text_2A29DC, 6
+ trainerbattle_rematch TRAINER_ISAIAH_1, Route128_Text_2A2975, Route128_Text_2A29B8
+ msgbox Route128_Text_2A29DC, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6D20:: @ 81F6D20
- trainerbattle 2, TRAINER_KATELYN_1, 0, Route128_Text_2A2A1F, Route128_Text_2A2A94, Route128_EventScript_1F6D4C
+ trainerbattle_single TRAINER_KATELYN_1, Route128_Text_2A2A1F, Route128_Text_2A2A94, Route128_EventScript_1F6D4C
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route128_EventScript_1F6D6B
- msgbox Route128_Text_2A2AB7, 4
+ msgbox Route128_Text_2A2AB7, MSGBOX_DEFAULT
release
end
Route128_EventScript_1F6D4C:: @ 81F6D4C
special sub_80B4808
waitmovement 0
- msgbox Route128_Text_2A2AF9, 4
- setvar VAR_0x8004, 386
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 386
- callstd 8
+ msgbox Route128_Text_2A2AF9, MSGBOX_DEFAULT
+ register_matchcall TRAINER_KATELYN_1
release
end
Route128_EventScript_1F6D6B:: @ 81F6D6B
- trainerbattle 5, TRAINER_KATELYN_1, 0, Route128_Text_2A2B41, Route128_Text_2A2BAB
- msgbox Route128_Text_2A2BDD, 6
+ trainerbattle_rematch TRAINER_KATELYN_1, Route128_Text_2A2B41, Route128_Text_2A2BAB
+ msgbox Route128_Text_2A2BDD, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6D82:: @ 81F6D82
- trainerbattle 0, TRAINER_ALEXA, 0, Route128_Text_2A2C1C, Route128_Text_2A2C79
- msgbox Route128_Text_2A2C95, 6
+ trainerbattle_single TRAINER_ALEXA, Route128_Text_2A2C1C, Route128_Text_2A2C79
+ msgbox Route128_Text_2A2C95, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6D99:: @ 81F6D99
- trainerbattle 0, TRAINER_RUBEN, 0, Route128_Text_2A2CD9, Route128_Text_2A2CFE
- msgbox Route128_Text_2A2D0D, 6
+ trainerbattle_single TRAINER_RUBEN, Route128_Text_2A2CD9, Route128_Text_2A2CFE
+ msgbox Route128_Text_2A2D0D, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6DB0:: @ 81F6DB0
- trainerbattle 0, TRAINER_WAYNE, 0, Route128_Text_2A2D3D, Route128_Text_2A2DA9
- msgbox Route128_Text_2A2DBA, 6
+ trainerbattle_single TRAINER_WAYNE, Route128_Text_2A2D3D, Route128_Text_2A2DA9
+ msgbox Route128_Text_2A2DBA, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6DC7:: @ 81F6DC7
- trainerbattle 0, TRAINER_HARRISON, 0, Route128_Text_2A2E0F, Route128_Text_2A2E44
- msgbox Route128_Text_2A2E6C, 6
+ trainerbattle_single TRAINER_HARRISON, Route128_Text_2A2E0F, Route128_Text_2A2E44
+ msgbox Route128_Text_2A2E6C, MSGBOX_AUTOCLOSE
end
Route128_EventScript_1F6DDE:: @ 81F6DDE
- trainerbattle 0, TRAINER_CARLEE, 0, Route128_Text_2A2EC8, Route128_Text_2A2EFA
- msgbox Route128_Text_2A2F2F, 6
+ trainerbattle_single TRAINER_CARLEE, Route128_Text_2A2EC8, Route128_Text_2A2EFA
+ msgbox Route128_Text_2A2F2F, MSGBOX_AUTOCLOSE
end
Route128_Text_1F6DF5: @ 81F6DF5
@@ -269,7 +263,7 @@ Route128_Text_1F6E5A: @ 81F6E5A
.string "completely out of control!$"
Route128_Text_1F6F1E: @ 81F6F1E
- .string "MAXIE: {PLAYER}, don’t say anything.\p"
+ .string "MAXIE: {PLAYER}, don't say anything.\p"
.string "I know that I have no right to be\n"
.string "critical of ARCHIE…\p"
.string "But the way things are now, I doubt\n"
@@ -284,7 +278,7 @@ Route128_Text_1F704F: @ 81F704F
.string "MAXIE: This defies belief…\p"
.string "Those super-ancient POKéMON…\p"
.string "Their power is unbelievable.\n"
- .string "They’ve upset the balance of nature…$"
+ .string "They've upset the balance of nature…$"
Route128_Text_1F70C9: @ 81F70C9
.string "STEVEN: {PLAYER}{KUN}!\n"
@@ -294,18 +288,18 @@ Route128_Text_1F70EA: @ 81F70EA
.string "This is terrible…\p"
.string "After the scorching heat wave ended,\n"
.string "this deluge began.\p"
- .string "If this doesn’t stop, all of HOENN…\n"
+ .string "If this doesn't stop, all of HOENN…\n"
.string "No, the whole world will drown.\p"
.string "This huge rain cloud is spreading\n"
.string "from above SOOTOPOLIS…\p"
.string "What in the world is taking place there?\p"
- .string "There’s no point arguing here…\n"
+ .string "There's no point arguing here…\n"
.string "SOOTOPOLIS might provide answers…$"
Route128_Text_1F721B: @ 81F721B
.string "{PLAYER}{KUN}…\n"
- .string "I don’t know what you intend to do,\l"
- .string "but don’t do anything reckless.\p"
+ .string "I don't know what you intend to do,\l"
+ .string "but don't do anything reckless.\p"
.string "Okay.\n"
- .string "I’m going to SOOTOPOLIS.$"
+ .string "I'm going to SOOTOPOLIS.$"