2025-06-02 14:17:22 +08:00

45 lines
1.4 KiB
PHP
Raw Permalink 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.

Route110_SeasideCyclingRoadSouthEntrance_MapScripts::
.byte 0
Route110_SeasideCyclingRoadSouthEntrance_EventScript_Clerk::
lock
faceplayer
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_GoAllOutOnCyclingRoad, MSGBOX_DEFAULT
release
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_BikeCheck::
lockall
specialvar VAR_RESULT, GetPlayerAvatarBike
goto_if_eq VAR_RESULT, 0, Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike
setflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 1
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike::
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_PLAYER, Route110_SeasideCyclingRoadSouthEntrance_Movement_PushPlayerBackFromCounter
waitmovement 0
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_Movement_PushPlayerBackFromCounter:
walk_left
step_end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_ClearCyclingRoad::
lockall
clearflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 0
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_Text_GoAllOutOnCyclingRoad:
.string "在自行车道上,你可以全力以赴骑出\n你最快的速度,\p追风的感觉非常爽快\n但千万不要撞到人!$"
Route110_SeasideCyclingRoadSouthEntrance_Text_TooDangerousToWalk:
.string "对不起,自行车道上不能走路,\n太危险了。\p骑上自行车再回来吧。$"