2018-01-16 22:57:19 -05:00
|
|
|
Route16_MapScripts:
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 1 ; callbacks
|
2018-01-13 00:47:38 -05:00
|
|
|
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 17:53:21 -05:00
|
|
|
.AlwaysOnBike:
|
2015-07-09 20:08:03 -06:00
|
|
|
checkcode VAR_YCOORD
|
2018-02-02 21:09:17 -05:00
|
|
|
ifless 5, .CanWalk
|
2015-07-09 20:08:03 -06:00
|
|
|
checkcode VAR_XCOORD
|
2018-02-02 21:09:17 -05:00
|
|
|
ifgreater 13, .CanWalk
|
2015-07-10 06:08:03 -06:00
|
|
|
setflag ENGINE_ALWAYS_ON_BIKE
|
2013-02-17 01:54:07 -05:00
|
|
|
return
|
|
|
|
|
2017-12-10 17:53:21 -05:00
|
|
|
.CanWalk:
|
2015-07-12 02:00:17 -04:00
|
|
|
clearflag ENGINE_ALWAYS_ON_BIKE
|
2013-02-17 01:54:07 -05:00
|
|
|
return
|
|
|
|
|
2016-04-06 22:59:45 -06:00
|
|
|
CyclingRoadSign:
|
|
|
|
jumptext CyclingRoadSignText
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2016-04-06 22:59:45 -06:00
|
|
|
CyclingRoadSignText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "CYCLING ROAD"
|
|
|
|
|
|
|
|
para "DOWNHILL COASTING"
|
|
|
|
line "ALL THE WAY!"
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-16 22:57:19 -05:00
|
|
|
Route16_MapEvents:
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 5 ; warp events
|
2018-02-01 22:22:07 -05:00
|
|
|
warp_event 3, 1, ROUTE_16_FUCHSIA_SPEECH_HOUSE, 1
|
|
|
|
warp_event 14, 6, ROUTE_16_GATE, 3
|
|
|
|
warp_event 14, 7, ROUTE_16_GATE, 4
|
|
|
|
warp_event 9, 6, ROUTE_16_GATE, 1
|
|
|
|
warp_event 9, 7, ROUTE_16_GATE, 2
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; coord events
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 1 ; bg events
|
2018-02-01 22:22:07 -05:00
|
|
|
bg_event 5, 5, BGEVENT_READ, CyclingRoadSign
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; object events
|