pokecrystal/maps/Route17.asm

151 lines
3.2 KiB
NASM
Raw Normal View History

2018-01-31 16:08:47 +00:00
const_value set 2 ; object constants
2015-11-27 05:22:14 +00:00
const ROUTE17_BIKER1
const ROUTE17_BIKER2
const ROUTE17_BIKER3
const ROUTE17_BIKER4
Route17_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
.AlwaysOnBike:
2015-07-10 12:08:03 +00:00
setflag ENGINE_ALWAYS_ON_BIKE
setflag ENGINE_DOWNHILL
return
2015-07-10 08:20:21 +00:00
TrainerBikerCharles:
trainer BIKER, CHARLES, EVENT_BEAT_BIKER_CHARLES, BikerCharlesSeenText, BikerCharlesBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
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
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBikerRiley:
trainer BIKER, RILEY, EVENT_BEAT_BIKER_RILEY, BikerRileySeenText, BikerRileyBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
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
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBikerJoel:
trainer BIKER, JOEL, EVENT_BEAT_BIKER_JOEL, BikerJoelSeenText, BikerJoelBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
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
closetext
end
2015-07-10 08:20:21 +00:00
TrainerBikerGlenn:
trainer BIKER, GLENN, EVENT_BEAT_BIKER_GLENN, BikerGlennSeenText, BikerGlennBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
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
closetext
end
Route17HiddenMaxEther:
hiddenitem MAX_ETHER, EVENT_ROUTE_17_HIDDEN_MAX_ETHER
Route17HiddenMaxElixer:
hiddenitem MAX_ELIXER, EVENT_ROUTE_17_HIDDEN_MAX_ELIXER
2015-07-10 08:20:21 +00:00
BikerRileySeenText:
text "Hey, you! You're"
line "from JOHTO, huh?"
done
2015-07-10 08:20:21 +00:00
BikerRileyBeatenText:
text "Whoa, you kick!"
done
2017-12-10 20:36:58 +00:00
BikerRileyAfterBattleText:
text "Don't get cocky,"
line "you JOHTO punk!"
done
2015-07-10 08:20:21 +00:00
BikerJoelSeenText:
text "Wow. That's a cool"
line "BICYCLE!"
done
2015-07-10 08:20:21 +00:00
BikerJoelBeatenText:
text "But you don't just"
line "look cool…"
done
2017-12-10 20:36:58 +00:00
BikerJoelAfterBattleText:
text "I look cool, but"
line "I'm weak, so I'm"
cont "not really cool."
para "I have to train"
line "harder…"
done
2015-07-10 08:20:21 +00:00
BikerGlennSeenText:
text "Hey! Want to have"
line "a speed battle?"
done
2015-07-10 08:20:21 +00:00
BikerGlennBeatenText:
text "Yikes! You've got"
line "awesome torque!"
done
2017-12-10 20:36:58 +00:00
BikerGlennAfterBattleText:
text "Hands-free riding"
line "is considered cool"
cont "on CYCLING ROAD."
done
2015-07-10 08:20:21 +00:00
BikerCharlesSeenText:
text "We're fearless"
line "highway stars!"
done
2015-07-10 08:20:21 +00:00
BikerCharlesBeatenText:
text "Arrrgh! Crash and"
line "burn!"
done
2017-12-10 20:36:58 +00:00
BikerCharlesAfterBattleText:
text "Reckless driving"
line "causes accidents!"
cont "Take it easy!"
done
Route17_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 17, 82, 1, ROUTE_17_ROUTE_18_GATE
warp_event 17, 83, 2, ROUTE_17_ROUTE_18_GATE
db 0 ; coord events
db 2 ; bg events
bg_event 9, 54, BGEVENT_ITEM, Route17HiddenMaxEther
bg_event 8, 77, BGEVENT_ITEM, Route17HiddenMaxElixer
db 4 ; object events
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