2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE17_BIKER1
|
|
|
|
const ROUTE17_BIKER2
|
|
|
|
const ROUTE17_BIKER3
|
|
|
|
const ROUTE17_BIKER4
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
Route17_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
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-10 05:08:03 -07:00
|
|
|
setflag ENGINE_ALWAYS_ON_BIKE
|
|
|
|
setflag ENGINE_DOWNHILL
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBikerCharles:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_BIKER_CHARLES, BIKER, CHARLES, BikerCharlesSeenText, BikerCharlesBeatenText, 0, BikerCharlesScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerCharlesScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BikerCharlesAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBikerRiley:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_BIKER_RILEY, BIKER, RILEY, BikerRileySeenText, BikerRileyBeatenText, 0, BikerRileyScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerRileyScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BikerRileyAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBikerJoel:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_BIKER_JOEL, BIKER, JOEL, BikerJoelSeenText, BikerJoelBeatenText, 0, BikerJoelScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerJoelScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BikerJoelAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBikerGlenn:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_BIKER_GLENN, BIKER, GLENN, BikerGlennSeenText, BikerGlennBeatenText, 0, BikerGlennScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerGlennScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BikerGlennAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
Route17HiddenMaxEther:
|
2015-07-18 12:46:38 -07:00
|
|
|
dwb EVENT_ROUTE_17_HIDDEN_MAX_ETHER, MAX_ETHER
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
Route17HiddenMaxElixer:
|
2015-07-18 12:46:38 -07:00
|
|
|
dwb EVENT_ROUTE_17_HIDDEN_MAX_ELIXER, MAX_ELIXER
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerRileySeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, you! You're"
|
|
|
|
line "from JOHTO, huh?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerRileyBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whoa, you kick!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BikerRileyAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Don't get cocky,"
|
|
|
|
line "you JOHTO punk!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerJoelSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow. That's a cool"
|
|
|
|
line "BICYCLE!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerJoelBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "But you don't just"
|
|
|
|
line "look cool…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BikerJoelAfterBattleText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerGlennSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey! Want to have"
|
|
|
|
line "a speed battle?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerGlennBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yikes! You've got"
|
|
|
|
line "awesome torque!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BikerGlennAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hands-free riding"
|
|
|
|
line "is considered cool"
|
|
|
|
cont "on CYCLING ROAD."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerCharlesSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We're fearless"
|
|
|
|
line "highway stars!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BikerCharlesBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Arrrgh! Crash and"
|
|
|
|
line "burn!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BikerCharlesAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Reckless driving"
|
|
|
|
line "causes accidents!"
|
|
|
|
cont "Take it easy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
Route17_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 2
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $52, $11, 1, ROUTE_17_18_GATE
|
|
|
|
warp_def $53, $11, 2, ROUTE_17_18_GATE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-12-15 08:21:58 -08:00
|
|
|
signpost 54, 9, SIGNPOST_ITEM, Route17HiddenMaxEther
|
|
|
|
signpost 77, 8, SIGNPOST_ITEM, Route17HiddenMaxElixer
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2017-12-10 17:50:08 -08:00
|
|
|
person_event SPRITE_BIKER, 17, 4, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 4, TrainerBikerRiley, -1
|
|
|
|
person_event SPRITE_BIKER, 68, 9, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 1, TrainerBikerJoel, -1
|
|
|
|
person_event SPRITE_BIKER, 53, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 3, TrainerBikerGlenn, -1
|
|
|
|
person_event SPRITE_BIKER, 80, 6, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_TRAINER, 4, TrainerBikerCharles, -1
|