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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
|
object_const_def
const VERMILIONGYM_SURGE
const VERMILIONGYM_GENTLEMAN
const VERMILIONGYM_ROCKER
const VERMILIONGYM_SUPER_NERD
const VERMILIONGYM_GYM_GUIDE
VermilionGym_MapScripts:
def_scene_scripts
def_callbacks
VermilionGymSurgeScript:
faceplayer
opentext
checkflag ENGINE_THUNDERBADGE
iftrue .FightDone
writetext LtSurgeIntroText
waitbutton
closetext
winlosstext LtSurgeWinLossText, 0
loadtrainer LT_SURGE, LT_SURGE1
startbattle
reloadmapafterbattle
setevent EVENT_BEAT_LTSURGE
setevent EVENT_BEAT_GENTLEMAN_GREGORY
setevent EVENT_BEAT_GUITARIST_VINCENT
setevent EVENT_BEAT_JUGGLER_HORTON
opentext
writetext ReceivedThunderBadgeText
playsound SFX_GET_BADGE
waitsfx
setflag ENGINE_THUNDERBADGE
writetext LtSurgeThunderBadgeText
waitbutton
closetext
end
.FightDone:
writetext LtSurgeFightDoneText
waitbutton
closetext
end
TrainerGentlemanGregory:
trainer GENTLEMAN, GREGORY, EVENT_BEAT_GENTLEMAN_GREGORY, GentlemanGregorySeenText, GentlemanGregoryBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext GentlemanGregoryAfterBattleText
waitbutton
closetext
end
TrainerGuitaristVincent:
trainer GUITARIST, VINCENT, EVENT_BEAT_GUITARIST_VINCENT, GuitaristVincentSeenText, GuitaristVincentBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext GuitaristVincentAfterBattleText
waitbutton
closetext
end
TrainerJugglerHorton:
trainer JUGGLER, HORTON, EVENT_BEAT_JUGGLER_HORTON, JugglerHortonSeenText, JugglerHortonBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext JugglerHortonAfterBattleText
waitbutton
closetext
end
VermilionGymGuideScript:
faceplayer
opentext
checkevent EVENT_BEAT_LTSURGE
iftrue .VermilionGymGuideWinScript
writetext VermilionGymGuideText
waitbutton
closetext
end
.VermilionGymGuideWinScript:
writetext VermilionGymGuideWinText
waitbutton
closetext
end
VermilionGymTrashCan:
jumptext VermilionGymTrashCanText
VermilionGymStatue:
checkflag ENGINE_THUNDERBADGE
iftrue .Beaten
jumpstd GymStatue1Script
.Beaten:
gettrainername STRING_BUFFER_4, LT_SURGE, LT_SURGE1
jumpstd GymStatue2Script
LtSurgeIntroText:
text "SURGE: Hey, you"
line "little tyke!"
para "I have to hand it"
line "to you. It may not"
para "be very smart to"
line "challenge me, but"
cont "it takes guts!"
para "When it comes to"
line "electric #MON,"
cont "I'm number one!"
para "I've never lost on"
line "the battlefield."
para "I'll zap you just"
line "like I did my"
cont "enemies in war!"
done
LtSurgeWinLossText:
text "SURGE: Arrrgh!"
line "You are strong!"
para "OK, kid. You get"
line "THUNDERBADGE!"
done
ReceivedThunderBadgeText:
text "<PLAYER> received"
line "THUNDERBADGE."
done
LtSurgeThunderBadgeText:
text "SURGE: THUNDER-"
line "BADGE increases"
cont "#MON's speed. "
para "Consider it proof"
line "that you defeated"
para "me. You wear it"
line "proudly, hear?"
done
LtSurgeFightDoneText:
text "SURGE: Hey, kid!"
line "Still slugging and"
cont "chugging away?"
para "My #MON and I"
line "are still at it!"
done
GentlemanGregorySeenText:
text "You're here to"
line "defeat LT.SURGE?"
para "Not if I can help"
line "it!"
done
GentlemanGregoryBeatenText:
text "Sorry I failed"
line "you, LT.SURGE,"
cont "sir!"
done
GentlemanGregoryAfterBattleText:
text "When I was still"
line "in the army, LT."
para "SURGE saved my"
line "life."
done
GuitaristVincentSeenText:
text "LT.SURGE recog-"
line "nized my potential"
para "with electric"
line "#MON."
para "Think you can beat"
line "me?"
done
GuitaristVincentBeatenText:
text "Ooh, how shocking!"
done
GuitaristVincentAfterBattleText:
text "If the GYM's traps"
line "were working, you"
para "would have been"
line "toast…"
done
JugglerHortonSeenText:
text "I'm going to take"
line "you down! Prepare"
cont "to be shocked!"
done
JugglerHortonBeatenText:
text "Gwaaah!"
line "I was overpowered…"
done
JugglerHortonAfterBattleText:
text "Don't get too com-"
line "fortable about"
para "beating me…"
line "LT.SURGE is tough."
done
VermilionGymGuideText:
text "Yo! CHAMP in"
line "making!"
para "You lucked out"
line "this time."
para "LT.SURGE is very"
line "cautious. He has"
para "traps set all over"
line "the GYM."
para "But--he-heh--the"
line "traps aren't"
cont "active right now."
para "You'll have no"
line "problem getting to"
cont "LT.SURGE."
done
VermilionGymGuideWinText:
text "Whew! That was an"
line "electrifying bout!"
para "It sure made me"
line "nervous."
done
VermilionGymTrashCanText:
text "Nope! Nothing here"
line "but trash."
done
VermilionGym_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 4, 17, VERMILION_CITY, 7
warp_event 5, 17, VERMILION_CITY, 7
def_coord_events
def_bg_events
bg_event 1, 7, BGEVENT_READ, VermilionGymTrashCan
bg_event 3, 7, BGEVENT_READ, VermilionGymTrashCan
bg_event 5, 7, BGEVENT_READ, VermilionGymTrashCan
bg_event 7, 7, BGEVENT_READ, VermilionGymTrashCan
bg_event 9, 7, BGEVENT_READ, VermilionGymTrashCan
bg_event 1, 9, BGEVENT_READ, VermilionGymTrashCan
bg_event 3, 9, BGEVENT_READ, VermilionGymTrashCan
bg_event 5, 9, BGEVENT_READ, VermilionGymTrashCan
bg_event 7, 9, BGEVENT_READ, VermilionGymTrashCan
bg_event 9, 9, BGEVENT_READ, VermilionGymTrashCan
bg_event 1, 11, BGEVENT_READ, VermilionGymTrashCan
bg_event 3, 11, BGEVENT_READ, VermilionGymTrashCan
bg_event 5, 11, BGEVENT_READ, VermilionGymTrashCan
bg_event 7, 11, BGEVENT_READ, VermilionGymTrashCan
bg_event 9, 11, BGEVENT_READ, VermilionGymTrashCan
bg_event 3, 15, BGEVENT_READ, VermilionGymStatue
bg_event 6, 15, BGEVENT_READ, VermilionGymStatue
def_object_events
object_event 5, 2, SPRITE_SURGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, VermilionGymSurgeScript, -1
object_event 8, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerGentlemanGregory, -1
object_event 4, 7, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_DOWN, 3, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerGuitaristVincent, -1
object_event 0, 10, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerJugglerHorton, -1
object_event 7, 15, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, VermilionGymGuideScript, -1
|