2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE17_BIKER1
|
|
|
|
const ROUTE17_BIKER2
|
|
|
|
const ROUTE17_BIKER3
|
|
|
|
const ROUTE17_BIKER4
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route17_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_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 12:08:03 +00:00
|
|
|
setflag ENGINE_ALWAYS_ON_BIKE
|
|
|
|
setflag ENGINE_DOWNHILL
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerBikerCharles:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer BIKER, CHARLES, EVENT_BEAT_BIKER_CHARLES, BikerCharlesSeenText, BikerCharlesBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext BikerCharlesAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerBikerRiley:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer BIKER, RILEY, EVENT_BEAT_BIKER_RILEY, BikerRileySeenText, BikerRileyBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext BikerRileyAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerBikerJoel:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer BIKER, JOEL, EVENT_BEAT_BIKER_JOEL, BikerJoelSeenText, BikerJoelBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext BikerJoelAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerBikerGlenn:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer BIKER, GLENN, EVENT_BEAT_BIKER_GLENN, BikerGlennSeenText, BikerGlennBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext BikerGlennAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
Route17HiddenMaxEther:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem MAX_ETHER, EVENT_ROUTE_17_HIDDEN_MAX_ETHER
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
Route17HiddenMaxElixer:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem MAX_ELIXER, EVENT_ROUTE_17_HIDDEN_MAX_ELIXER
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerRileySeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey, you! You're"
|
|
|
|
line "from JOHTO, huh?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerRileyBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Whoa, you kick!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
BikerRileyAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Don't get cocky,"
|
|
|
|
line "you JOHTO punk!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerJoelSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wow. That's a cool"
|
|
|
|
line "BICYCLE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerJoelBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "But you don't just"
|
|
|
|
line "look cool…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
BikerJoelAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I look cool, but"
|
|
|
|
line "I'm weak, so I'm"
|
|
|
|
cont "not really cool."
|
|
|
|
|
|
|
|
para "I have to train"
|
|
|
|
line "harder…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerGlennSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey! Want to have"
|
|
|
|
line "a speed battle?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerGlennBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Yikes! You've got"
|
|
|
|
line "awesome torque!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
BikerGlennAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hands-free riding"
|
|
|
|
line "is considered cool"
|
|
|
|
cont "on CYCLING ROAD."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerCharlesSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We're fearless"
|
|
|
|
line "highway stars!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
BikerCharlesBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Arrrgh! Crash and"
|
|
|
|
line "burn!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
BikerCharlesAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Reckless driving"
|
|
|
|
line "causes accidents!"
|
|
|
|
cont "Take it easy!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route17_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 17, 82, ROUTE_17_ROUTE_18_GATE, 1
|
|
|
|
warp_event 17, 83, ROUTE_17_ROUTE_18_GATE, 2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 9, 54, BGEVENT_ITEM, Route17HiddenMaxEther
|
|
|
|
bg_event 8, 77, BGEVENT_ITEM, Route17HiddenMaxElixer
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 4, 17, SPRITE_BIKER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerBikerRiley, -1
|
|
|
|
object_event 9, 68, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 1, TrainerBikerJoel, -1
|
|
|
|
object_event 3, 53, SPRITE_BIKER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBikerGlenn, -1
|
|
|
|
object_event 6, 80, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerBikerCharles, -1
|