pokeemerald/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc

51 lines
1.6 KiB
PHP
Raw Normal View History

2018-06-21 00:42:01 +02:00
Route110_SeasideCyclingRoadNorthEntrance_MapScripts:: @ 826EA77
.byte 0
Route110_SeasideCyclingRoadNorthEntrance_EventScript_Clerk:: @ 826EA78
2018-06-21 00:42:01 +02:00
lock
faceplayer
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_GoAllOutOnCyclingRoad, MSGBOX_DEFAULT
2018-06-21 00:42:01 +02:00
release
end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_BikeCheck:: @ 826EA84
2018-06-21 00:42:01 +02:00
lockall
specialvar VAR_RESULT, GetPlayerAvatarBike
compare VAR_RESULT, 0
goto_if_eq Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike
2018-06-21 00:42:01 +02:00
setflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 1
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike:: @ 826EA9F
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT
2018-06-21 00:42:01 +02:00
closemessage
applymovement OBJ_EVENT_ID_PLAYER, Route110_SeasideCyclingRoadNorthEntrance_Movement_PushPlayerBackFromCounter
2018-06-21 00:42:01 +02:00
waitmovement 0
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_Movement_PushPlayerBackFromCounter: @ 826EAB4
2018-06-21 00:42:01 +02:00
walk_left
step_end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_ClearCyclingRoad:: @ 826EAB6
2018-06-21 00:42:01 +02:00
lockall
clearflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 0
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_Text_GoAllOutOnCyclingRoad: @ 826EAC1
2018-06-21 00:42:01 +02:00
.string "On CYCLING ROAD, you can go all out\n"
2018-12-07 16:41:08 +01:00
.string "and cycle as fast as you'd like.\p"
2018-06-21 00:42:01 +02:00
.string "It feels great to go that fast, but try\n"
.string "not to crash into anyone!$"
Route110_SeasideCyclingRoadNorthEntrance_Text_TooDangerousToWalk: @ 826EB48
2018-12-07 16:41:08 +01:00
.string "Sorry, you can't walk on CYCLING\n"
.string "ROAD. It's too dangerous.\p"
2018-06-21 00:42:01 +02:00
.string "Please come back with a BIKE.$"