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
|
object_const_def
const VIRIDIANCITY_GRAMPS1
const VIRIDIANCITY_GRAMPS2
const VIRIDIANCITY_FISHER
const VIRIDIANCITY_YOUNGSTER
ViridianCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
setflag ENGINE_FLYPOINT_VIRIDIAN
endcallback
ViridianCityCoffeeGramps:
faceplayer
opentext
writetext ViridianCityCoffeeGrampsQuestionText
yesorno
iffalse .no
writetext ViridianCityCoffeeGrampsBelievedText
waitbutton
closetext
end
.no:
writetext ViridianCityCoffeeGrampsDoubtedText
waitbutton
closetext
end
ViridianCityGrampsNearGym:
faceplayer
opentext
checkevent EVENT_BLUE_IN_CINNABAR
iftrue .BlueReturned
writetext ViridianCityGrampsNearGymText
waitbutton
closetext
end
.BlueReturned:
writetext ViridianCityGrampsNearGymBlueReturnedText
waitbutton
closetext
end
ViridianCityDreamEaterFisher:
faceplayer
opentext
checkevent EVENT_GOT_TM42_DREAM_EATER
iftrue .GotDreamEater
writetext ViridianCityDreamEaterFisherText
promptbutton
verbosegiveitem TM_DREAM_EATER
iffalse .NoRoomForDreamEater
setevent EVENT_GOT_TM42_DREAM_EATER
.GotDreamEater:
writetext ViridianCityDreamEaterFisherGotDreamEaterText
waitbutton
.NoRoomForDreamEater:
closetext
end
ViridianCityYoungsterScript:
jumptextfaceplayer ViridianCityYoungsterText
ViridianCitySign:
jumptext ViridianCitySignText
ViridianGymSign:
jumptext ViridianGymSignText
ViridianCityWelcomeSign:
jumptext ViridianCityWelcomeSignText
TrainerHouseSign:
jumptext TrainerHouseSignText
ViridianCityPokecenterSign:
jumpstd PokecenterSignScript
ViridianCityMartSign:
jumpstd MartSignScript
ViridianCityCoffeeGrampsQuestionText:
text "Hey, kid! I just"
line "had a double shot"
para "of espresso, and"
line "I am wired!"
para "I need to talk to"
line "someone, so you'll"
cont "have to do!"
para "I might not look"
line "like much now, but"
para "I was an expert at"
line "catching #MON."
para "Do you believe me?"
done
ViridianCityCoffeeGrampsBelievedText:
text "Good, good. Yes, I"
line "was something out"
para "of the ordinary,"
line "let me tell you!"
done
ViridianCityCoffeeGrampsDoubtedText:
text "What? You little"
line "whelp!"
para "If I were just a"
line "bit younger, I'd"
para "show you a thing"
line "or two. Humph!"
done
ViridianCityGrampsNearGymText:
text "This GYM didn't"
line "have a LEADER"
cont "until recently."
para "A young man from"
line "PALLET became the"
para "LEADER, but he's"
line "often away."
done
ViridianCityGrampsNearGymBlueReturnedText:
text "Are you going to"
line "battle the LEADER?"
para "Good luck to you."
line "You'll need it."
done
ViridianCityDreamEaterFisherText:
text "Yawn!"
para "I must have dozed"
line "off in the sun."
para "…I had this dream"
line "about a DROWZEE"
para "eating my dream."
line "Weird, huh?"
para "Huh?"
line "What's this?"
para "Where did this TM"
line "come from?"
para "This is spooky!"
line "Here, you can have"
cont "this TM."
done
ViridianCityDreamEaterFisherGotDreamEaterText:
text "TM42 contains"
line "DREAM EATER…"
para "…Zzzzz…"
done
ViridianCityYoungsterText:
text "I heard that there"
line "are many items on"
para "the ground in"
line "VIRIDIAN FOREST."
done
ViridianCitySignText:
text "VIRIDIAN CITY"
para "The Eternally"
line "Green Paradise"
done
ViridianGymSignText:
text "VIRIDIAN CITY"
line "#MON GYM"
cont "LEADER: …"
para "The rest of the"
line "text is illegible…"
done
ViridianCityWelcomeSignText:
text "WELCOME TO"
line "VIRIDIAN CITY,"
para "THE GATEWAY TO"
line "INDIGO PLATEAU"
done
TrainerHouseSignText:
text "TRAINER HOUSE"
para "The Club for Top"
line "Trainer Battles"
done
ViridianCity_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 32, 7, VIRIDIAN_GYM, 1
warp_event 21, 9, VIRIDIAN_NICKNAME_SPEECH_HOUSE, 1
warp_event 23, 15, TRAINER_HOUSE_1F, 1
warp_event 29, 19, VIRIDIAN_MART, 2
warp_event 23, 25, VIRIDIAN_POKECENTER_1F, 1
def_coord_events
def_bg_events
bg_event 17, 17, BGEVENT_READ, ViridianCitySign
bg_event 27, 7, BGEVENT_READ, ViridianGymSign
bg_event 19, 1, BGEVENT_READ, ViridianCityWelcomeSign
bg_event 21, 15, BGEVENT_READ, TrainerHouseSign
bg_event 24, 25, BGEVENT_READ, ViridianCityPokecenterSign
bg_event 30, 19, BGEVENT_READ, ViridianCityMartSign
def_object_events
object_event 18, 5, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ViridianCityCoffeeGramps, -1
object_event 30, 8, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ViridianCityGrampsNearGym, -1
object_event 6, 23, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ViridianCityDreamEaterFisher, -1
object_event 17, 21, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ViridianCityYoungsterScript, -1
|