diff options
Diffstat (limited to 'data/maps/Route101/scripts.inc')
-rw-r--r-- | data/maps/Route101/scripts.inc | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/data/maps/Route101/scripts.inc b/data/maps/Route101/scripts.inc index b93226147..d83c8213b 100644 --- a/data/maps/Route101/scripts.inc +++ b/data/maps/Route101/scripts.inc @@ -1,25 +1,25 @@ .set LOCALID_BIRCH, 2 .set LOCALID_ZIGZAGOON, 4 -Route101_MapScripts:: @ 81EBCBA +Route101_MapScripts:: map_script MAP_SCRIPT_ON_TRANSITION, Route101_OnTransition map_script MAP_SCRIPT_ON_FRAME_TABLE, Route101_OnFrame .byte 0 -Route101_OnTransition: @ 81EBCC5 +Route101_OnTransition: call ProfBirch_EventScript_UpdateLocation end -Route101_OnFrame: @ 81EBCCB +Route101_OnFrame: map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_HideMapNamePopup .2byte 0 -Route101_EventScript_HideMapNamePopup:: @ 81EBCD5 +Route101_EventScript_HideMapNamePopup:: setflag FLAG_HIDE_MAP_NAME_POPUP setvar VAR_ROUTE101_STATE, 1 end -Route101_EventScript_StartBirchRescue:: @ 81EBCDE +Route101_EventScript_StartBirchRescue:: lockall playbgm MUS_HELP, TRUE msgbox Route101_Text_HelpMe, MSGBOX_DEFAULT @@ -44,7 +44,7 @@ Route101_EventScript_StartBirchRescue:: @ 81EBCDE releaseall end -Route101_EventScript_PreventExitSouth:: @ 81EBD4E +Route101_EventScript_PreventExitSouth:: lockall msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT closemessage @@ -53,7 +53,7 @@ Route101_EventScript_PreventExitSouth:: @ 81EBD4E releaseall end -Route101_EventScript_PreventExitWest:: @ 81EBD64 +Route101_EventScript_PreventExitWest:: lockall msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT closemessage @@ -62,7 +62,7 @@ Route101_EventScript_PreventExitWest:: @ 81EBD64 releaseall end -Route101_EventScript_PreventExitNorth:: @ 81EBD7A +Route101_EventScript_PreventExitNorth:: lockall msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT closemessage @@ -71,19 +71,19 @@ Route101_EventScript_PreventExitNorth:: @ 81EBD7A releaseall end -Route101_Movement_PreventExitSouth: @ 81EBD90 +Route101_Movement_PreventExitSouth: walk_up step_end -Route101_Movement_PreventExitWest: @ 81EBD92 +Route101_Movement_PreventExitWest: walk_right step_end -Route101_Movement_PreventExitNorth: @ 81EBD94 +Route101_Movement_PreventExitNorth: walk_down step_end -Route101_Movement_ZigzagoonChaseInCircles: @ 81EBD96 +Route101_Movement_ZigzagoonChaseInCircles: walk_fast_up walk_fast_up walk_fast_up @@ -116,7 +116,7 @@ Route101_Movement_ZigzagoonChaseInCircles: @ 81EBD96 walk_fast_left step_end -Route101_Movement_ZigzagoonChase1: @ 81EBDB5 +Route101_Movement_ZigzagoonChase1: walk_fast_up walk_fast_right walk_fast_right @@ -128,14 +128,14 @@ Route101_Movement_ZigzagoonChase1: @ 81EBDB5 @ Leftover data? This command is unused. step_end -Route101_Movement_ZigzagoonFaceBirch: @ 81EBDBD +Route101_Movement_ZigzagoonFaceBirch: walk_in_place_fast_left walk_in_place_fast_left walk_in_place_fast_left walk_in_place_fast_left step_end -Route101_Movement_EnterScene: @ 81EBDC2 +Route101_Movement_EnterScene: walk_fast_up walk_fast_up walk_fast_up @@ -143,7 +143,7 @@ Route101_Movement_EnterScene: @ 81EBDC2 walk_in_place_fastest_left step_end -Route101_Movement_BirchRunInCircles: @ 81EBDC8 +Route101_Movement_BirchRunInCircles: walk_fast_up walk_fast_up walk_fast_right @@ -176,7 +176,7 @@ Route101_Movement_BirchRunInCircles: @ 81EBDC8 walk_fast_left step_end -Route101_Movement_BirchRunAway1: @ 81EBDE7 +Route101_Movement_BirchRunAway1: walk_fast_right walk_fast_right walk_fast_right @@ -188,37 +188,37 @@ Route101_Movement_BirchRunAway1: @ 81EBDE7 @ Leftover data? This command is unused. step_end -Route101_Movement_BirchFaceZigzagoon: @ 81EBDEF +Route101_Movement_BirchFaceZigzagoon: walk_in_place_fast_right walk_in_place_fast_right walk_in_place_fast_right walk_in_place_fast_right step_end -Route101_Movement_Unused1: @ 81EBDF4 +Route101_Movement_Unused1: walk_up walk_up step_end -Route101_Movement_Unused2: @ 81EBDF7 +Route101_Movement_Unused2: walk_up walk_left walk_up step_end -Route101_EventScript_Youngster:: @ 81EBDFB +Route101_EventScript_Youngster:: msgbox Route101_Text_TakeTiredPokemonToPokeCenter, MSGBOX_NPC end -Route101_EventScript_Boy:: @ 81EBE04 +Route101_EventScript_Boy:: msgbox Route101_Text_WildPokemonInTallGrass, MSGBOX_NPC end -Route101_EventScript_RouteSign:: @ 81EBE0D +Route101_EventScript_RouteSign:: msgbox Route101_Text_RouteSign, MSGBOX_SIGN end -Route101_EventScript_BirchsBag:: @ 81EBE16 +Route101_EventScript_BirchsBag:: lock faceplayer setflag FLAG_SYS_POKEMON_GET @@ -250,32 +250,32 @@ Route101_EventScript_BirchsBag:: @ 81EBE16 release end -Route101_EventScript_HideMayInBedroom:: @ 81EBE85 +Route101_EventScript_HideMayInBedroom:: setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM return -Route101_EventScript_HideBrendanInBedroom:: @ 81EBE89 +Route101_EventScript_HideBrendanInBedroom:: setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM return -Route101_Movement_BirchApproachPlayer: @ 81EBE8D +Route101_Movement_BirchApproachPlayer: walk_right step_end -Route101_Text_HelpMe: @ 81EBE8F +Route101_Text_HelpMe: .string "H-help me!$" -Route101_Text_PleaseHelp: @ 81EBE9A +Route101_Text_PleaseHelp: .string "Hello! You over there!\n" .string "Please! Help!\p" .string "In my BAG!\n" .string "There's a POKé BALL!$" -Route101_Text_DontLeaveMe: @ 81EBEDF +Route101_Text_DontLeaveMe: .string "Wh-Where are you going?!\n" .string "Don't leave me like this!$" -Route101_Text_YouSavedMe: @ 81EBF12 +Route101_Text_YouSavedMe: .string "PROF. BIRCH: Whew…\p" .string "I was in the tall grass studying wild\n" .string "POKéMON when I was jumped.\p" @@ -286,19 +286,19 @@ Route101_Text_YouSavedMe: @ 81EBF12 .string "This is not the place to chat, so come\n" .string "by my POKéMON LAB later, okay?$" -Route101_Text_TakeTiredPokemonToPokeCenter: @ 81EBFDD +Route101_Text_TakeTiredPokemonToPokeCenter: .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_WildPokemonInTallGrass: @ 81EC04A +Route101_Text_WildPokemonInTallGrass: .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_RouteSign: @ 81EC0C8 +Route101_Text_RouteSign: .string "ROUTE 101\n" .string "{UP_ARROW} OLDALE TOWN$" |