summaryrefslogtreecommitdiff
path: root/maps/BurnedTowerB1F.asm
blob: e5cc4ced1a57a486b6365bb29216fe1e4b8a4030 (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
BurnedTowerB1F_MapScriptHeader: ; 0x186151
	; trigger count
	db 2

	; triggers
	dw UnknownScript_0x18615e, $0000
	dw UnknownScript_0x18615f, $0000

	; callback count
	db 1

	; callbacks

	dbw 1, UnknownScript_0x186160
; 0x18615e

UnknownScript_0x18615e: ; 0x18615e
	end
; 0x18615f

UnknownScript_0x18615f: ; 0x18615f
	end
; 0x186160

UnknownScript_0x186160: ; 0x186160
	checkevent EVENT_RELEASED_THE_BEASTS
	iftrue UnknownScript_0x18616a
	changeblock $6, $e, $2
UnknownScript_0x18616a: ; 0x18616a
	return
; 0x18616b

UnknownScript_0x18616b: ; 0x18616b
	playmusic $0000
	pause 30
	appear $3
	spriteface $0, $1
	pause 5
	disappear $6
	pause 15
	cry RAIKOU
	appear $4
	spriteface $0, $1
	pause 5
	disappear $7
	pause 15
	cry ENTEI
	appear $5
	spriteface $0, $1
	pause 5
	disappear $8
	pause 15
	cry SUICUNE
	pause 15
	playsound $0014
	spriteface $0, $2
	applymovement $3, MovementData_0x186236
	disappear $3
	waitbutton
	playsound $0014
	spriteface $0, $3
	applymovement $4, MovementData_0x18623b
	disappear $4
	waitbutton
	pause 15
	playsound $0014
	spriteface $0, $1
	applymovement $5, MovementData_0x186241
	playsound $0014
	spriteface $0, $0
	applymovement $5, MovementData_0x186248
	spriteface $0, $1
	pause 20
	cry SUICUNE
	pause 30
	playsound $0014
	applymovement $5, MovementData_0x186253
	spriteface $0, $0
	disappear $5
	waitbutton
	special $003d
	dotrigger $1
	setevent EVENT_RELEASED_THE_BEASTS
	special $0069
	domaptrigger GROUP_ECRUTEAK_GYM, MAP_ECRUTEAK_GYM, $1
	domaptrigger GROUP_CIANWOOD_CITY, MAP_CIANWOOD_CITY, $1
	clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
	setevent $07a8
	clearevent $07a9
	setevent $0764
	setevent $0765
	appear $a
	refreshscreen $0
	changeblock $6, $e, $1b
	reloadmappart
	loadmovesprites
	dotrigger $1
	end
; 0x186212

SuperNerdScript_0x186212: ; 0x186212
	faceplayer
	loadfont
	2writetext UnknownText_0x18626a
	closetext
	loadmovesprites
	checkcode $9
	if_equal $1, UnknownScript_0x186226
	applymovement $a, MovementData_0x186263
	2jump UnknownScript_0x18622a
; 0x186226

UnknownScript_0x186226: ; 0x186226
	applymovement $a, MovementData_0x18625c
UnknownScript_0x18622a: ; 0x18622a
	disappear $a
	playsound $0023
	waitbutton
	end
; 0x186231

ItemFragment_0x186231: ; 0x186231
	db TM_20, 1
; 0x186233

BoulderScript_0x186233: ; 0x186233
	jumpstd $000e
; 0x186236

MovementData_0x186236: ; 0x186236
	db $39 ; movement
	fast_jump_step_down
	fast_jump_step_left
	db $38 ; movement
	step_end
; 0x18623b

MovementData_0x18623b: ; 0x18623b
	db $39 ; movement
	fast_jump_step_right
	fast_jump_step_down
	fast_jump_step_right
	db $38 ; movement
	step_end
; 0x186241

MovementData_0x186241: ; 0x186241
	db $39 ; movement
	fast_jump_step_right
	fast_jump_step_down
	fast_jump_step_down
	fast_jump_step_left
	db $38 ; movement
	step_end
; 0x186248

MovementData_0x186248: ; 0x186248
	db $39 ; movement
	fast_jump_step_left
	fast_jump_step_up
	big_step_up
	fast_jump_step_right
	db $38 ; movement
	step_end
; 0x18624f

MovementData_0x18624f: ; 0x18624f
	db $39 ; movement
	big_step_down
	db $38 ; movement
	step_end
; 0x186253

MovementData_0x186253: ; 0x186253
	db $39 ; movement
	big_step_up
	fast_jump_step_right
	fast_jump_step_down
	fast_jump_step_down
	fast_jump_step_down
	fast_jump_step_down
	db $38 ; movement
	step_end
; 0x18625c

MovementData_0x18625c: ; 0x18625c
	step_left
	step_left
	step_down
	step_down
	step_left
	step_down
	step_end
; 0x186263

MovementData_0x186263: ; 0x186263
	step_down
	step_left
	step_left
	step_left
	step_down
	step_down
	step_end
; 0x18626a

UnknownText_0x18626a: ; 0x18626a
	text "EUSINE: I dug a"
	line "hole here, too…"

	para "I was shocked!"

	para "SUICUNE raced by"
	line "like a blur, right"

	para "in front of my"
	line "eyes!"

	para "For ten years I"
	line "chased SUICUNE,"

	para "and I finally got"
	line "to see it."

	para "I'm all choked up!"

	para $52, ", I owe"
	line "this all to you!"

	para "Thank you!"

	para "I heard that the"
	line "legendary #MON"

	para "of ECRUTEAK test"
	line "chosen humans by"

	para "allowing them to"
	line "get close."

	para "I'm going to track"
	line "SUICUNE."

	para $52, ", let's"
	line "meet again!"

	para "Farewell!"
	done
; 0x1863de

BurnedTowerB1F_MapEventHeader: ; 0x1863de
	; filler
	db 0, 0

	; warps
	db 6
	warp_def $9, $a, 3, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F
	warp_def $7, $11, 7, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F
	warp_def $8, $a, 9, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F
	warp_def $d, $3, 10, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F
	warp_def $e, $11, 12, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F
	warp_def $f, $7, 14, GROUP_BURNED_TOWER_1F, MAP_BURNED_TOWER_1F

	; xy triggers
	db 1
	xy_trigger 0, $6, $a, $0, UnknownScript_0x18616b, $0, $0

	; signposts
	db 0

	; people-events
	db 9
	person_event SPRITE_BOULDER, 12, 21, $19, $0, 255, 255, $0, 0, BoulderScript_0x186233, $ffff
	person_event SPRITE_RAIKOU, 7, 11, $16, $0, 255, 255, $b0, 0, ObjectEvent, $074a
	person_event SPRITE_ENTEI, 7, 16, $16, $0, 255, 255, $80, 0, ObjectEvent, $074a
	person_event SPRITE_SUICUNE, 8, 14, $16, $0, 255, 255, $90, 0, ObjectEvent, $074a
	person_event SPRITE_RAIKOU, 7, 11, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b
	person_event SPRITE_ENTEI, 7, 16, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b
	person_event SPRITE_SUICUNE, 8, 14, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b
	person_event SPRITE_POKE_BALL, 8, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x186231, $0657
	person_event SPRITE_SUPER_NERD, 16, 14, $7, $0, 255, 255, $90, 0, SuperNerdScript_0x186212, $07aa
; 0x18647f