-
Notifications
You must be signed in to change notification settings - Fork 782
/
CeladonCity.asm
282 lines (218 loc) · 6.44 KB
/
CeladonCity.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
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
object_const_def
const CELADONCITY_FISHER
const CELADONCITY_POLIWAG
const CELADONCITY_TEACHER1
const CELADONCITY_GRAMPS1
const CELADONCITY_GRAMPS2
const CELADONCITY_YOUNGSTER1
const CELADONCITY_YOUNGSTER2
const CELADONCITY_TEACHER2
const CELADONCITY_LASS
CeladonCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, CeladonCityFlypointCallback
CeladonCityFlypointCallback:
setflag ENGINE_FLYPOINT_CELADON
endcallback
CeladonCityFisherScript:
jumptextfaceplayer CeladonCityFisherText
CeladonCityPoliwrath:
opentext
writetext CeladonCityPoliwrathText
cry POLIWRATH
waitbutton
closetext
end
CeladonCityTeacher1Script:
jumptextfaceplayer CeladonCityTeacher1Text
CeladonCityGramps1Script:
jumptextfaceplayer CeladonCityGramps1Text
CeladonCityGramps2Script:
jumptextfaceplayer CeladonCityGramps2Text
CeladonCityYoungster1Script:
jumptextfaceplayer CeladonCityYoungster1Text
CeladonCityYoungster2Script:
jumptextfaceplayer CeladonCityYoungster2Text
CeladonCityTeacher2Script:
jumptextfaceplayer CeladonCityTeacher2Text
CeladonCityLassScript:
jumptextfaceplayer CeladonCityLassText
CeladonCitySign:
jumptext CeladonCitySignText
CeladonGymSign:
jumptext CeladonGymSignText
CeladonCityDeptStoreSign:
jumptext CeladonCityDeptStoreSignText
CeladonCityMansionSign:
jumptext CeladonCityMansionSignText
CeladonCityGameCornerSign:
jumptext CeladonCityGameCornerSignText
CeladonCityTrainerTips:
jumptext CeladonCityTrainerTipsText
CeladonCityPokecenterSign:
jumpstd PokecenterSignScript
CeladonCityHiddenPpUp:
hiddenitem PP_UP, EVENT_CELADON_CITY_HIDDEN_PP_UP
CeladonCityFisherText:
text "This POLIWRATH is"
line "my partner."
para "I wonder if it'll"
line "ever evolve into a"
cont "frog #MON."
done
CeladonCityPoliwrathText:
text "POLIWRATH: Croak!"
done
CeladonCityTeacher1Text:
if DEF(_CRYSTAL_AU)
text "I lost at the"
line "machines."
done
else
text "I lost at the slot"
line "machines again…"
para "We girls also play"
line "the slots now."
para "You should check"
line "them out too."
done
endc
CeladonCityGramps1Text:
text "GRIMER have been"
line "appearing lately."
para "See that pond out"
line "in front of the"
para "house? GRIMER live"
line "there now."
para "Where did they"
line "come from? This is"
cont "a serious problem…"
done
CeladonCityGramps2Text:
text "Nihihi! This GYM"
line "is great! Only"
para "girls are allowed"
line "here!"
done
CeladonCityYoungster1Text:
text "Want to know a"
line "secret?"
para "CELADON MANSION"
line "has a hidden back"
cont "door."
done
CeladonCityYoungster2Text:
text "They're holding an"
line "eating contest at"
cont "the restaurant."
para "Just watching them"
line "go at it makes me"
cont "feel bloated…"
done
CeladonCityTeacher2Text:
text "CELADON DEPT.STORE"
line "has the biggest"
para "and best selection"
line "of merchandise."
para "If you can't get"
line "it there, you"
para "can't get it any-"
line "where."
para "Gee… I sound like"
line "a sales clerk."
done
CeladonCityLassText_Mobile: ; unreferenced
text "I love being"
line "surrounded by tall"
cont "buildings!"
para "Isn't it true that"
line "GOLDENROD #MON"
para "CENTER was made"
line "much, much bigger?"
para "That is so neat!"
line "I wish we had a"
para "place like that in"
line "KANTO…"
done
CeladonCityLassText:
text "Looking at the"
line "ground while I was"
para "walking made me"
line "dizzy."
done
CeladonCitySignText:
text "CELADON CITY"
para "The City of"
line "Rainbow Dreams"
done
CeladonGymSignText:
text "CELADON CITY"
line "#MON GYM"
cont "LEADER: ERIKA"
para "The Nature-Loving"
line "Princess"
done
CeladonCityDeptStoreSignText:
text "Find What You"
line "Need at CELADON"
cont "DEPT.STORE!"
done
CeladonCityMansionSignText:
text "CELADON MANSION"
done
CeladonCityGameCornerSignText:
if DEF(_CRYSTAL_AU)
text "The Game Area for"
line "Grown-ups--CELADON"
cont "GAME CORNER"
done
else
text "The Playground for"
line "Everybody--CELADON"
cont "GAME CORNER"
done
endc
CeladonCityTrainerTipsText:
text "TRAINER TIPS"
para "GUARD SPEC."
line "protects #MON"
para "against SPECIAL"
line "attacks such as"
cont "fire and water."
para "Get your items at"
line "CELADON DEPT."
cont "STORE!"
done
CeladonCity_MapEvents:
db 0, 0 ; filler
def_warp_events
warp_event 4, 9, CELADON_DEPT_STORE_1F, 1
warp_event 16, 9, CELADON_MANSION_1F, 1
warp_event 16, 3, CELADON_MANSION_1F, 3
warp_event 17, 3, CELADON_MANSION_1F, 3
warp_event 29, 9, CELADON_POKECENTER_1F, 1
warp_event 18, 19, CELADON_GAME_CORNER, 1
warp_event 23, 19, CELADON_GAME_CORNER_PRIZE_ROOM, 1
warp_event 10, 29, CELADON_GYM, 1
warp_event 25, 29, CELADON_CAFE, 1
def_coord_events
def_bg_events
bg_event 23, 21, BGEVENT_READ, CeladonCitySign
bg_event 11, 31, BGEVENT_READ, CeladonGymSign
bg_event 6, 9, BGEVENT_READ, CeladonCityDeptStoreSign
bg_event 13, 9, BGEVENT_READ, CeladonCityMansionSign
bg_event 19, 21, BGEVENT_READ, CeladonCityGameCornerSign
bg_event 29, 21, BGEVENT_READ, CeladonCityTrainerTips
bg_event 30, 9, BGEVENT_READ, CeladonCityPokecenterSign
bg_event 37, 21, BGEVENT_ITEM, CeladonCityHiddenPpUp
def_object_events
object_event 26, 11, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonCityFisherScript, -1
object_event 27, 11, SPRITE_POLIWAG, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonCityPoliwrath, -1
object_event 20, 24, SPRITE_TEACHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonCityTeacher1Script, -1
object_event 14, 16, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CeladonCityGramps1Script, -1
object_event 8, 31, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonCityGramps2Script, -1
object_event 18, 13, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonCityYoungster1Script, -1
object_event 24, 33, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonCityYoungster2Script, -1
object_event 6, 14, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonCityTeacher2Script, -1
object_event 7, 22, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonCityLassScript, -1