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