summaryrefslogtreecommitdiff
path: root/maps/Route8.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2018-10-03 12:02:04 -0600
committerIIMarckus <iimarckus@gmail.com>2018-10-03 12:02:04 -0600
commited33ea6efc98761b1902dd43fe047d2fc6ad2a68 (patch)
tree4821a5f947ce8e740c741936784451c48fbca5f0 /maps/Route8.asm
parent9425a0110e00a3173accdac94cb2a4a4042efdd0 (diff)
Add map objects from bank 50.
Diffstat (limited to 'maps/Route8.asm')
-rw-r--r--maps/Route8.asm198
1 files changed, 198 insertions, 0 deletions
diff --git a/maps/Route8.asm b/maps/Route8.asm
new file mode 100644
index 00000000..cbc11f58
--- /dev/null
+++ b/maps/Route8.asm
@@ -0,0 +1,198 @@
+ const_def 2 ; object constants
+ 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
+
+TrainerBikerDwayne:
+ trainer BIKER, DWAYNE, EVENT_BEAT_BIKER_DWAYNE, BikerDwayneSeenText, BikerDwayneBeatenText, 0, .Script
+
+.Script:
+ endifjustbattled
+ opentext
+ writetext BikerDwayneAfterBattleText
+ waitbutton
+ closetext
+ end
+
+TrainerBikerHarris:
+ trainer BIKER, HARRIS, EVENT_BEAT_BIKER_HARRIS, BikerHarrisSeenText, BikerHarrisBeatenText, 0, .Script
+
+.Script:
+ endifjustbattled
+ opentext
+ writetext BikerHarrisAfterBattleText
+ waitbutton
+ closetext
+ end
+
+TrainerBikerZeke:
+ trainer BIKER, ZEKE, EVENT_BEAT_BIKER_ZEKE, BikerZekeSeenText, BikerZekeBeatenText, 0, .Script
+
+.Script:
+ endifjustbattled
+ opentext
+ writetext BikerZekeAfterBattleText
+ waitbutton
+ closetext
+ end
+
+TrainerSupernerdSam:
+ trainer SUPER_NERD, SAM, EVENT_BEAT_SUPER_NERD_SAM, SupernerdSamSeenText, SupernerdSamBeatenText, 0, .Script
+
+.Script:
+ endifjustbattled
+ opentext
+ writetext SupernerdSamAfterBattleText
+ waitbutton
+ closetext
+ end
+
+TrainerSupernerdTom:
+ trainer SUPER_NERD, TOM, EVENT_BEAT_SUPER_NERD_TOM, SupernerdTomSeenText, SupernerdTomBeatenText, 0, .Script
+
+.Script:
+ endifjustbattled
+ opentext
+ writetext SupernerdTomAfterBattleText
+ waitbutton
+ closetext
+ end
+
+Route8LockedDoor:
+ jumptext Route8LockedDoorText
+
+Route8UndergroundPathSign:
+ jumptext Route8UndergroundPathSignText
+
+Route8FruitTree:
+ fruittree FRUITTREE_ROUTE_8
+
+BikerDwayneSeenText:
+ text "We're the KANTO"
+ line "#MON FEDERATION"
+ cont "trainer group."
+
+ para "We'll drive you"
+ line "under our wheels!"
+ done
+
+BikerDwayneBeatenText:
+ text "S-sorry!"
+ done
+
+BikerDwayneAfterBattleText:
+ text "The KANTO #MON"
+ line "FEDERATION will"
+ cont "never fall!"
+ done
+
+BikerHarrisSeenText:
+ text "The cops shut down"
+ line "our UNDERGROUND"
+
+ para "PATH! That really"
+ line "fries me!"
+ done
+
+BikerHarrisBeatenText:
+ text "F-forgive me!"
+ done
+
+BikerHarrisAfterBattleText:
+ text "Wiped out by some"
+ line "punk from JOHTO…"
+ done
+
+BikerZekeSeenText:
+ text "We're the KANTO"
+ line "#MON FEDERA-"
+ cont "TION!"
+ cont "Right on, dude!"
+ done
+
+BikerZekeBeatenText:
+ text "Yikes! Sorry!"
+ done
+
+BikerZekeAfterBattleText:
+ text "We'll try not to"
+ line "disturb anyone"
+ cont "from now on…"
+ done
+
+SupernerdSamSeenText:
+ text "How does the MAG-"
+ line "NET TRAIN work?"
+ done
+
+SupernerdSamBeatenText:
+ text "I just want to see"
+ line "the MAGNET TRAIN…"
+ done
+
+SupernerdSamAfterBattleText:
+ text "The power of mag-"
+ line "nets is awesome!"
+ done
+
+SupernerdTomSeenText:
+ text "We can't do with-"
+ line "out electricity."
+
+ para "The POWER PLANT"
+ line "supplies us with"
+ cont "electricity."
+ done
+
+SupernerdTomBeatenText:
+ text "Don't waste"
+ line "electricity!"
+ done
+
+SupernerdTomAfterBattleText:
+ text "The POWER PLANT"
+ line "north of LAVENDER"
+
+ para "supplies power to"
+ line "the MAGNET TRAIN."
+ done
+
+Route8LockedDoorText:
+ text "It's locked…"
+ done
+
+Route8UndergroundPathSignText:
+ text "The flyer's torn."
+
+ para "It's impossible to"
+ line "read…"
+ done
+
+Route8_MapEvents:
+ db 0, 0 ; filler
+
+ db 2 ; warp events
+ 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
+ bg_event 11, 7, BGEVENT_READ, Route8UndergroundPathSign
+ bg_event 10, 5, BGEVENT_READ, Route8LockedDoor
+
+ db 6 ; object events
+ 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
+ object_event 20, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 4, TrainerSupernerdSam, -1
+ object_event 27, 9, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerSupernerdTom, -1
+ object_event 33, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route8FruitTree, -1