pokecrystal-board/maps/Route8.asm

193 lines
4.1 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const ROUTE8_BIKER1
const ROUTE8_BIKER2
const ROUTE8_BIKER3
const ROUTE8_SUPER_NERD1
const ROUTE8_SUPER_NERD2
const ROUTE8_FRUIT_TREE
Route8_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-07-10 01:20:21 -07:00
TrainerBikerDwayne:
trainer BIKER, DWAYNE, EVENT_BEAT_BIKER_DWAYNE, BikerDwayneSeenText, BikerDwayneBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext BikerDwayneAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBikerHarris:
trainer BIKER, HARRIS, EVENT_BEAT_BIKER_HARRIS, BikerHarrisSeenText, BikerHarrisBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext BikerHarrisAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBikerZeke:
trainer BIKER, ZEKE, EVENT_BEAT_BIKER_ZEKE, BikerZekeSeenText, BikerZekeBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext BikerZekeAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSupernerdSam:
trainer SUPER_NERD, SAM, EVENT_BEAT_SUPER_NERD_SAM, SupernerdSamSeenText, SupernerdSamBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SupernerdSamAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSupernerdTom:
trainer SUPER_NERD, TOM, EVENT_BEAT_SUPER_NERD_TOM, SupernerdTomSeenText, SupernerdTomBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SupernerdTomAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2016-04-06 21:59:45 -07:00
Route8LockedDoor:
jumptext Route8LockedDoorText
2016-04-06 21:59:45 -07:00
Route8UndergroundPathSign:
jumptext Route8UndergroundPathSignText
2018-02-28 13:50:43 -08:00
Route8FruitTree:
2015-11-18 07:42:42 -08:00
fruittree FRUITTREE_ROUTE_8
2015-07-10 01:20:21 -07:00
BikerDwayneSeenText:
text "We're the KANTO"
line "#MON FEDERATION"
cont "trainer group."
para "We'll drive you"
line "under our wheels!"
done
2015-07-10 01:20:21 -07:00
BikerDwayneBeatenText:
text "S-sorry!"
done
2017-12-10 12:36:58 -08:00
BikerDwayneAfterBattleText:
text "The KANTO #MON"
line "FEDERATION will"
cont "never fall!"
done
2015-07-10 01:20:21 -07:00
BikerHarrisSeenText:
text "The cops shut down"
line "our UNDERGROUND"
para "PATH! That really"
line "fries me!"
done
2015-07-10 01:20:21 -07:00
BikerHarrisBeatenText:
text "F-forgive me!"
done
2017-12-10 12:36:58 -08:00
BikerHarrisAfterBattleText:
text "Wiped out by some"
line "punk from JOHTO…"
done
2015-07-10 01:20:21 -07:00
BikerZekeSeenText:
text "We're the KANTO"
line "#MON FEDERA-"
cont "TION!"
cont "Right on!"
done
2015-07-10 01:20:21 -07:00
BikerZekeBeatenText:
text "Yikes! Sorry!"
done
2017-12-10 12:36:58 -08:00
BikerZekeAfterBattleText:
text "We'll try not to"
line "disturb anyone"
cont "from now on…"
done
2015-07-10 01:20:21 -07:00
SupernerdSamSeenText:
text "How does the MAG-"
line "NET TRAIN work?"
done
2015-07-10 01:20:21 -07:00
SupernerdSamBeatenText:
text "I just want to see"
line "the MAGNET TRAIN…"
done
2017-12-10 12:36:58 -08:00
SupernerdSamAfterBattleText:
text "The power of mag-"
line "nets is awesome!"
done
2015-07-10 01:20:21 -07:00
SupernerdTomSeenText:
text "Hm… You've got"
line "many GYM BADGES."
done
2015-07-10 01:20:21 -07:00
SupernerdTomBeatenText:
text "Just as I thought…"
line "You're tough!"
done
2017-12-10 12:36:58 -08:00
SupernerdTomAfterBattleText:
text "GYM BADGES give"
line "you advantages in"
cont "battles."
done
2016-04-06 21:59:45 -07:00
Route8LockedDoorText:
text "It's locked…"
done
2016-04-06 21:59:45 -07:00
Route8UndergroundPathSignText:
text "The flyer's torn."
para "It's impossible to"
line "read…"
done
Route8_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 4, 4, ROUTE_8_SAFFRON_GATE, 3
warp_event 4, 5, ROUTE_8_SAFFRON_GATE, 4
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 11, 7, BGEVENT_READ, Route8UndergroundPathSign
bg_event 10, 5, BGEVENT_READ, Route8LockedDoor
db 6 ; object events
2018-02-01 19:22:07 -08:00
object_event 10, 8, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 5, TrainerBikerDwayne, -1
object_event 10, 9, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 5, TrainerBikerHarris, -1
object_event 10, 10, SPRITE_BIKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 5, TrainerBikerZeke, -1
2018-02-01 19:22:07 -08:00
object_event 23, 2, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerSupernerdSam, -1
object_event 31, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerSupernerdTom, -1
2018-02-28 13:50:43 -08:00
object_event 33, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route8FruitTree, -1