2017-11-10 02:21:31 +01:00
|
|
|
Route101_MapScripts:: @ 81EBCBA
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route101_OnTransition
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route101_MapScript2_1EBCCB
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route101_OnTransition: @ 81EBCC5
|
2019-10-07 07:13:34 +02:00
|
|
|
call ProfBirch_EventScript_UpdateLocation
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route101_MapScript2_1EBCCB: @ 81EBCCB
|
2019-10-22 22:53:49 +02:00
|
|
|
map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_HideMapNamePopup
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_HideMapNamePopup:: @ 81EBCD5
|
2019-03-10 13:10:59 +01:00
|
|
|
setflag FLAG_HIDE_MAP_NAME_POPUP
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_ROUTE101_STATE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_StartBirchRescue:: @ 81EBCDE
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2017-12-22 08:46:19 +01:00
|
|
|
playbgm MUS_EVENT0, 1
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_HelpMe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
setobjectxy 2, 0, 15
|
|
|
|
setobjectxy 4, 0, 16
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_EnterScene
|
|
|
|
applymovement 2, Route101_Movement_BirchRunAway1
|
|
|
|
applymovement 4, Route101_Movement_PoochyenaChase1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement 4, Route101_Movement_PoochyenaChaseInCircles
|
|
|
|
applymovement 2, Route101_Movement_BirchRunInCircles
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement 2, Common_Movement_WalkInPlaceFastestRight
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement 4, Route101_Movement_PoochyenaFaceBirch
|
|
|
|
applymovement 2, Route101_Movement_BirchFacePoochyena
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_PleaseHelp, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_ROUTE101_STATE, 2
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_PreventExitSouth:: @ 81EBD4E
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitSouth
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_PreventExitWest:: @ 81EBD64
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitWest
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_PreventExitNorth:: @ 81EBD7A
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitNorth
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PreventExitSouth: @ 81EBD90
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PreventExitWest: @ 81EBD92
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PreventExitNorth: @ 81EBD94
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PoochyenaChaseInCircles: @ 81EBD96
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PoochyenaChase1: @ 81EBDB5
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
@ Leftover data? This command is unused.
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_PoochyenaFaceBirch: @ 81EBDBD
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fast_left
|
|
|
|
walk_in_place_fast_left
|
|
|
|
walk_in_place_fast_left
|
|
|
|
walk_in_place_fast_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_EnterScene: @ 81EBDC2
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_BirchRunInCircles: @ 81EBDC8
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_down
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
|
|
|
walk_fast_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_BirchRunAway1: @ 81EBDE7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_right
|
|
|
|
walk_fast_up
|
|
|
|
walk_fast_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
@ Leftover data? This command is unused.
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_BirchFacePoochyena: @ 81EBDEF
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_in_place_fast_right
|
|
|
|
walk_in_place_fast_right
|
|
|
|
walk_in_place_fast_right
|
|
|
|
walk_in_place_fast_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_Unused1: @ 81EBDF4
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_Unused2: @ 81EBDF7
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_left
|
|
|
|
walk_up
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_Youngster:: @ 81EBDFB
|
|
|
|
msgbox Route101_Text_TakeTiredPokemonToPokeCenter, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_Boy:: @ 81EBE04
|
|
|
|
msgbox Route101_Text_WildPokemonInTallGrass, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_RouteSign:: @ 81EBE0D
|
|
|
|
msgbox Route101_Text_RouteSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_BirchsBag:: @ 81EBE16
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
setflag FLAG_SYS_POKEMON_GET
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RESCUED_BIRCH
|
2017-11-10 02:21:31 +01:00
|
|
|
fadescreen 1
|
|
|
|
removeobject 4
|
2018-12-24 22:31:24 +01:00
|
|
|
setobjectxy EVENT_OBJ_ID_PLAYER, 6, 13
|
2019-10-06 19:55:30 +02:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2017-11-29 19:54:15 +01:00
|
|
|
special ChooseStarter
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
2019-10-22 22:53:49 +02:00
|
|
|
applymovement 2, Route101_Movement_BirchApproachPlayer
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-10-22 22:53:49 +02:00
|
|
|
msgbox Route101_Text_YouSavedMe, MSGBOX_DEFAULT
|
2017-12-16 00:08:23 +01:00
|
|
|
special HealPlayerParty
|
2018-10-19 19:04:47 +02:00
|
|
|
setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
|
2018-10-18 21:28:59 +02:00
|
|
|
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH
|
2018-10-19 19:04:47 +02:00
|
|
|
setflag FLAG_HIDE_ROUTE_101_BIRCH_STARTERS_BAG
|
2019-02-22 10:01:38 +01:00
|
|
|
setvar VAR_BIRCH_LAB_STATE, 2
|
|
|
|
setvar VAR_ROUTE101_STATE, 3
|
2019-03-10 13:10:59 +01:00
|
|
|
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
2017-11-10 02:21:31 +01:00
|
|
|
checkplayergender
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, MALE
|
2019-10-22 22:53:49 +02:00
|
|
|
call_if_eq Route101_EventScript_HideMayInBedroom
|
2018-12-25 03:22:56 +01:00
|
|
|
compare VAR_RESULT, FEMALE
|
2019-10-22 22:53:49 +02:00
|
|
|
call_if_eq Route101_EventScript_HideBrendanInBedroom
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 255, 6, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_HideMayInBedroom:: @ 81EBE85
|
2018-10-18 21:28:59 +02:00
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_EventScript_HideBrendanInBedroom:: @ 81EBE89
|
2018-10-18 21:28:59 +02:00
|
|
|
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Movement_BirchApproachPlayer: @ 81EBE8D
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_HelpMe: @ 81EBE8F
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "H-help me!$"
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_PleaseHelp: @ 81EBE9A
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Hello! You over there!\n"
|
|
|
|
.string "Please! Help!\p"
|
|
|
|
.string "In my BAG!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "There's a POKé BALL!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_DontLeaveMe: @ 81EBEDF
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wh-Where are you going?!\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Don't leave me like this!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_YouSavedMe: @ 81EBF12
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "PROF. BIRCH: Whew…\p"
|
|
|
|
.string "I was in the tall grass studying wild\n"
|
|
|
|
.string "POKéMON when I was jumped.\p"
|
|
|
|
.string "You saved me.\n"
|
|
|
|
.string "Thanks a lot!\p"
|
|
|
|
.string "Oh?\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Hi, you're {PLAYER}{KUN}!\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "This is not the place to chat, so come\n"
|
|
|
|
.string "by my POKéMON LAB later, okay?$"
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_TakeTiredPokemonToPokeCenter: @ 81EBFDD
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "If POKéMON get tired, take them to\n"
|
|
|
|
.string "a POKéMON CENTER.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "There's a POKéMON CENTER in OLDALE\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "TOWN right close by.$"
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_WildPokemonInTallGrass: @ 81EC04A
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wild POKéMON will jump out at you in\n"
|
|
|
|
.string "tall grass.\p"
|
|
|
|
.string "If you want to catch POKéMON, you have\n"
|
|
|
|
.string "to go into the tall grass and search.$"
|
|
|
|
|
2019-10-22 22:53:49 +02:00
|
|
|
Route101_Text_RouteSign: @ 81EC0C8
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "ROUTE 101\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{UP_ARROW} OLDALE TOWN$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|