2017-11-10 02:21:31 +01:00
|
|
|
Route101_MapScripts:: @ 81EBCBA
|
|
|
|
map_script 3, Route101_MapScript1_1EBCC5
|
|
|
|
map_script 2, Route101_MapScript2_1EBCCB
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
Route101_MapScript1_1EBCC5: @ 81EBCC5
|
|
|
|
call Route101_EventScript_2720AD
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_MapScript2_1EBCCB: @ 81EBCCB
|
|
|
|
map_script_2 VAR_0x4060, 0, Route101_EventScript_1EBCD5
|
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
Route101_EventScript_1EBCD5:: @ 81EBCD5
|
|
|
|
setflag FLAG_SPECIAL_FLAG_0x4000
|
|
|
|
setvar VAR_0x4060, 1
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBCDE:: @ 81EBCDE
|
|
|
|
lockall
|
2017-12-22 08:46:19 +01:00
|
|
|
playbgm MUS_EVENT0, 1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBE8F, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
setobjectxy 2, 0, 15
|
|
|
|
setobjectxy 4, 0, 16
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBDC2
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 2, Route101_Movement_1EBDE7
|
|
|
|
applymovement 4, Route101_Movement_1EBDB5
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 4, Route101_Movement_1EBD96
|
|
|
|
applymovement 2, Route101_Movement_1EBDC8
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 2, Route101_Movement_2725A8
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 4, Route101_Movement_1EBDBD
|
|
|
|
applymovement 2, Route101_Movement_1EBDEF
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBE9A, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
setvar VAR_0x4060, 2
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBD4E:: @ 81EBD4E
|
|
|
|
lockall
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD90
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBD64:: @ 81EBD64
|
|
|
|
lockall
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD92
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBD7A:: @ 81EBD7A
|
|
|
|
lockall
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD94
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
Route101_Movement_1EBD90: @ 81EBD90
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route101_Movement_1EBD92: @ 81EBD92
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route101_Movement_1EBD94: @ 81EBD94
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route101_Movement_1EBD96: @ 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
|
|
|
|
|
|
|
|
Route101_Movement_1EBDB5: @ 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
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
Route101_Movement_1EBDBC: @ 81EBDBC
|
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
Route101_Movement_1EBDBD: @ 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
|
|
|
|
|
|
|
|
Route101_Movement_1EBDC2: @ 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
|
|
|
|
|
|
|
|
Route101_Movement_1EBDC8: @ 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
|
|
|
|
|
|
|
|
Route101_Movement_1EBDE7: @ 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
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
Route101_Movement_1EBDEE: @ 81EBDEE
|
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
Route101_Movement_1EBDEF: @ 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
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
Route101_Movement_1EBDF4: @ 81EBDF4
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route101_Movement_1EBDF7: @ 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
|
|
|
|
|
|
|
Route101_EventScript_1EBDFB:: @ 81EBDFB
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBFDD, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBE04:: @ 81EBE04
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EC04A, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBE0D:: @ 81EBE0D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EC0C8, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route101_EventScript_1EBE16:: @ 81EBE16
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
setflag FLAG_SYS_POKEMON_GET
|
|
|
|
setflag FLAG_0x052
|
|
|
|
fadescreen 1
|
|
|
|
removeobject 4
|
|
|
|
setobjectxy 255, 6, 13
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_2725A4
|
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
|
|
|
|
applymovement 2, Route101_Movement_1EBE8D
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route101_Text_1EBF12, 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
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x4084, 2
|
|
|
|
setvar VAR_0x4060, 3
|
|
|
|
clearflag FLAG_SPECIAL_FLAG_0x4000
|
|
|
|
checkplayergender
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, Route101_EventScript_1EBE85
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, Route101_EventScript_1EBE89
|
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
|
|
|
|
|
|
|
|
Route101_EventScript_1EBE85:: @ 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
|
|
|
|
|
|
|
|
Route101_EventScript_1EBE89:: @ 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
|
|
|
|
|
|
|
|
Route101_Movement_1EBE8D: @ 81EBE8D
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route101_Text_1EBE8F: @ 81EBE8F
|
|
|
|
.string "H-help me!$"
|
|
|
|
|
|
|
|
Route101_Text_1EBE9A: @ 81EBE9A
|
|
|
|
.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
|
|
|
|
|
|
|
Route101_Text_1EBEDF: @ 81EBEDF
|
|
|
|
.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
|
|
|
|
|
|
|
Route101_Text_1EBF12: @ 81EBF12
|
|
|
|
.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?$"
|
|
|
|
|
|
|
|
Route101_Text_1EBFDD: @ 81EBFDD
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
Route101_Text_1EC04A: @ 81EC04A
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
Route101_Text_1EC0C8: @ 81EC0C8
|
|
|
|
.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
|
|
|
|