pokeemmo/data/maps/Route101/scripts.inc
RoamerX efa431b585 汉化文本官译化
统一替换“背包”为包包
将SKT之前的汉化文本调整为目前官方翻译的文本
2025-04-10 17:09:22 +08:00

284 lines
6.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.set LOCALID_BIRCH, 2
.set LOCALID_ZIGZAGOON, 4
Route101_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route101_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route101_OnFrame
.byte 0
Route101_OnTransition:
call ProfBirch_EventScript_UpdateLocation
end
Route101_OnFrame:
map_script_2 VAR_ROUTE101_STATE, 0, Route101_EventScript_HideMapNamePopup
.2byte 0
Route101_EventScript_HideMapNamePopup::
setflag FLAG_HIDE_MAP_NAME_POPUP
setvar VAR_ROUTE101_STATE, 1
end
Route101_EventScript_StartBirchRescue::
lockall
playbgm MUS_HELP, TRUE
msgbox Route101_Text_HelpMe, MSGBOX_DEFAULT
closemessage
setobjectxy LOCALID_BIRCH, 0, 15
setobjectxy LOCALID_ZIGZAGOON, 0, 16
applymovement OBJ_EVENT_ID_PLAYER, Route101_Movement_EnterScene
applymovement LOCALID_BIRCH, Route101_Movement_BirchRunAway1
applymovement LOCALID_ZIGZAGOON, Route101_Movement_ZigzagoonChase1
waitmovement 0
applymovement LOCALID_ZIGZAGOON, Route101_Movement_ZigzagoonChaseInCircles
applymovement LOCALID_BIRCH, Route101_Movement_BirchRunInCircles
waitmovement 0
applymovement LOCALID_BIRCH, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
applymovement LOCALID_ZIGZAGOON, Route101_Movement_ZigzagoonFaceBirch
applymovement LOCALID_BIRCH, Route101_Movement_BirchFaceZigzagoon
waitmovement 0
msgbox Route101_Text_PleaseHelp, MSGBOX_DEFAULT
closemessage
setvar VAR_ROUTE101_STATE, 2
releaseall
end
Route101_EventScript_PreventExitSouth::
lockall
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Route101_Movement_PreventExitSouth
waitmovement 0
releaseall
end
Route101_EventScript_PreventExitWest::
lockall
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Route101_Movement_PreventExitWest
waitmovement 0
releaseall
end
Route101_EventScript_PreventExitNorth::
lockall
msgbox Route101_Text_DontLeaveMe, MSGBOX_DEFAULT
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Route101_Movement_PreventExitNorth
waitmovement 0
releaseall
end
Route101_Movement_PreventExitSouth:
walk_up
step_end
Route101_Movement_PreventExitWest:
walk_right
step_end
Route101_Movement_PreventExitNorth:
walk_down
step_end
Route101_Movement_ZigzagoonChaseInCircles:
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
step_end
Route101_Movement_ZigzagoonChase1:
walk_fast_up
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_up
step_end
@ Leftover data? This command is unused.
step_end
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:
walk_fast_up
walk_fast_up
walk_fast_up
walk_fast_up
walk_in_place_faster_left
step_end
Route101_Movement_BirchRunInCircles:
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
step_end
Route101_Movement_BirchRunAway1:
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_up
walk_fast_up
step_end
@ Leftover data? This command is unused.
step_end
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:
walk_up
walk_up
step_end
Route101_Movement_Unused2:
walk_up
walk_left
walk_up
step_end
Route101_EventScript_Youngster::
msgbox Route101_Text_TakeTiredPokemonToPokeCenter, MSGBOX_NPC
end
Route101_EventScript_Boy::
msgbox Route101_Text_WildPokemonInTallGrass, MSGBOX_NPC
end
Route101_EventScript_RouteSign::
msgbox Route101_Text_RouteSign, MSGBOX_SIGN
end
Route101_EventScript_BirchsBag::
lock
faceplayer
setflag FLAG_SYS_POKEMON_GET
setflag FLAG_RESCUED_BIRCH
fadescreen FADE_TO_BLACK
removeobject LOCALID_ZIGZAGOON
setobjectxy OBJ_EVENT_ID_PLAYER, 6, 13
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
special ChooseStarter
waitstate
applymovement LOCALID_BIRCH, Route101_Movement_BirchApproachPlayer
waitmovement 0
msgbox Route101_Text_YouSavedMe, MSGBOX_DEFAULT
special HealPlayerParty
setflag FLAG_HIDE_ROUTE_101_BIRCH_ZIGZAGOON_BATTLE
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH
setflag FLAG_HIDE_ROUTE_101_BIRCH_STARTERS_BAG
setvar VAR_BIRCH_LAB_STATE, 2
setvar VAR_ROUTE101_STATE, 3
clearflag FLAG_HIDE_MAP_NAME_POPUP
checkplayergender
call_if_eq VAR_RESULT, MALE, Route101_EventScript_HideMayInBedroom
call_if_eq VAR_RESULT, FEMALE, Route101_EventScript_HideBrendanInBedroom
warp MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB, 6, 5
waitstate
release
end
Route101_EventScript_HideMayInBedroom::
setflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
return
Route101_EventScript_HideBrendanInBedroom::
setflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
return
Route101_Movement_BirchApproachPlayer:
walk_right
step_end
Route101_Text_HelpMe:
.string "救…救命!$"
Route101_Text_PleaseHelp:
.string "喂!那边那位!\n拜托!救救我!\p在我的包包里\n里面有精灵球!$"
Route101_Text_DontLeaveMe:
.string "你…你要去哪儿?!\n别这么丢下我!$"
Route101_Text_YouSavedMe:
.string "小田卷博士:呼…\p刚才我在草丛做调查的时候\n被野生宝可梦袭击了,\p是你救了我\n非常感谢!\p哦\p嗨你是{PLAYER}{KUN}\p这儿不是聊天的地方\n来我的宝可梦研究所吧?$"
Route101_Text_TakeTiredPokemonToPokeCenter:
.string "宝可梦累了的话,\n就要带它们去宝可梦中心。\p附近的古辰镇里\n就有个宝可梦中心。$"
Route101_Text_WildPokemonInTallGrass:
.string "在草丛中行走时野生宝可梦\n有可能跳出来袭击。\p如果想抓宝可梦的话\n就得去草丛里寻找。$"
Route101_Text_RouteSign:
.string "101号公路\n{UP_ARROW}古辰镇$"