2021-08-25 00:59:32 +02:00
|
|
|
@ NOTE: Route 109's sail to Dewford script references local IDs from Dewford's map.
|
2020-06-21 07:56:57 +02:00
|
|
|
@ These are labeled in DewfordTown/scripts.inc
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_StartDepartForDewford::
|
2019-10-26 18:16:04 +02:00
|
|
|
call EventScript_BackupMrBrineyLocation
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectpriority LOCALID_BRINEY_R109, MAP_ROUTE109, 0
|
2019-11-21 05:12:51 +01:00
|
|
|
setobjectpriority OBJ_EVENT_ID_PLAYER, MAP_ROUTE109, 0
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_BRINEY_R109, Route109_Movement_BrineyEnterBoat
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
removeobject LOCALID_BRINEY_R109
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_FACING
|
2019-10-26 18:16:04 +02:00
|
|
|
case DIR_SOUTH, Route109_EventScript_EnterBoatSouth
|
|
|
|
case DIR_WEST, Route109_EventScript_EnterBoatWest
|
|
|
|
case DIR_EAST, Route109_EventScript_EnterBoatEast
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_EnterBoatSouth::
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Route109_Movement_PlayerEnterBoatSouth
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-26 18:16:04 +02:00
|
|
|
goto Route109_EventScript_DoSailToDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_EnterBoatEast::
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Route109_Movement_PlayerEnterBoatEast
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-26 18:16:04 +02:00
|
|
|
goto Route109_EventScript_DoSailToDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_EnterBoatWest::
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Route109_Movement_PlayerEnterBoatWest
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-26 18:16:04 +02:00
|
|
|
goto Route109_EventScript_DoSailToDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_DoSailToDewford::
|
2019-11-21 05:12:51 +01:00
|
|
|
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_ROUTE109
|
2019-08-15 05:38:42 +02:00
|
|
|
call Common_EventScript_PlayBrineysBoatMusic
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_BOAT_R109, Route109_Movement_SailToDewford
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Route109_Movement_SailToDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 50
|
2019-08-15 05:38:42 +02:00
|
|
|
call Common_EventScript_StopBrineysBoatMusic
|
2019-11-21 05:12:51 +01:00
|
|
|
showobjectat OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Route109_Movement_PlayerExitBoat
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_BOAT_DEWFORD
|
2018-10-18 04:07:23 +02:00
|
|
|
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectxyperm LOCALID_BRINEY_DEWFORD, 12, 8
|
|
|
|
addobject LOCALID_BRINEY_DEWFORD
|
|
|
|
setobjectpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN, 0
|
|
|
|
applymovement LOCALID_BRINEY_DEWFORD, Route109_Movement_BrineyExitBoat
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-10-18 04:07:23 +02:00
|
|
|
clearflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
|
2018-10-19 19:04:47 +02:00
|
|
|
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
|
2020-06-21 07:56:57 +02:00
|
|
|
hideobjectat LOCALID_BOAT_R109, MAP_ROUTE109
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox DewfordTown_Text_BrineyLandedInDewford, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-22 10:01:38 +01:00
|
|
|
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
|
2019-11-21 05:12:51 +01:00
|
|
|
resetobjectpriority OBJ_EVENT_ID_PLAYER, MAP_ROUTE109
|
2020-06-21 07:56:57 +02:00
|
|
|
resetobjectpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN
|
|
|
|
copyobjectxytoperm LOCALID_BRINEY_DEWFORD
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_SailToDewford:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fastest_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fastest_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fastest_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_PlayerEnterBoatSouth:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_PlayerExitBoat:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_left
|
|
|
|
walk_in_place_fastest_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_PlayerEnterBoatEast:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_PlayerEnterBoatWest:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_BrineyEnterBoat:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Movement_BrineyExitBoat:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_MrBriney::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-10-26 18:16:04 +02:00
|
|
|
goto_if_unset FLAG_DELIVERED_DEVON_GOODS, Route109_EventScript_HaveNotDeliveredDevonGood
|
|
|
|
goto Route109_EventScript_DeliveredDevonGoods
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_HaveNotDeliveredDevonGood::
|
2019-10-26 18:16:04 +02:00
|
|
|
message Route109_Text_BrineySailToDewfordQuestion
|
|
|
|
msgbox Route109_Text_BrineySailToDewfordQuestion, MSGBOX_YESNO
|
2019-11-02 17:34:53 +01:00
|
|
|
compare VAR_RESULT, NO
|
2019-10-26 18:16:04 +02:00
|
|
|
goto_if_eq Route109_EventScript_StayHere
|
|
|
|
goto Route109_EventScript_SailToDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_DeliveredDevonGoods::
|
2019-10-26 18:16:04 +02:00
|
|
|
message Route109_Text_BrineyWhereAreWeBound
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmessage
|
2021-03-31 06:35:56 +02:00
|
|
|
multichoicedefault 21, 8, MULTI_BRINEY_OFF_DEWFORD, 1, FALSE
|
2017-11-10 02:21:31 +01:00
|
|
|
switch VAR_RESULT
|
2019-10-26 18:16:04 +02:00
|
|
|
case 0, Route109_EventScript_SailToDewford
|
|
|
|
case 1, Route109_EventScript_ChoseNotToSail
|
|
|
|
case MULTI_B_PRESSED, Route109_EventScript_ChoseNotToSail
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_SailToDewford::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_BrineyDewfordItIs, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-26 18:16:04 +02:00
|
|
|
goto Route109_EventScript_StartDepartForDewford
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_StayHere::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_BrineyDeliverDevonGoods, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_ChoseNotToSail::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_BrineyTellMeWhenYouNeedToSail, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_SeashoreHouseGirl::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_ChillAtMyPapasSpot, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_SandCastleBoy::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_SandCastleTakingLongTime, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_SoftSandGirl::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2017-12-28 09:09:11 +01:00
|
|
|
special GetPlayerBigGuyGirlString
|
2019-10-26 18:16:04 +02:00
|
|
|
goto_if_set FLAG_RECEIVED_SOFT_SAND, Route109_EventScript_AlreadyReceivedSoftSand
|
|
|
|
msgbox Route109_Text_YouCanHaveThis, MSGBOX_DEFAULT
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_SOFT_SAND
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2019-02-23 01:52:11 +01:00
|
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_SOFT_SAND
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_AlreadyReceivedSoftSand::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_WereGoingToMakeBigCastle, MSGBOX_DEFAULT
|
2019-02-23 02:09:14 +01:00
|
|
|
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Woman::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_LittleKidsDartAround, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_OldMan::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_ZigzagoonPicksUpLitter, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Zigzagoon::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_ZIGZAGOON, 0
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_ZigzagoonCry, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmoncry
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_SeashoreHouseSign::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_SeashoreHouseSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_TrainerTipsSign::
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_TrainerTipsSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_David::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_DAVID, Route109_Text_DavidIntro, Route109_Text_DavidDefeated
|
|
|
|
msgbox Route109_Text_DavidPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Alice::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_ALICE, Route109_Text_AliceIntro, Route109_Text_AliceDefeated
|
|
|
|
msgbox Route109_Text_AlicePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Huey::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_HUEY, Route109_Text_HueyIntro, Route109_Text_HueyDefeated
|
|
|
|
msgbox Route109_Text_HueyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Edmond::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_EDMOND, Route109_Text_EdmondIntro, Route109_Text_EdmondDefeated
|
|
|
|
msgbox Route109_Text_EdmondPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Ricky::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_RICKY_1, Route109_Text_RickyIntro, Route109_Text_RickyDefeated, Route109_EventScript_RickyRegisterMatchCallAfterBattle
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-10-26 18:16:04 +02:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route109_EventScript_RickyRematch
|
|
|
|
msgbox Route109_Text_RickyPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_RickyRegisterMatchCallAfterBattle::
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_RickyRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_RICKY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_RickyRematch::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_rematch TRAINER_RICKY_1, Route109_Text_RickyRematchIntro, Route109_Text_RickyRematchDefeated
|
|
|
|
msgbox Route109_Text_RickyRematchPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Lola::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_LOLA_1, Route109_Text_LolaIntro, Route109_Text_LolaDefeated, Route109_EventScript_LolaRegisterMatchCallAfterBattle
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-10-26 18:16:04 +02:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route109_EventScript_LolaRematch
|
|
|
|
msgbox Route109_Text_LolaPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_LolaRegisterMatchCallAfterBattle::
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-26 18:16:04 +02:00
|
|
|
msgbox Route109_Text_LolaRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_LOLA_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_LolaRematch::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_rematch TRAINER_LOLA_1, Route109_Text_LolaRematchIntro, Route109_Text_LolaRematchDefeated
|
|
|
|
msgbox Route109_Text_LolaRematchPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Austina::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_AUSTINA, Route109_Text_AustinaIntro, Route109_Text_AustinaDefeated
|
|
|
|
msgbox Route109_Text_AustinaPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Gwen::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_GWEN, Route109_Text_GwenIntro, Route109_Text_GwenDefeated
|
|
|
|
msgbox Route109_Text_GwenPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Carter::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_CARTER, Route109_Text_CarterIntro, Route109_Text_CarterDefeated
|
|
|
|
msgbox Route109_Text_CarterPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Paul::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_double TRAINER_MEL_AND_PAUL, Route109_Text_PaulIntro, Route109_Text_PaulDefeated, Route109_Text_PaulNotEnoughPokemon
|
|
|
|
msgbox Route109_Text_PaulPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Mel::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_double TRAINER_MEL_AND_PAUL, Route109_Text_MelIntro, Route109_Text_MelDefeated, Route109_Text_MelNotEnoughPokemon
|
|
|
|
msgbox Route109_Text_MelPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Chandler::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_CHANDLER, Route109_Text_ChandlerIntro, Route109_Text_ChandlerDefeated
|
|
|
|
msgbox Route109_Text_ChandlerPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Hailey::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_HAILEY, Route109_Text_HaileyIntro, Route109_Text_HaileyDefeated
|
|
|
|
msgbox Route109_Text_HaileyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_EventScript_Elijah::
|
2019-10-26 18:16:04 +02:00
|
|
|
trainerbattle_single TRAINER_ELIJAH, Route109_Text_ElijahIntro, Route109_Text_ElijahDefeated
|
|
|
|
msgbox Route109_Text_ElijahPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DewfordTown_Text_BrineyLandedInSlateportDeliverGoods:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "MR. BRINEY: Ahoy!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "We've made land in SLATEPORT!\p"
|
|
|
|
.string "I suppose you're going to visit CAPT.\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "STERN and deliver the DEVON GOODS?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_BrineySailToDewfordQuestion:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "MR. BRINEY: I thought you're supposed\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "to deliver the DEVON GOODS.\p"
|
|
|
|
.string "Would you like to sail back to\n"
|
|
|
|
.string "DEWFORD, then?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_BrineyDewfordItIs:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "MR. BRINEY: DEWFORD it is, then!\p"
|
|
|
|
.string "Anchors aweigh!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "PEEKO, we're setting sail, my darling!$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_BrineyDeliverDevonGoods:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "MR. BRINEY: Then you go on and deliver\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "the DEVON GOODS. I'll be waiting.$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
DewfordTown_Text_BrineyLandedInSlateport:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "MR. BRINEY: Ahoy! We've made land in\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "SLATEPORT!\p"
|
|
|
|
.string "You just go on and tell me whenever\n"
|
|
|
|
.string "you want to set sail again!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_BrineyWhereAreWeBound:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "MR. BRINEY: Ahoy!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "For you, I'll go out to sea anytime!\p"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Now, my friend, where are we bound?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_BrineyTellMeWhenYouNeedToSail:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "MR. BRINEY: You just tell me whenever\n"
|
|
|
|
.string "you need to set sail again!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_ChillAtMyPapasSpot:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Yo, TRAINERS!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Whether you're hot to trot,\l"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "or cool cat not,\l"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "chill at my papa's spot!$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_LittleKidsDartAround:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Little kids can dart around so quickly…\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You don't dare take your eyes off them\n"
|
|
|
|
.string "for an instant. It's very taxing.\p"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "Mine are with my POKéMON, so they\n"
|
|
|
|
.string "should be okay, but…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_SandCastleTakingLongTime:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Our sand castle's taking a long time\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "to make.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_YouCanHaveThis:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "You can have this!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_WereGoingToMakeBigCastle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "We're going to get all the sand from\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "the beach and make a big castle!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "And then we're going to be a king and\n"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "queen.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "We'll let you be a servant.$"
|
2017-11-10 08:36:41 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_ZigzagoonPicksUpLitter:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "The water around these parts is clean.\p"
|
|
|
|
.string "But, I get my ZIGZAGOON to pick up\n"
|
|
|
|
.string "litter from the shoreline at times.\p"
|
|
|
|
.string "Dirty water becomes rain and joins our\n"
|
|
|
|
.string "rivers, which we drink from…\p"
|
|
|
|
.string "If we pollute the sea, it all comes\n"
|
|
|
|
.string "back to haunt us eventually.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_ZigzagoonCry:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "ZIGZAGOON: Guguu?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_SeashoreHouseSign:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "SEASHORE HOUSE\p"
|
|
|
|
.string "“May hot battles rage on hot sands!\n"
|
|
|
|
.string "The place for hot TRAINERS!”$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route109_Text_TrainerTipsSign:
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "TRAINER TIPS\p"
|
|
|
|
.string "POKéMON at the same level may not\n"
|
|
|
|
.string "always have identical stats.\p"
|
|
|
|
.string "POKéMON raised by TRAINERS are said\n"
|
|
|
|
.string "to grow stronger than wild POKéMON.$"
|