-
Notifications
You must be signed in to change notification settings - Fork 852
/
Copy pathRoute8.asm
192 lines (152 loc) · 4.07 KB
/
Route8.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
object_const_def
const ROUTE8_BIKER1
const ROUTE8_BIKER2
const ROUTE8_BIKER3
const ROUTE8_SUPER_NERD1
const ROUTE8_SUPER_NERD2
const ROUTE8_FRUIT_TREE
Route8_MapScripts:
def_scene_scripts
def_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!"
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 "Hm… You've got"
line "many GYM BADGES."
done
SupernerdTomBeatenText:
text "Just as I thought…"
line "You're tough!"
done
SupernerdTomAfterBattleText:
text "GYM BADGES give"
line "you advantages in"
cont "battles."
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
def_warp_events
warp_event 4, 4, ROUTE_8_SAFFRON_GATE, 3
warp_event 4, 5, ROUTE_8_SAFFRON_GATE, 4
def_coord_events
def_bg_events
bg_event 11, 7, BGEVENT_READ, Route8UndergroundPathSign
bg_event 10, 5, BGEVENT_READ, Route8LockedDoor
def_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 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
object_event 33, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route8FruitTree, -1