mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 20:17:38 +01:00
144 lines
4.5 KiB
PHP
144 lines
4.5 KiB
PHP
Route112_MapScripts:: @ 81F1DA8
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route112_OnTransition
|
|
.byte 0
|
|
|
|
Route112_OnTransition: @ 81F1DAE
|
|
clearflag FLAG_FORCE_MIRAGE_TOWER_VISIBLE
|
|
setvar VAR_JAGGED_PASS_ASH_WEATHER, 0
|
|
end
|
|
|
|
Route112_EventScript_MagmaGrunts:: @ 81F1DB7
|
|
lockall
|
|
delay 40
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
|
waitmovement 0
|
|
delay 20
|
|
msgbox Route112_Text_LeaderGoingToAwakenThing, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement 1, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
delay 40
|
|
applymovement 6, Common_Movement_WalkInPlaceFastestLeft
|
|
waitmovement 0
|
|
delay 20
|
|
msgbox Route112_Text_YeahWeNeedMeteorite, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement 6, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
delay 40
|
|
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
|
waitmovement 0
|
|
delay 20
|
|
msgbox Route112_Text_OhThatsWhyCrewWentToFallarbor, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement 1, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
delay 40
|
|
applymovement 6, Common_Movement_WalkInPlaceFastestLeft
|
|
waitmovement 0
|
|
delay 20
|
|
msgbox Route112_Text_CantLetAnyonePassUntilTheyreBack, MSGBOX_DEFAULT
|
|
closemessage
|
|
applymovement 6, Common_Movement_FaceOriginalDirection
|
|
waitmovement 0
|
|
releaseall
|
|
end
|
|
|
|
Route112_EventScript_MtChimneyCableCarSign:: @ 81F1E46
|
|
msgbox Route112_Text_MtChimneyCableCarSign, MSGBOX_SIGN
|
|
end
|
|
|
|
Route112_EventScript_MtChimneySign:: @ 81F1E4F
|
|
msgbox Route112_Text_MtChimneySign, MSGBOX_SIGN
|
|
end
|
|
|
|
Route112_EventScript_RouteSignLavaridge:: @ 81F1E58
|
|
msgbox Route112_Text_RouteSignLavaridge, MSGBOX_SIGN
|
|
end
|
|
|
|
Route112_EventScript_Hiker:: @ 81F1E61
|
|
msgbox Route112_Text_NotEasyToGetBackToLavaridge, MSGBOX_NPC
|
|
end
|
|
|
|
Route112_EventScript_Brice:: @ 81F1E6A
|
|
trainerbattle_single TRAINER_BRICE, Route112_Text_BriceIntro, Route112_Text_BriceDefeat
|
|
msgbox Route112_Text_BricePostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_EventScript_Trent:: @ 81F1E81
|
|
trainerbattle_single TRAINER_TRENT_1, Route112_Text_TrentIntro, Route112_Text_TrentDefeat, Route112_EventScript_RegisterTrent
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq Route112_EventScript_RematchTrent
|
|
msgbox Route112_Text_TrentPostBattle, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
Route112_EventScript_RegisterTrent:: @ 81F1EAD
|
|
special PlayerFaceTrainerAfterBattle
|
|
waitmovement 0
|
|
msgbox Route112_Text_TrentRegister, MSGBOX_DEFAULT
|
|
register_matchcall TRAINER_TRENT_1
|
|
release
|
|
end
|
|
|
|
Route112_EventScript_RematchTrent:: @ 81F1ECC
|
|
trainerbattle_rematch TRAINER_TRENT_1, Route112_Text_TrentRematchIntro, Route112_Text_TrentRematchDefeat
|
|
msgbox Route112_Text_TrentRematchPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_EventScript_Larry:: @ 81F1EE3
|
|
trainerbattle_single TRAINER_LARRY, Route112_Text_LarryIntro, Route112_Text_LarryDefeat
|
|
msgbox Route112_Text_LarryPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_EventScript_Carol:: @ 81F1EFA
|
|
trainerbattle_single TRAINER_CAROL, Route112_Text_CarolIntro, Route112_Text_CarolDefeat
|
|
msgbox Route112_Text_CarolPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_EventScript_Bryant:: @ 81F1F11
|
|
trainerbattle_single TRAINER_BRYANT, Route112_Text_BryantIntro, Route112_Text_BryantDefeat
|
|
msgbox Route112_Text_BryantPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_EventScript_Shayla:: @ 81F1F28
|
|
trainerbattle_single TRAINER_SHAYLA, Route112_Text_ShaylaIntro, Route112_Text_ShaylaDefeat
|
|
msgbox Route112_Text_ShaylaPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route112_Text_LeaderGoingToAwakenThing: @ 81F1F3F
|
|
.string "Hey, man, is our leader really going\n"
|
|
.string "to awaken that thing?$"
|
|
|
|
Route112_Text_YeahWeNeedMeteorite: @ 81F1F7A
|
|
.string "Sounds like it, yeah. But I heard\n"
|
|
.string "we need a METEORITE to do it.$"
|
|
|
|
Route112_Text_OhThatsWhyCrewWentToFallarbor: @ 81F1FBA
|
|
.string "Oh, I get it now. That's why the rest\n"
|
|
.string "of the crew went out to FALLARBOR.$"
|
|
|
|
Route112_Text_CantLetAnyonePassUntilTheyreBack: @ 81F2003
|
|
.string "You got it. And until they come back,\n"
|
|
.string "we're not to let anyone pass, right.$"
|
|
|
|
Route112_Text_NotEasyToGetBackToLavaridge: @ 81F204E
|
|
.string "Eh, I'd like to get to MAUVILLE, but if\n"
|
|
.string "I went down these ledges, it'd be no\l"
|
|
.string "easy matter to get back to LAVARIDGE.$"
|
|
|
|
Route112_Text_MtChimneyCableCarSign: @ 81F20C1
|
|
.string "MT. CHIMNEY CABLE CAR\n"
|
|
.string "“A short walk {UP_ARROW} way!”$"
|
|
|
|
Route112_Text_MtChimneySign: @ 81F20ED
|
|
.string "MT. CHIMNEY\p"
|
|
.string "“For LAVARIDGE TOWN or the summit,\n"
|
|
.string "please take the CABLE CAR.”$"
|
|
|
|
Route112_Text_RouteSignLavaridge: @ 81F2138
|
|
.string "ROUTE 112\n"
|
|
.string "{LEFT_ARROW} LAVARIDGE TOWN$"
|
|
|