2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_GRUNT_1, 1
|
|
|
|
.set LOCALID_GRUNT_2, 6
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_MapScripts::
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route112_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_OnTransition:
|
2018-12-25 18:02:41 +01:00
|
|
|
clearflag FLAG_FORCE_MIRAGE_TOWER_VISIBLE
|
2019-02-22 10:18:43 +01:00
|
|
|
setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_MagmaGrunts::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
|
|
|
delay 40
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_GRUNT_1, Common_Movement_WalkInPlaceFasterRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_LeaderGoingToAwakenThing, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT_1, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 40
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_GRUNT_2, Common_Movement_WalkInPlaceFasterLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_YeahWeNeedMeteorite, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT_2, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 40
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_GRUNT_1, Common_Movement_WalkInPlaceFasterRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_OhThatsWhyCrewWentToFallarbor, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT_1, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 40
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_GRUNT_2, Common_Movement_WalkInPlaceFasterLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_CantLetAnyonePassUntilTheyreBack, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_GRUNT_2, Common_Movement_FaceOriginalDirection
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_MtChimneyCableCarSign::
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_MtChimneyCableCarSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_MtChimneySign::
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_MtChimneySign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_RouteSignLavaridge::
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_RouteSignLavaridge, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Hiker::
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_NotEasyToGetBackToLavaridge, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Brice::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_BRICE, Route112_Text_BriceIntro, Route112_Text_BriceDefeat
|
|
|
|
msgbox Route112_Text_BricePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Trent::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_TRENT_1, Route112_Text_TrentIntro, Route112_Text_TrentDefeat, Route112_EventScript_RegisterTrent
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, TRUE, Route112_EventScript_RematchTrent
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_TrentPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_RegisterTrent::
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route112_Text_TrentRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_TRENT_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_RematchTrent::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_TrentRematchIntro, Route112_Text_TrentRematchDefeat
|
|
|
|
msgbox Route112_Text_TrentRematchPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Larry::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_LARRY, Route112_Text_LarryIntro, Route112_Text_LarryDefeat
|
|
|
|
msgbox Route112_Text_LarryPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Carol::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_CAROL, Route112_Text_CarolIntro, Route112_Text_CarolDefeat
|
|
|
|
msgbox Route112_Text_CarolPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Bryant::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_BRYANT, Route112_Text_BryantIntro, Route112_Text_BryantDefeat
|
|
|
|
msgbox Route112_Text_BryantPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_EventScript_Shayla::
|
2019-11-12 07:57:39 +01:00
|
|
|
trainerbattle_single TRAINER_SHAYLA, Route112_Text_ShaylaIntro, Route112_Text_ShaylaDefeat
|
|
|
|
msgbox Route112_Text_ShaylaPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_LeaderGoingToAwakenThing:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Hey, man, is our leader really going\n"
|
|
|
|
.string "to awaken that thing?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_YeahWeNeedMeteorite:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Sounds like it, yeah. But I heard\n"
|
|
|
|
.string "we need a METEORITE to do it.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_OhThatsWhyCrewWentToFallarbor:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Oh, I get it now. That's why the rest\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "of the crew went out to FALLARBOR.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_CantLetAnyonePassUntilTheyreBack:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "You got it. And until they come back,\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "we're not to let anyone pass, right.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_NotEasyToGetBackToLavaridge:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Eh, I'd like to get to MAUVILLE, but if\n"
|
|
|
|
.string "I went down these ledges, it'd be no\l"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "easy matter to get back to LAVARIDGE.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_MtChimneyCableCarSign:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "MT. CHIMNEY CABLE CAR\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "“A short walk {UP_ARROW} way!”$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_MtChimneySign:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "MT. CHIMNEY\p"
|
|
|
|
.string "“For LAVARIDGE TOWN or the summit,\n"
|
|
|
|
.string "please take the CABLE CAR.”$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route112_Text_RouteSignLavaridge:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "ROUTE 112\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{LEFT_ARROW} LAVARIDGE TOWN$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|