2017-11-10 02:21:31 +01:00
|
|
|
Route123_MapScripts:: @ 81F6147
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route123_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route123_OnTransition: @ 81F614D
|
2017-12-28 09:09:11 +01:00
|
|
|
special SetRoute123Weather
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_GigaDrainGirl:: @ 81F6151
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-12 17:07:43 +01:00
|
|
|
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_ReceivedGigaDrain
|
|
|
|
msgbox Route123_Text_LoveGrassMonsHaveAny, MSGBOX_DEFAULT
|
2017-12-28 09:09:11 +01:00
|
|
|
special IsGrassTypeInParty
|
2019-11-12 17:07:43 +01:00
|
|
|
compare VAR_RESULT, FALSE
|
|
|
|
goto_if_eq Route123_EventScript_NoGrassMons
|
|
|
|
msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
|
2020-01-11 18:02:58 +01:00
|
|
|
giveitem ITEM_TM19
|
2019-11-12 17:07:43 +01:00
|
|
|
compare VAR_RESULT, FALSE
|
2019-02-23 01:52:11 +01:00
|
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RECEIVED_TM19
|
2019-11-12 17:07:43 +01:00
|
|
|
msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_NoGrassMons:: @ 81F619E
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_ReceivedGigaDrain:: @ 81F61A0
|
|
|
|
msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RouteSign:: @ 81F61AA
|
|
|
|
msgbox Route123_Text_RouteSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RouteSignMtPyre:: @ 81F61B3
|
|
|
|
msgbox Route123_Text_RouteSignMtPyre, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_BerryMastersHouseSign:: @ 81F61BC
|
|
|
|
msgbox Route123_Text_BerryMastersHouse, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Wendy:: @ 81F61C5
|
|
|
|
trainerbattle_single TRAINER_WENDY, Route123_Text_WendyIntro, Route123_Text_WendyDefeat
|
|
|
|
msgbox Route123_Text_WendyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Braxton:: @ 81F61DC
|
|
|
|
trainerbattle_single TRAINER_BRAXTON, Route123_Text_BraxtonIntro, Route123_Text_BraxtonDefeat
|
|
|
|
msgbox Route123_Text_BraxtonPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Violet:: @ 81F61F3
|
|
|
|
trainerbattle_single TRAINER_VIOLET, Route123_Text_VioletIntro, Route123_Text_VioletDefeat
|
|
|
|
msgbox Route123_Text_VioletPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Cameron:: @ 81F620A
|
|
|
|
trainerbattle_single TRAINER_CAMERON_1, Route123_Text_CameronIntro, Route123_Text_CameronDefeat, Route123_EventScript_RegisterCameron
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 17:07:43 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route123_EventScript_RematchCameron
|
|
|
|
msgbox Route123_Text_CameronPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RegisterCameron:: @ 81F6236
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 17:07:43 +01:00
|
|
|
msgbox Route123_Text_CameronRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_CAMERON_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RematchCameron:: @ 81F6255
|
|
|
|
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_CameronRematchIntro, Route123_Text_CameronRematchDefeat
|
|
|
|
msgbox Route123_Text_CameronPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Jacki:: @ 81F626C
|
|
|
|
trainerbattle_single TRAINER_JACKI_1, Route123_Text_JackiIntro, Route123_Text_JackiDefeat, Route123_EventScript_RegisterJacki
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 17:07:43 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route123_EventScript_RematchJacki
|
|
|
|
msgbox Route123_Text_JackiPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RegisterJacki:: @ 81F6298
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 17:07:43 +01:00
|
|
|
msgbox Route123_Text_JackiRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_JACKI_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RematchJacki:: @ 81F62B7
|
|
|
|
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_JackiRematchIntro, Route123_Text_JackiRematchDefeat
|
|
|
|
msgbox Route123_Text_JackiPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Miu:: @ 81F62CE
|
|
|
|
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_MiuIntro, Route123_Text_MiuDefeat, Route123_Text_MiuNotEnoughMons
|
|
|
|
msgbox Route123_Text_MiuPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Yuki:: @ 81F62E9
|
|
|
|
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_YukiIntro, Route123_Text_YukiDefeat, Route123_Text_YukiNotEnoughMons
|
|
|
|
msgbox Route123_Text_YukiPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Kindra:: @ 81F6304
|
|
|
|
trainerbattle_single TRAINER_KINDRA, Route123_Text_KindraIntro, Route123_Text_KindraDefeat
|
|
|
|
msgbox Route123_Text_KindraPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Frederick:: @ 81F631B
|
|
|
|
trainerbattle_single TRAINER_FREDRICK, Route123_Text_FrederickIntro, Route123_Text_FrederickDefeat
|
|
|
|
msgbox Route123_Text_FrederickPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Alberto:: @ 81F6332
|
|
|
|
trainerbattle_single TRAINER_ALBERTO, Route123_Text_AlbertoIntro, Route123_Text_AlbertoDefeat
|
|
|
|
msgbox Route123_Text_AlbertoPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Ed:: @ 81F6349
|
|
|
|
trainerbattle_single TRAINER_ED, Route123_Text_EdIntro, Route123_Text_EdDefeat
|
|
|
|
msgbox Route123_Text_EdPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Kayley:: @ 81F6360
|
|
|
|
trainerbattle_single TRAINER_KAYLEY, Route123_Text_KayleyIntro, Route123_Text_KayleyDefeat
|
|
|
|
msgbox Route123_Text_KayleyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Jonas:: @ 81F6377
|
|
|
|
trainerbattle_single TRAINER_JONAS, Route123_Text_JonasIntro, Route123_Text_JonasDefeat
|
|
|
|
msgbox Route123_Text_JonasPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Jazmyn:: @ 81F638E
|
|
|
|
trainerbattle_single TRAINER_JAZMYN, Route123_Text_JazmynIntro, Route123_Text_JazmynDefeat
|
|
|
|
msgbox Route123_Text_JazmynPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Davis:: @ 81F63A5
|
|
|
|
trainerbattle_single TRAINER_DAVIS, Route123_Text_DavisIntro, Route123_Text_DavisDefeat
|
|
|
|
msgbox Route123_Text_DavisPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_Fernando:: @ 81F63BC
|
|
|
|
trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_FernandoIntro, Route123_Text_FernandoDefeat, Route123_EventScript_RegisterFernando
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 17:07:43 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route123_EventScript_RematchFernando
|
|
|
|
msgbox Route123_Text_FernandoPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RegisterFernando:: @ 81F63E8
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 17:07:43 +01:00
|
|
|
msgbox Route123_Text_FernandoRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_FERNANDO_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_EventScript_RematchFernando:: @ 81F6407
|
|
|
|
trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_FernandoRematchIntro, Route123_Text_FernandoRematchDefeat
|
|
|
|
msgbox Route123_Text_FernandoPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_LoveGrassMonsHaveAny: @ 81F641E
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I love GRASS-type POKéMON!\p"
|
|
|
|
.string "Do you have any GRASS-type POKéMON?$"
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_YouLikeGrassMonsTooHaveThis: @ 81F645D
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Oh?\p"
|
|
|
|
.string "You like GRASS-type POKéMON, too,\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "don't you?\p"
|
|
|
|
.string "I'm so happy, you can have this!\n"
|
|
|
|
.string "It's a token of our friendship.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_CheckTreesWithMyGrassMon: @ 81F64CF
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I check trees with my GRASS-type\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "POKéMON. I'm like a tree doctor.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_RouteSign: @ 81F6511
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{RIGHT_ARROW} ROUTE 123\n"
|
|
|
|
.string "{LEFT_ARROW} ROUTE 118$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_RouteSignMtPyre: @ 81F6529
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{UP_ARROW} MT. PYRE\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "“Forbidden to the faint of heart.”$"
|
|
|
|
|
2019-11-12 17:07:43 +01:00
|
|
|
Route123_Text_BerryMastersHouse: @ 81F6557
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "BERRY MASTER'S HOUSE$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|