mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-09 12:35:23 -05:00
29 lines
660 B
C++
29 lines
660 B
C++
Route18_MapScripts::
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route18_OnTransition
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route18_OnWarp
|
|
.byte 0
|
|
|
|
Route18_OnTransition::
|
|
call_if_eq VAR_MAP_SCENE_ROUTE16, 1, Route18_OnTransitionCyclingRoad
|
|
end
|
|
|
|
Route18_OnTransitionCyclingRoad::
|
|
setflag FLAG_SYS_ON_CYCLING_ROAD
|
|
return
|
|
|
|
Route18_OnWarp::
|
|
map_script_2 VAR_MAP_SCENE_ROUTE16, 1, Route18_OnWarpCyclingRoad
|
|
.2byte 0
|
|
|
|
Route18_OnWarpCyclingRoad::
|
|
special ForcePlayerOntoBike
|
|
end
|
|
|
|
Route18_EventScript_RouteSign::
|
|
msgbox Route18_Text_RouteSign, MSGBOX_SIGN
|
|
end
|
|
|
|
Route18_EventScript_CyclingRoadSign::
|
|
msgbox Route18_Text_CyclingRoadSign, MSGBOX_SIGN
|
|
end
|