2015-07-10 01:45:35 -07:00
|
|
|
Route16_MapScriptHeader:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2017-12-10 14:53:21 -08:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .AlwaysOnBike
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.AlwaysOnBike:
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_YCOORD
|
2017-12-10 14:53:21 -08:00
|
|
|
if_less_than $5, .CanWalk
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_XCOORD
|
2017-12-10 14:53:21 -08:00
|
|
|
if_greater_than $d, .CanWalk
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_ALWAYS_ON_BIKE
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.CanWalk:
|
2015-07-11 23:00:17 -07:00
|
|
|
clearflag ENGINE_ALWAYS_ON_BIKE
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
CyclingRoadSign:
|
|
|
|
jumptext CyclingRoadSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
CyclingRoadSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "CYCLING ROAD"
|
|
|
|
|
|
|
|
para "DOWNHILL COASTING"
|
|
|
|
line "ALL THE WAY!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
Route16_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 5
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $1, $3, 1, ROUTE_16_FUCHSIA_SPEECH_HOUSE
|
|
|
|
warp_def $6, $e, 3, ROUTE_16_GATE
|
|
|
|
warp_def $7, $e, 4, ROUTE_16_GATE
|
|
|
|
warp_def $6, $9, 1, ROUTE_16_GATE
|
|
|
|
warp_def $7, $9, 2, ROUTE_16_GATE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 5, 5, BGEVENT_READ, CyclingRoadSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|