summaryrefslogtreecommitdiff
path: root/data/maps/Route101/scripts.inc
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2019-10-22 15:53:49 -0500
committerhuderlem <huderlem@gmail.com>2019-10-22 16:47:19 -0500
commit4fd848e6898f342ad7be274d3bf2f5604a59dfee (patch)
treee8ac8fe58e82a2d28c2b412564bfe6a444f5020b /data/maps/Route101/scripts.inc
parenta4d6ce417d11f7601c037f246cbcdc2f680d87ee (diff)
Document early route scripts
Diffstat (limited to 'data/maps/Route101/scripts.inc')
-rw-r--r--data/maps/Route101/scripts.inc112
1 files changed, 56 insertions, 56 deletions
diff --git a/data/maps/Route101/scripts.inc b/data/maps/Route101/scripts.inc
index 3b5b22b37..de28aa251 100644
--- a/data/maps/Route101/scripts.inc
+++ b/data/maps/Route101/scripts.inc
@@ -8,79 +8,79 @@ Route101_OnTransition: @ 81EBCC5
end
Route101_MapScript2_1EBCCB: @ 81EBCCB
- map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_1EBCD5
+ map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_HideMapNamePopup
.2byte 0
-Route101_EventScript_1EBCD5:: @ 81EBCD5
+Route101_EventScript_HideMapNamePopup:: @ 81EBCD5
setflag FLAG_HIDE_MAP_NAME_POPUP
setvar VAR_ROUTE101_STATE, 1
end
-Route101_EventScript_1EBCDE:: @ 81EBCDE
+Route101_EventScript_StartBirchRescue:: @ 81EBCDE
lockall
playbgm MUS_EVENT0, 1
- msgbox Route101_Text_1EBE8F, MSGBOX_DEFAULT
+ msgbox Route101_Text_HelpMe, MSGBOX_DEFAULT
closemessage
setobjectxy 2, 0, 15
setobjectxy 4, 0, 16
- applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBDC2
- applymovement 2, Route101_Movement_1EBDE7
- applymovement 4, Route101_Movement_1EBDB5
+ applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_EnterScene
+ applymovement 2, Route101_Movement_BirchRunAway1
+ applymovement 4, Route101_Movement_PoochyenaChase1
waitmovement 0
- applymovement 4, Route101_Movement_1EBD96
- applymovement 2, Route101_Movement_1EBDC8
+ applymovement 4, Route101_Movement_PoochyenaChaseInCircles
+ applymovement 2, Route101_Movement_BirchRunInCircles
waitmovement 0
applymovement 2, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
- applymovement 4, Route101_Movement_1EBDBD
- applymovement 2, Route101_Movement_1EBDEF
+ applymovement 4, Route101_Movement_PoochyenaFaceBirch
+ applymovement 2, Route101_Movement_BirchFacePoochyena
waitmovement 0
- msgbox Route101_Text_1EBE9A, MSGBOX_DEFAULT
+ msgbox Route101_Text_PleaseHelp, MSGBOX_DEFAULT
closemessage
setvar VAR_ROUTE101_STATE, 2
releaseall
end
-Route101_EventScript_1EBD4E:: @ 81EBD4E
+Route101_EventScript_PreventExitSouth:: @ 81EBD4E
lockall
- msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
+ msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD90
+ applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitSouth
waitmovement 0
releaseall
end
-Route101_EventScript_1EBD64:: @ 81EBD64
+Route101_EventScript_PreventExitWest:: @ 81EBD64
lockall
- msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
+ msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD92
+ applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitWest
waitmovement 0
releaseall
end
-Route101_EventScript_1EBD7A:: @ 81EBD7A
+Route101_EventScript_PreventExitNorth:: @ 81EBD7A
lockall
- msgbox Route101_Text_1EBEDF, MSGBOX_DEFAULT
+ msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
- applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_1EBD94
+ applymovement EVENT_OBJ_ID_PLAYER, Route101_Movement_PreventExitNorth
waitmovement 0
releaseall
end
-Route101_Movement_1EBD90: @ 81EBD90
+Route101_Movement_PreventExitSouth: @ 81EBD90
walk_up
step_end
-Route101_Movement_1EBD92: @ 81EBD92
+Route101_Movement_PreventExitWest: @ 81EBD92
walk_right
step_end
-Route101_Movement_1EBD94: @ 81EBD94
+Route101_Movement_PreventExitNorth: @ 81EBD94
walk_down
step_end
-Route101_Movement_1EBD96: @ 81EBD96
+Route101_Movement_PoochyenaChaseInCircles: @ 81EBD96
walk_fast_up
walk_fast_up
walk_fast_up
@@ -113,7 +113,7 @@ Route101_Movement_1EBD96: @ 81EBD96
walk_fast_left
step_end
-Route101_Movement_1EBDB5: @ 81EBDB5
+Route101_Movement_PoochyenaChase1: @ 81EBDB5
walk_fast_up
walk_fast_right
walk_fast_right
@@ -122,17 +122,17 @@ Route101_Movement_1EBDB5: @ 81EBDB5
walk_fast_up
step_end
-Route101_Movement_1EBDBC: @ 81EBDBC
+@ Leftover data? This command is unused.
step_end
-Route101_Movement_1EBDBD: @ 81EBDBD
+Route101_Movement_PoochyenaFaceBirch: @ 81EBDBD
walk_in_place_fast_left
walk_in_place_fast_left
walk_in_place_fast_left
walk_in_place_fast_left
step_end
-Route101_Movement_1EBDC2: @ 81EBDC2
+Route101_Movement_EnterScene: @ 81EBDC2
walk_fast_up
walk_fast_up
walk_fast_up
@@ -140,7 +140,7 @@ Route101_Movement_1EBDC2: @ 81EBDC2
walk_in_place_fastest_left
step_end
-Route101_Movement_1EBDC8: @ 81EBDC8
+Route101_Movement_BirchRunInCircles: @ 81EBDC8
walk_fast_up
walk_fast_up
walk_fast_right
@@ -173,7 +173,7 @@ Route101_Movement_1EBDC8: @ 81EBDC8
walk_fast_left
step_end
-Route101_Movement_1EBDE7: @ 81EBDE7
+Route101_Movement_BirchRunAway1: @ 81EBDE7
walk_fast_right
walk_fast_right
walk_fast_right
@@ -182,40 +182,40 @@ Route101_Movement_1EBDE7: @ 81EBDE7
walk_fast_up
step_end
-Route101_Movement_1EBDEE: @ 81EBDEE
+@ Leftover data? This command is unused.
step_end
-Route101_Movement_1EBDEF: @ 81EBDEF
+Route101_Movement_BirchFacePoochyena: @ 81EBDEF
walk_in_place_fast_right
walk_in_place_fast_right
walk_in_place_fast_right
walk_in_place_fast_right
step_end
-Route101_Movement_1EBDF4: @ 81EBDF4
+Route101_Movement_Unused1: @ 81EBDF4
walk_up
walk_up
step_end
-Route101_Movement_1EBDF7: @ 81EBDF7
+Route101_Movement_Unused2: @ 81EBDF7
walk_up
walk_left
walk_up
step_end
-Route101_EventScript_1EBDFB:: @ 81EBDFB
- msgbox Route101_Text_1EBFDD, MSGBOX_NPC
+Route101_EventScript_Youngster:: @ 81EBDFB
+ msgbox Route101_Text_TakeTiredPokemonToPokeCenter, MSGBOX_NPC
end
-Route101_EventScript_1EBE04:: @ 81EBE04
- msgbox Route101_Text_1EC04A, MSGBOX_NPC
+Route101_EventScript_Boy:: @ 81EBE04
+ msgbox Route101_Text_WildPokemonInTallGrass, MSGBOX_NPC
end
-Route101_EventScript_1EBE0D:: @ 81EBE0D
- msgbox Route101_Text_1EC0C8, MSGBOX_SIGN
+Route101_EventScript_RouteSign:: @ 81EBE0D
+ msgbox Route101_Text_RouteSign, MSGBOX_SIGN
end
-Route101_EventScript_1EBE16:: @ 81EBE16
+Route101_EventScript_BirchsBag:: @ 81EBE16
lock
faceplayer
setflag FLAG_SYS_POKEMON_GET
@@ -227,9 +227,9 @@ Route101_EventScript_1EBE16:: @ 81EBE16
waitmovement 0
special ChooseStarter
waitstate
- applymovement 2, Route101_Movement_1EBE8D
+ applymovement 2, Route101_Movement_BirchApproachPlayer
waitmovement 0
- msgbox Route101_Text_1EBF12, MSGBOX_DEFAULT
+ msgbox Route101_Text_YouSavedMe, MSGBOX_DEFAULT
special HealPlayerParty
setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH
@@ -239,40 +239,40 @@ Route101_EventScript_1EBE16:: @ 81EBE16
clearflag FLAG_HIDE_MAP_NAME_POPUP
checkplayergender
compare VAR_RESULT, MALE
- call_if_eq Route101_EventScript_1EBE85
+ call_if_eq Route101_EventScript_HideMayInBedroom
compare VAR_RESULT, FEMALE
- call_if_eq Route101_EventScript_1EBE89
+ call_if_eq Route101_EventScript_HideBrendanInBedroom
warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 255, 6, 5
waitstate
release
end
-Route101_EventScript_1EBE85:: @ 81EBE85
+Route101_EventScript_HideMayInBedroom:: @ 81EBE85
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
return
-Route101_EventScript_1EBE89:: @ 81EBE89
+Route101_EventScript_HideBrendanInBedroom:: @ 81EBE89
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
return
-Route101_Movement_1EBE8D: @ 81EBE8D
+Route101_Movement_BirchApproachPlayer: @ 81EBE8D
walk_right
step_end
-Route101_Text_1EBE8F: @ 81EBE8F
+Route101_Text_HelpMe: @ 81EBE8F
.string "H-help me!$"
-Route101_Text_1EBE9A: @ 81EBE9A
+Route101_Text_PleaseHelp: @ 81EBE9A
.string "Hello! You over there!\n"
.string "Please! Help!\p"
.string "In my BAG!\n"
.string "There's a POKé BALL!$"
-Route101_Text_1EBEDF: @ 81EBEDF
+Route101_Text_DontLeaveMe: @ 81EBEDF
.string "Wh-Where are you going?!\n"
.string "Don't leave me like this!$"
-Route101_Text_1EBF12: @ 81EBF12
+Route101_Text_YouSavedMe: @ 81EBF12
.string "PROF. BIRCH: Whew…\p"
.string "I was in the tall grass studying wild\n"
.string "POKéMON when I was jumped.\p"
@@ -283,19 +283,19 @@ Route101_Text_1EBF12: @ 81EBF12
.string "This is not the place to chat, so come\n"
.string "by my POKéMON LAB later, okay?$"
-Route101_Text_1EBFDD: @ 81EBFDD
+Route101_Text_TakeTiredPokemonToPokeCenter: @ 81EBFDD
.string "If POKéMON get tired, take them to\n"
.string "a POKéMON CENTER.\p"
.string "There's a POKéMON CENTER in OLDALE\n"
.string "TOWN right close by.$"
-Route101_Text_1EC04A: @ 81EC04A
+Route101_Text_WildPokemonInTallGrass: @ 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
+Route101_Text_RouteSign: @ 81EC0C8
.string "ROUTE 101\n"
.string "{UP_ARROW} OLDALE TOWN$"