mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-19 13:07:38 +01:00
51 lines
1.4 KiB
PHP
51 lines
1.4 KiB
PHP
Route110_SeasideCyclingRoadEntrance1_MapScripts:: @ 826EA77
|
||
.byte 0
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_EventScript_26EA78:: @ 826EA78
|
||
lock
|
||
faceplayer
|
||
msgbox Route110_SeasideCyclingRoadEntrance1_Text_26EAC1, 4
|
||
release
|
||
end
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_EventScript_26EA84:: @ 826EA84
|
||
lockall
|
||
specialvar VAR_RESULT, sp0E3_walkrun_bitfield_interpretation
|
||
compare_var_to_value VAR_RESULT, 0
|
||
goto_eq Route110_SeasideCyclingRoadEntrance1_EventScript_26EA9F
|
||
setflag FLAG_SYS_CYCLING_ROAD
|
||
setvar VAR_0x4001, 1
|
||
releaseall
|
||
end
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_EventScript_26EA9F:: @ 826EA9F
|
||
msgbox Route110_SeasideCyclingRoadEntrance1_Text_26EB48, 4
|
||
closemessage
|
||
applymovement 255, Route110_SeasideCyclingRoadEntrance1_Movement_26EAB4
|
||
waitmovement 0
|
||
releaseall
|
||
end
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_Movement_26EAB4: @ 826EAB4
|
||
step_left
|
||
step_end
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_EventScript_26EAB6:: @ 826EAB6
|
||
lockall
|
||
clearflag FLAG_SYS_CYCLING_ROAD
|
||
setvar VAR_0x4001, 0
|
||
releaseall
|
||
end
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_Text_26EAC1: @ 826EAC1
|
||
.string "On CYCLING ROAD, you can go all out\n"
|
||
.string "and cycle as fast as you’d like.\p"
|
||
.string "It feels great to go that fast, but try\n"
|
||
.string "not to crash into anyone!$"
|
||
|
||
Route110_SeasideCyclingRoadEntrance1_Text_26EB48: @ 826EB48
|
||
.string "Sorry, you can’t walk on CYCLING\n"
|
||
.string "ROAD. It’s too dangerous.\p"
|
||
.string "Please come back with a BIKE.$"
|
||
|