summaryrefslogtreecommitdiff
path: root/maps/OlivineLighthouse6F.asm
blob: eae9d80334a46d0c2740a9a617fd49c33dd2b77e (plain)
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
295
296
297
298
299
300
301
302
OlivineLighthouse6F_MapScriptHeader: ; 0x60b8f
	; trigger count
	db 0

	; callback count
	db 0
; 0x60b91

JasmineScript_0x60b91: ; 0x60b91
	faceplayer
	loadfont
	checkitem SECRETPOTION
	iftrue UnknownScript_0x60bab
	checkevent $0037
	iftrue UnknownScript_0x60ba5
	2writetext UnknownText_0x60c81
	keeptextopen
	setevent $0037
UnknownScript_0x60ba5: ; 0x60ba5
	2writetext UnknownText_0x60d64
	closetext
	loadmovesprites
	end
; 0x60bab

UnknownScript_0x60bab: ; 0x60bab
	2writetext UnknownText_0x60d99
	yesorno
	iffalse UnknownScript_0x60c25
	2writetext UnknownText_0x60dc3
	keeptextopen
	takeitem SECRETPOTION, 1
	2writetext UnknownText_0x60dea
	closetext
	loadmovesprites
	spriteface $2, $3
	pause 15
	spriteface $3, $2
	loadfont
	playmusic $000d
	2writetext UnknownText_0x60e44
	pause 60
	keeptextopen
	loadmovesprites
	special $003d
	cry AMPHAROS
	special $002e
	pause 10
	special $0031
	loadfont
	2writetext UnknownText_0x60f3d
	closetext
	loadmovesprites
	spriteface $3, $3
	pause 10
	spriteface $3, $2
	pause 10
	spriteface $3, $3
	pause 10
	spriteface $3, $2
	pause 10
	faceplayer
	loadfont
	2writetext UnknownText_0x60e6c
	closetext
	loadmovesprites
	setevent EVENT_JASMINE_RETURNED_TO_GYM
	clearevent $06d3
	checkcode $9
	if_equal $0, UnknownScript_0x60c17
	if_equal $3, UnknownScript_0x60c1e
	applymovement $2, MovementData_0x60c68
	disappear $2
	end
; 0x60c17

UnknownScript_0x60c17: ; 0x60c17
	applymovement $2, MovementData_0x60c70
	disappear $2
	end
; 0x60c1e

UnknownScript_0x60c1e: ; 0x60c1e
	applymovement $2, MovementData_0x60c79
	disappear $2
	end
; 0x60c25

UnknownScript_0x60c25: ; 0x60c25
	2writetext UnknownText_0x60edf
	closetext
	loadmovesprites
	spriteface $2, $3
	pause 15
	spriteface $3, $2
	loadfont
	2writetext UnknownText_0x60ef1
	closetext
	loadmovesprites
	end
; 0x60c39

UnknownScript_0x60c39: ; 0x60c39
	end
; 0x60c3a

MonsterScript_0x60c3a: ; 0x60c3a
	faceplayer
	loadfont
	checkevent EVENT_JASMINE_RETURNED_TO_GYM
	iftrue UnknownScript_0x60c51
	2writetext UnknownText_0x60f03
	writebyte AMPHAROS
	special $005f
	keeptextopen
	2writetext UnknownText_0x60f19
	closetext
	loadmovesprites
	end
; 0x60c51

UnknownScript_0x60c51: ; 0x60c51
	2writetext UnknownText_0x60f3d
	cry AMPHAROS
	closetext
	loadmovesprites
	special $002e
	special $0031
	special $002e
	special $0031
	end
; 0x60c66

ItemFragment_0x60c66: ; 0x60c66
	db SUPER_POTION, 1
; 0x60c68

MovementData_0x60c68: ; 0x60c68
	slow_step_up
	slow_step_up
	slow_step_right
	slow_step_up
	slow_step_up
	accelerate_last
	accelerate_last
	step_end
; 0x60c70

MovementData_0x60c70: ; 0x60c70
	slow_step_down
	slow_step_right
	slow_step_right
	slow_step_right
	slow_step_up
	slow_step_right
	slow_step_right
	slow_step_right
	step_end
; 0x60c79

MovementData_0x60c79: ; 0x60c79
	slow_step_up
	slow_step_up
	slow_step_right
	slow_step_up
	slow_step_up
	slow_step_up
	accelerate_last
	step_end
; 0x60c81

UnknownText_0x60c81: ; 0x60c81
	text "JASMINE: … This"
	line "#MON always"

	para "kept the sea lit"
	line "at night."

	para "…But it suddenly"
	line "got sick… It's"
	cont "gasping for air…"

	para "…I understand"
	line "that there is a"

	para "wonderful PHARMACY"
	line "in CIANWOOD…"

	para "But that's across"
	line "the sea…"

	para "And I can't leave"
	line "AMPHY unattended…"
	done
; 0x60d64

UnknownText_0x60d64: ; 0x60d64
	text "…May I ask you to"
	line "get some medicine"
	cont "for me? Please?"
	done
; 0x60d99

UnknownText_0x60d99: ; 0x60d99
	text "JASMINE: …Will"
	line "that medicine cure"
	cont "AMPHY?"
	done
; 0x60dc3

UnknownText_0x60dc3: ; 0x60dc3
	text $52, " handed the"
	line "SECRETPOTION to"
	cont "JASMINE."
	done
; 0x60dea

UnknownText_0x60dea: ; 0x60dea
	text "JASMINE: …Um,"
	line "please don't be"
	cont "offended…"

	para "…AMPHY will not"
	line "take anything from"
	cont "anyone but me…"
	done
; 0x60e44

UnknownText_0x60e44: ; 0x60e44
	text "JASMINE: …"

	para "AMPHY, how are you"
	line "feeling?"
	done
; 0x60e6c

UnknownText_0x60e6c: ; 0x60e6c
	text "JASMINE: …Oh, I'm"
	line "so relieved…"

	para "This is just so"
	line "wonderful…"

	para "Thank you so very,"
	line "very much."

	para "…I will return to"
	line "the GYM…"
	done
; 0x60edf

UnknownText_0x60edf: ; 0x60edf
	text "JASMINE: …I see…"
	done
; 0x60ef1

UnknownText_0x60ef1: ; 0x60ef1
	text "…AMPHY, hang on!"
	done
; 0x60f03

UnknownText_0x60f03: ; 0x60f03
	text "AMPHY: …"
	line "…Pa… paloo…"
	done
; 0x60f19

UnknownText_0x60f19: ; 0x60f19
	text "Its breathing is"
	line "terribly labored…"
	done
; 0x60f3d

UnknownText_0x60f3d: ; 0x60f3d
	text "AMPHY: Palu!"
	line "Palulu!"
	done
; 0x60f53

OlivineLighthouse6F_MapEventHeader: ; 0x60f53
	; filler
	db 0, 0

	; warps
	db 3
	warp_def $f, $9, 1, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
	warp_def $5, $10, 6, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F
	warp_def $5, $11, 7, GROUP_OLIVINE_LIGHTHOUSE_5F, MAP_OLIVINE_LIGHTHOUSE_5F

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 3
	person_event SPRITE_JASMINE, 12, 12, $6, $0, 255, 255, $80, 0, JasmineScript_0x60b91, $06d2
	person_event SPRITE_MONSTER, 12, 13, $6, $0, 255, 255, $b0, 0, MonsterScript_0x60c3a, $ffff
	person_event SPRITE_POKE_BALL, 8, 7, $1, $0, 255, 255, $1, 0, ItemFragment_0x60c66, $0668
; 0x60f8f