summaryrefslogtreecommitdiff
path: root/data/scripts/script_080165D8.inc
blob: ac2b01c1e1caa15b93c16ac603fab0e97bf4a597 (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
SCRIPT_START script_080165D8
	Wait 0x001e
	CheckPlayerInRegion2 0x2020
	JumpAbsoluteIfNot script_080165D8
	DoPostScriptAction 0x0003
	Call script_0801637C+1
	JumpAbsolute script_080165D8
	.2byte 0x0000
SCRIPT_START script_080165F8
	BeginBlock 
	_0807E9D4 
	EndBlock 
script_080165FE:
	_0807E30C 
	JumpIfNot script_080165FE
	TextboxNoOverlapFollow 0x0601
	Jump script_080165FE
SCRIPT_START script_0801660C
	BeginBlock 
	_0807E9D4 
	EndBlock 
script_08016612:
	_0807E944 
	_0807E864 
	TextboxNoOverlapFollow 0x0602
	_0807EA94 
	Wait 0x000f
	_0807E878 
	Jump script_08016612
	.2byte 0x0000
SCRIPT_START script_08016628
	BeginBlock 
	_0807E9D4 
	EndBlock 
script_0801662E:
	_0807E944 
	_0807E864 
	_0807EB28 0x0603
	_0807EA94 
	Wait 0x000f
	_0807E878 
	Jump script_0801662E
	.2byte 0x0000
SCRIPT_START script_08016644
	SetEntitySpeed 0x0100
script_08016648:
	_0807ECF4 0x0030
	Wait 0x0008
	_0807ECC4 0x0030
	Wait 0x0008
	_0807EC94 0x0030
	Wait 0x0008
	_0807EC64 0x0030
	Wait 0x0008
	Jump script_08016648
SCRIPT_START script_0801666C
	_0807ED24 0x0055, 0x0039, 0x00b4
	Wait 0x0008
	_0807ED24 0x0075, 0x0076, 0x003c
	Wait 0x0008
	_0807ED24 0x0105, 0x006c, 0x0078
	Wait 0x0008
	_0807ED24 0x018e, 0x007a, 0x0078
	Wait 0x0008
	_0807ED24 0x0173, 0x0023, 0x003c
	Wait 0x0008
	_0807ED24 0x00d8, 0x003f, 0x003c
	Wait 0x0008
	Jump script_0801666C
SCRIPT_START script_080166B8
	SetEntitySpeed 0x0100
script_080166BC:
	_0807EDD4 0x0055, 0x0039
	Wait 0x0008
	_0807EDD4 0x0075, 0x0076
	Wait 0x0008
	_0807EDD4 0x0105, 0x006c
	Wait 0x0008
	_0807EDD4 0x018e, 0x007a
	Wait 0x0008
	_0807EDD4 0x0173, 0x0023
	Wait 0x0008
	_0807EDD4 0x00d8, 0x003f
	Wait 0x0008
	Jump script_080166BC
SCRIPT_START script_080166FC
	SetEntitySpeed 0x0100
script_08016700:
	_0807EC94 0x0030
	_0807E5F8 0x00000002
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	WaitForSomething 0x00000001
	_0807E610 0x00000001
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	WaitForSomething 0x00000001
	_0807E610 0x00000001
	_0807ECF4 0x0030
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	Wait 0x001e
	_0807E5F8 0x00000006
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	Wait 0x003c
	Jump script_08016700
SCRIPT_START script_08016798	
	SetEntitySpeed 0x0100
script_0801679C:
	WaitForSomething 0x00000002
	_0807E610 0x00000002
	_0807EC94 0x0030
	_0807E5F8 0x00000004
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	WaitForSomething 0x00000002
	_0807E610 0x00000002
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	WaitForSomething 0x00000002
	_0807E610 0x00000002
	_0807ECF4 0x0030
	_0807E5F8 0x00000001
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	WaitForSomething 0x00000002
	_0807E610 0x00000002
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	Jump script_0801679C
SCRIPT_START script_08016844
	SetEntitySpeed 0x0100
script_08016848:
	WaitForSomething 0x00000004
	_0807E610 0x00000004
	_0807EC94 0x0030
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	Wait 0x001e
	_0807E5F8 0x00000003
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	Wait 0x003c
	_0807ECF4 0x0030
	_0807E5F8 0x00000002
	Wait 0x000f
	DoPostScriptAction 0x0000
	_0807EB44 0x0004
	WaitForSomething 0x00000004
	_0807E610 0x00000004
	DoPostScriptAction 0x0003
	Wait 0x0002
	_0807EB44 0x0006
	Wait 0x0002
	_0807EB44 0x0000
	Wait 0x0002
	_0807EB44 0x0002
	Wait 0x0002
	_0807EB44 0x0004
	Jump script_08016848
SCRIPT_START script_080168E0
	BeginBlock 
	_0807E9D4 
	EndBlock 
script_080168E6:
	_0807E944 
	_0807E864 
	Wait 0x000f
	_0807E878 
	Jump script_080168E6
SCRIPT_START script_080168F4
	BeginBlock 
	Call sub_08064EA4
	_0807EB44 0x0004
	DoPostScriptAction 0x0000
	DoPostScriptAction 0x000a
	EndBlock 
script_0801690A:
	_0807E30C 
	JumpIfNot script_0801690A
	_0807E864 
	_0807EB74 
	Call sub_08064F28
	_0807EA94 
	JumpIfNot script_08016926
	_0807F034 0x003d
	WaitPlayerAction8 
script_08016926:
	_0807E878 
	SetGlobalFlag 0x005c
	Jump script_0801690A
	BeginBlock 
	_0807E9D4 
	_0807EB44 0x0000
	DoPostScriptAction 0x000a
	EndBlock 
script_0801693E:
	_0807E944 
	_0807E864 
	Wait 0x0018
	TextboxNoOverlapFollow 0x0a01
	_0807EA94 
	Wait 0x000f
	_0807E878 
	Jump script_0801693E
	.2byte 0x0000
	BeginBlock 
	_0807E9D4 
	_0807EB44 0x0000
	DoPostScriptAction 0x000a
	_0807E930 0x0000
	EndBlock 
script_0801696A:
	_0807E944 
	_0807E864 
	Wait 0x0018
	TextboxNoOverlapFollow 0x0a01
	_0807EA94 
	Wait 0x000f
	_0807E878 
	Jump script_0801696A
	.2byte 0x0000