pokeemmo/data/maps/Route105/scripts.inc
RoamerX 5fc2213e1c 遗漏的换行文本溢出情况修复
Pokenav统一为宝可导航,全流程中仅兹伏奇初次介绍时使用
送神山码头文本错误翻译修复
城市名称统一补全为XX市/镇
哈奇老人相关的文本调整
海员统一修正为水手
标点符号重复使用修复
小遥错字修复
汉化优化
2025-04-24 18:14:06 +08:00

84 lines
3.5 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.

Route105_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, Route105_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, Route105_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route105_OnFrame
.byte 0
Route105_OnLoad:
call_if_unset FLAG_REGI_DOORS_OPENED, Route105_CloseRegiEntrance
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_NORTH, AbnormalWeather_EventScript_PlaceTilesRoute105North
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_SOUTH, AbnormalWeather_EventScript_PlaceTilesRoute105South
end
Route105_CloseRegiEntrance::
setmetatile 9, 19, METATILE_General_RockWall_RockBase, TRUE
setmetatile 9, 20, METATILE_General_RockWall_SandBase, TRUE
return
Route105_OnTransition:
call_if_eq VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_HideMapNamePopup
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_NORTH, AbnormalWeather_StartKyogreWeather
call_if_eq VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_SOUTH, AbnormalWeather_StartKyogreWeather
end
Route105_OnFrame:
map_script_2 VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_EndEventAndCleanup_1
.2byte 0
Route105_EventScript_Foster::
trainerbattle_single TRAINER_FOSTER, Route105_Text_FosterIntro, Route105_Text_FosterDefeated
msgbox Route105_Text_FosterPostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Luis::
trainerbattle_single TRAINER_LUIS, Route105_Text_LuisIntro, Route105_Text_LuisDefeated
msgbox Route105_Text_LuisPostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Dominik::
trainerbattle_single TRAINER_DOMINIK, Route105_Text_DominikIntro, Route105_Text_DominikDefeated
msgbox Route105_Text_DominikPostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Beverly::
trainerbattle_single TRAINER_BEVERLY, Route105_Text_BeverlyIntro, Route105_Text_BeverlyDefeated
msgbox Route105_Text_PostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Imani::
trainerbattle_single TRAINER_IMANI, Route105_Text_ImaniIntro, Route105_Text_ImaniDefeated
msgbox Route105_Text_ImaniPostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Josue::
trainerbattle_single TRAINER_JOSUE, Route105_Text_JosueIntro, Route105_Text_JosueDefeated
msgbox Route105_Text_JosuePostBattle, MSGBOX_AUTOCLOSE
end
Route105_EventScript_Andres::
trainerbattle_single TRAINER_ANDRES_1, Route105_Text_AndresIntro, Route105_Text_AndresDefeated, Route105_EventScript_AndresRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route105_EventScript_AndresRematch
msgbox Route105_Text_AndresPostBattle, MSGBOX_DEFAULT
release
end
Route105_EventScript_AndresRegisterMatchCallAfterBattle::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route105_Text_AndresRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANDRES_1
release
end
Route105_EventScript_AndresRematch::
trainerbattle_rematch TRAINER_ANDRES_1, Route105_Text_AndresRematchIntro, Route105_Text_AndresRematchDefeated
msgbox Route105_Text_AndresRematchPostBattle, MSGBOX_AUTOCLOSE
end
Route104_Text_DadPokenavCall:
.string "…… …… ……\n…… …… ……哔!\p爸爸{PLAYER}\p…… …… ……\n你现在在哪儿?\l听上去那儿刮着大风是吧\p我刚刚从得文的兹伏奇那儿\n听说了你的宝可导航的事,\l所以我打算给你打个电话。\p似乎你干得不错\n我也很高兴。\p一路小心。\p…… …… ……\n…… …… …… 咔哒!$"
Route104_Text_RegisteredDadInPokenav:
.string "把爸爸千里的信息\n登记到宝可导航里。$"