1 |
if (followcon == 1) |
2 |
{ |
3 |
if (obj_mainchara.x >= (x + 100)) |
4 |
{ |
5 |
sprite_index = spr_lancer_rt; |
6 |
xval = 4; |
7 |
if (obj_mainchara.px > 4) |
8 |
xval = obj_mainchara.px; |
9 |
x += xval; |
10 |
followbuffer = 10; |
11 |
} |
12 |
if (obj_mainchara.x <= (x - 100)) |
13 |
{ |
14 |
sprite_index = spr_lancer_lt; |
15 |
xval = -4; |
16 |
if (obj_mainchara.px < -4) |
17 |
xval = obj_mainchara.px; |
18 |
x += xval; |
19 |
followbuffer = 10; |
20 |
} |
21 |
if (followbuffer <= 0) |
22 |
sprite_index = spr_lancer_dt; |
23 |
} |
24 |
followbuffer -= 1; |
25 |
if (con == 1) |
26 |
{ |
27 |
x = obj_mainchara.x; |
28 |
con = 2; |
29 |
} |
30 |
if (con == 2) |
31 |
{ |
32 |
if (room == room_forest_afterthrash2) |
33 |
{ |
34 |
if (obj_mainchara.x >= 500 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 3) |
35 |
{ |
36 |
global.interact = 1; |
37 |
global.facing = 2; |
38 |
with (obj_caterpillarchara) |
39 |
{ |
40 |
fun = 1; |
41 |
sprite_index = usprite; |
42 |
image_index = 0; |
43 |
} |
44 |
global.fc = 5; |
45 |
global.fe = 3; |
46 |
global.typer = 32; |
47 |
global.msg[0] = * Wow,Delay 11 this is cool!!!Wait for input ; |
48 |
global.msg[1] = \E6* I've never been on such a big team before!!!Wait for input ; |
49 |
scr_ralface(2, 8); |
50 |
global.msg[3] = * Don't you have a legion of...Delay 11 various guys?Wait for input ; |
51 |
scr_lanface(4, 7); |
52 |
global.msg[5] = * Yeah,Delay 11 but my dad forced them to listen to me.Wait for input ; |
53 |
global.msg[6] = \E4* So they don't actually like me very much.Wait for input ; |
54 |
scr_susface(7, 0); |
55 |
global.msg[8] = * Heh,Delay 11 well you don't need those clowns anymore.Wait for input ; |
56 |
global.msg[9] = \E2* Just chill with us.Wait for input ; |
57 |
scr_lanface(10, 1); |
58 |
global.msg[11] = * Aye aye!Wait for inputClose Message ; |
59 |
con = 4; |
60 |
instance_create(0, 0, obj_dialoguer); |
61 |
global.flag[229 lancer_follow_progress] = 3; |
62 |
} |
63 |
if (obj_mainchara.x >= 1400 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 4) |
64 |
{ |
65 |
global.interact = 1; |
66 |
global.fc = 1; |
67 |
global.fe = 0; |
68 |
global.typer = 30; |
69 |
global.msg[0] = * Man,Delay 11 I'm STILL hungry.Wait for input ; |
70 |
global.msg[1] = \E0* It's like nothing I eat here matters.Wait for input ; |
71 |
global.msg[2] = \E2* Shoulda stolen more money for the bake sale,Delay 11 I guess.Wait for input ; |
72 |
scr_ralface(3, 6); |
73 |
global.msg[4] = * ... I WAS thinking of baking a cake later.Wait for input ; |
74 |
scr_susface(5, 0); |
75 |
global.msg[6] = * Mmmmm... what's the catch.Wait for input ; |
76 |
scr_ralface(7, 1); |
77 |
global.msg[8] = * ... you have to stop making fun of me,Delay 11 for one.Wait for input ; |
78 |
scr_susface(9, 7); |
79 |
global.msg[10] = * PASS!!!Wait for inputClose Message ; |
80 |
con = 6; |
81 |
instance_create(0, 0, obj_dialoguer); |
82 |
global.flag[229 lancer_follow_progress] = 4; |
83 |
} |
84 |
if (obj_mainchara.x >= 99999 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 5) |
85 |
{ |
86 |
global.interact = 1; |
87 |
global.fc = 2; |
88 |
global.fe = 8; |
89 |
global.typer = 32; |
90 |
global.msg[0] = * ... I WAS thinking of making Darkberry Teacakes later.Wait for input ; |
91 |
scr_susface(1, 0); |
92 |
global.msg[2] = * Mmmmm... what's the catch.Wait for input ; |
93 |
scr_ralface(3, 1); |
94 |
global.msg[4] = * ... you have to stop making fun of me,Delay 11 for one.Wait for input ; |
95 |
scr_susface(5, 7); |
96 |
global.msg[6] = * PASS!!!Wait for inputClose Message ; |
97 |
con = 6; |
98 |
instance_create(0, 0, obj_dialoguer); |
99 |
global.flag[229 lancer_follow_progress] = 5; |
100 |
} |
101 |
} |
102 |
if (room == room_forest_afterthrash3) |
103 |
{ |
104 |
if (obj_mainchara.x >= 360 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 6) |
105 |
{ |
106 |
global.interact = 1; |
107 |
global.facing = 1; |
108 |
followcon = 0; |
109 |
sprite_index = spr_lancer_rt; |
110 |
global.fc = 5; |
111 |
global.fe = 2; |
112 |
global.typer = 32; |
113 |
global.msg[0] = * Look,Delay 11 Susie!Delay 11 * A candy tree!Wait for input ; |
114 |
scr_susface(1, 2); |
115 |
global.msg[2] = * Hell yeah!Wait for inputClose Message ; |
116 |
con = 20; |
117 |
instance_create(0, 0, obj_dialoguer); |
118 |
global.flag[229 lancer_follow_progress] = 6; |
119 |
} |
120 |
if (obj_mainchara.x >= 1200 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 7) |
121 |
{ |
122 |
global.interact = 1; |
123 |
global.facing = 2; |
124 |
with (obj_caterpillarchara) |
125 |
{ |
126 |
fun = 1; |
127 |
sprite_index = usprite; |
128 |
image_index = 0; |
129 |
} |
130 |
global.fc = 1; |
131 |
global.fe = 0; |
132 |
global.typer = 30; |
133 |
global.msg[0] = * ... so what's it taste like?Wait for input ; |
134 |
scr_lanface(1, 3); |
135 |
global.msg[2] = * Yumn yumn yumn!Delay 11 It tastes like friendship!Wait for input ; |
136 |
scr_susface(3, 6); |
137 |
global.msg[4] = * What's THAT taste like???Wait for input ; |
138 |
scr_lanface(5, 1); |
139 |
global.msg[6] = * Hahaha!!Delay 11 Like my teeth are disintegrating!!Wait for inputClose Message ; |
140 |
con = 6; |
141 |
speclaugh = 1; |
142 |
instance_create(0, 0, obj_dialoguer); |
143 |
global.flag[229 lancer_follow_progress] = 7; |
144 |
} |
145 |
} |
146 |
if (room == room_forest_afterthrash4) |
147 |
{ |
148 |
if (obj_mainchara.x >= 360 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 8) |
149 |
{ |
150 |
global.interact = 1; |
151 |
global.facing = 2; |
152 |
with (obj_caterpillarchara) |
153 |
{ |
154 |
fun = 1; |
155 |
sprite_index = usprite; |
156 |
image_index = 0; |
157 |
} |
158 |
sprite_index = spr_lancer_dt; |
159 |
global.fc = 5; |
160 |
global.fe = 3; |
161 |
global.typer = 32; |
162 |
global.msg[0] = * Just walking along with you guys...Delay 11 Feels nice.Wait for input ; |
163 |
global.msg[1] = \E7* Like I'm doing something... important.Wait for input ; |
164 |
scr_ralface(2, 8); |
165 |
global.msg[3] = * That's because you're alongside the Lightners,Delay 11 Lancer.Wait for input ; |
166 |
global.msg[4] = \E0* Our purpose - Darkners' purpose - is to assist them.Wait for input ; |
167 |
global.msg[5] = \E6* It's the only way we can feel truly fulfilled.Wait for input ; |
168 |
scr_lanface(6, 6); |
169 |
global.msg[7] = * Really...?Wait for input ; |
170 |
global.msg[8] = \E4* ... but my dad hates Lightners.Delay 11 He wants to...Wait for input ; |
171 |
scr_ralface(9, 1); |
172 |
global.msg[10] = * Does your dad seem happy?Wait for input ; |
173 |
scr_lanface(11, 4); |
174 |
global.msg[12] = * ... I'm...Delay 11 not sure.Wait for inputClose Message ; |
175 |
con = 4; |
176 |
instance_create(0, 0, obj_dialoguer); |
177 |
global.flag[229 lancer_follow_progress] = 8; |
178 |
} |
179 |
if (obj_mainchara.x >= 800 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 9) |
180 |
{ |
181 |
global.interact = 1; |
182 |
sprite_index = spr_lancer_dt; |
183 |
global.fc = 1; |
184 |
global.fe = 0; |
185 |
global.typer = 30; |
186 |
global.msg[0] = * Hey,Delay 11 uh,Delay 11 let's ditch the weird "purpose" talk.Wait for input ; |
187 |
global.msg[1] = * You're probably just glad you ate a weird berry.Wait for input ; |
188 |
scr_lanface(2, 2); |
189 |
global.msg[3] = * Yeah!!Delay 11 I'm still boost from the juice!!!Wait for input ; |
190 |
scr_susface(4, 2); |
191 |
global.msg[5] = * I mean,Delay 11 LOOK,Delay 11 I'M not from here,Delay 11 and hanging out like this...Wait for input ; |
192 |
global.msg[6] = \E6* I also feel kinda,Delay 11 uh,Delay 11 y'know...Wait for input ; |
193 |
scr_ralface(7, 6); |
194 |
global.msg[8] = * ... happy?Wait for input ; |
195 |
scr_susface(9, 2); |
196 |
global.msg[10] = * Psshh,Delay 11 nah.Wait for inputClose Message ; |
197 |
con = 4; |
198 |
instance_create(0, 0, obj_dialoguer); |
199 |
global.flag[229 lancer_follow_progress] = 9; |
200 |
} |
201 |
if (obj_mainchara.x >= 1200 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 10) |
202 |
{ |
203 |
global.interact = 1; |
204 |
global.fc = 1; |
205 |
global.fe = 12; |
206 |
global.typer = 30; |
207 |
global.msg[0] = * ... maybe.Wait for inputClose Message ; |
208 |
con = 4; |
209 |
instance_create(0, 0, obj_dialoguer); |
210 |
global.flag[229 lancer_follow_progress] = 10; |
211 |
} |
212 |
} |
213 |
if (room == room_forest_castleview) |
214 |
{ |
215 |
if (obj_mainchara.x >= 720 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 11) |
216 |
{ |
217 |
global.interact = 1; |
218 |
global.facing = 2; |
219 |
with (obj_caterpillarchara) |
220 |
{ |
221 |
fun = 1; |
222 |
sprite_index = usprite; |
223 |
image_index = 0; |
224 |
} |
225 |
con = 12; |
226 |
global.typer = 31; |
227 |
global.fc = 2; |
228 |
global.fe = 8; |
229 |
global.msg[0] = * Look,Delay 11 everyone!Delay 11 We can see the castle!Wait for input ; |
230 |
scr_lanface(1, 2); |
231 |
global.msg[2] = * Yes!Delay 11 That's where I live!Wait for input ; |
232 |
global.msg[3] = \E3* Me and,Delay 11 uh...Wait for input ; |
233 |
global.msg[4] = \E6* My...Delay 11 My dad.Wait for input ; |
234 |
scr_susface(5, 0); |
235 |
global.msg[6] = * What's that black thing emerging from the top...?Wait for input ; |
236 |
scr_ralface(7, 0); |
237 |
global.msg[8] = * That's the FOUNTAIN,Delay 11 Susie! If we can get there...Wait for input ; |
238 |
global.msg[9] = \E8* You and Kris will finally be able to go home!Wait for input ; |
239 |
scr_susface(10, 0); |
240 |
global.msg[11] = * Jeez,Delay 11 took long enough.Wait for input ; |
241 |
global.msg[12] = \E2* Kris,Delay 11 Lancer,Delay 11 let's go!Wait for input ; |
242 |
scr_lanface(13, 6); |
243 |
global.msg[14] = * ...Wait for inputClose Message ; |
244 |
instance_create(0, 0, obj_dialoguer); |
245 |
global.flag[229 lancer_follow_progress] = 11; |
246 |
} |
247 |
if (obj_mainchara.x >= 1600 && global.interact == 0 && global.flag[229 lancer_follow_progress] < 12) |
248 |
{ |
249 |
global.interact = 1; |
250 |
global.facing = 2; |
251 |
with (obj_caterpillarchara) |
252 |
{ |
253 |
fun = 1; |
254 |
sprite_index = usprite; |
255 |
image_index = 0; |
256 |
} |
257 |
con = 100; |
258 |
followcon = 0; |
259 |
sprite_index = spr_lancer_rt_unhappy; |
260 |
global.typer = 32; |
261 |
global.fc = 5; |
262 |
global.fe = 6; |
263 |
global.msg[0] = * Are you sure there...Delay 11 isn't another way home?Wait for input ; |
264 |
global.msg[1] = * The FOUNTAIN is being guarded right now.Wait for input ; |
265 |
global.msg[2] = * If you try to go there,Delay 11 um...Wait for input ; |
266 |
global.msg[3] = \E4* Y...Delay 11 You might...Delay 11 get hurt.Delay 11 And...Delay 11Wait for input ; |
267 |
scr_susface(4, 0); |
268 |
global.msg[5] = * What?Delay 11 C'mon, Lancer.Wait for input ; |
269 |
global.msg[6] = \E2* NO ONE's gonna beat a team like us!Wait for input ; |
270 |
global.msg[7] = \E0* If anyone gets in our way,Delay 11 all we gotta do...Wait for input ; |
271 |
global.msg[8] = \E4* ... is CRUSH them.Wait for input ; |
272 |
scr_lanface(9, "C"); |
273 |
global.msg[10] = * ...Wait for inputClose Message ; |
274 |
instance_create(0, 0, obj_dialoguer); |
275 |
global.flag[229 lancer_follow_progress] = 12; |
276 |
} |
277 |
} |
278 |
} |
279 |
if (con == 4 && !d_ex()) |
280 |
{ |
281 |
global.facing = 1; |
282 |
global.interact = 0; |
283 |
con = 2; |
284 |
followcon = 1; |
285 |
with (obj_caterpillarchara) |
286 |
{ |
287 |
fun = 0; |
288 |
sprite_index = rsprite; |
289 |
image_index = 0; |
290 |
} |
291 |
} |
292 |
if (con == 6 && !d_ex()) |
293 |
{ |
294 |
with (obj_caterpillarchara) |
295 |
{ |
296 |
if (dsprite == spr_susied_dark) |
297 |
{ |
298 |
fun = 1; |
299 |
sprite_index = spr_susier_dark_laugh; |
300 |
image_speed = 0.25; |
301 |
} |
302 |
} |
303 |
followcon = 0; |
304 |
sprite_index = spr_lancer_lt_laugh; |
305 |
image_speed = 0.25; |
306 |
ll = snd_play(snd_lancerlaugh); |
307 |
sl = snd_play(snd_suslaugh); |
308 |
snd_volume(ll, 0.8, 0); |
309 |
snd_volume(sl, 0.8, 0); |
310 |
con = 7; |
311 |
alarm[4] = 50; |
312 |
} |
313 |
if (con == 8) |
314 |
{ |
315 |
with (obj_caterpillarchara) |
316 |
{ |
317 |
fun = 0; |
318 |
image_speed = 0; |
319 |
sprite_index = rsprite; |
320 |
} |
321 |
sprite_index = spr_lancer_dt; |
322 |
followcon = 1; |
323 |
image_speed = 0; |
324 |
global.interact = 0; |
325 |
con = 2; |
326 |
if (speclaugh == 1) |
327 |
{ |
328 |
con = 9; |
329 |
global.interact = 1; |
330 |
with (obj_caterpillarchara) |
331 |
{ |
332 |
fun = 0; |
333 |
image_speed = 0; |
334 |
sprite_index = usprite; |
335 |
} |
336 |
} |
337 |
} |
338 |
if (con == 9) |
339 |
{ |
340 |
con = 4; |
341 |
global.fe = 2; |
342 |
global.fc = 1; |
343 |
global.typer = 30; |
344 |
global.msg[0] = * Haha, that's...Wait for input ; |
345 |
global.msg[1] = \E6* That's actually...Delay 11 bad.Wait for input ; |
346 |
scr_lanface(2, 2); |
347 |
global.msg[3] = * Haha,Delay 11 yeah!Delay 11 But thank you for sharing!Wait for input ; |
348 |
global.msg[4] = \E3* You're a good friend!!!Wait for input ; |
349 |
scr_susface(5, 6); |
350 |
global.msg[6] = * Well,Delay 11 uh...Wait for input ; |
351 |
global.msg[7] = \E1* ... you too,Delay 11 I guess.Wait for inputClose Message ; |
352 |
instance_create(0, 0, obj_dialoguer); |
353 |
} |
354 |
if (con == 12) |
355 |
{ |
356 |
followcon = 0; |
357 |
if (x <= (obj_mainchara.x + 100)) |
358 |
x += 10; |
359 |
else |
360 |
con = 4; |
361 |
sprite_index = spr_lancer_ut; |
362 |
} |
363 |
if (con >= 20 && con < 80) |
364 |
{ |
365 |
if (con == 20 && !d_ex()) |
366 |
{ |
367 |
depth = 800000; |
368 |
pointx = tree.x + 5; |
369 |
pointy = tree.y + 100; |
370 |
scr_markify_caterpillarscr_markify_caterpillarfunction scr_markify_caterpillar()
{
s = 4378473;
r = 4387437;
for (i = 0; i < 2; i += 1)
{
if (instance_exists(global.cinstance[i]))
{
if (global.char[i + 1] == 2)
{
s = scr_dark_marker(global.cinstance[i].x, global.cinstance[i].y, global.cinstance[i].sprite_index);
with (global.cinstance[i])
visible = 0;
}
if (global.char[i + 1] == 3)
{
r = scr_dark_marker(global.cinstance[i].x, global.cinstance[i].y, global.cinstance[i].sprite_index);
with (global.cinstance[i])
visible = 0;
}
}
}
} (); |
371 |
s.pointx = pointx; |
372 |
s.pointy = pointy; |
373 |
susx = s.x; |
374 |
susy = s.y; |
375 |
hspeed = 10; |
376 |
treecon = 1; |
377 |
sprite_index = spr_lancer_rt; |
378 |
with (s) |
379 |
{ |
380 |
sprite_index = spr_susier_dark; |
381 |
scr_move_to_point_over_time(pointx, pointy - 10, 60); |
382 |
image_speed = 0.25; |
383 |
} |
384 |
con = 21; |
385 |
alarm[4] = 60; |
386 |
} |
387 |
if (con == 21) |
388 |
{ |
389 |
with (s) |
390 |
scr_depth(); |
391 |
} |
392 |
if (treecon == 1) |
393 |
{ |
394 |
if (x >= (tree.x + 160)) |
395 |
{ |
396 |
hspeed = 0; |
397 |
vspeed = 10; |
398 |
sprite_index = spr_lancer_dt; |
399 |
treecon = 2; |
400 |
} |
401 |
} |
402 |
if (treecon == 2) |
403 |
{ |
404 |
if (y >= pointy) |
405 |
{ |
406 |
depth = 100000; |
407 |
vspeed = 0; |
408 |
hspeed = -10; |
409 |
sprite_index = spr_lancer_lt; |
410 |
treecon = 3; |
411 |
} |
412 |
} |
413 |
if (treecon == 3) |
414 |
{ |
415 |
if (x <= (pointx + 65)) |
416 |
{ |
417 |
x = pointx + 55; |
418 |
scr_halt(); |
419 |
} |
420 |
} |
421 |
if (con == 22) |
422 |
{ |
423 |
sprite_index = spr_lancer_lt; |
424 |
with (s) |
425 |
{ |
426 |
scr_halt(); |
427 |
sprite_index = spr_susieu_dark_jump; |
428 |
} |
429 |
con = 23; |
430 |
jumps = 0; |
431 |
jsy = s.y; |
432 |
alarm[4] = 15; |
433 |
} |
434 |
if (con == 24) |
435 |
{ |
436 |
con = 25; |
437 |
with (s) |
438 |
{ |
439 |
y -= 3; |
440 |
vspeed = -6; |
441 |
gravity = 1; |
442 |
} |
443 |
} |
444 |
if (con == 25) |
445 |
{ |
446 |
if (s.y >= (jsy - 6)) |
447 |
{ |
448 |
if (jumps < 2) |
449 |
{ |
450 |
s.y = jsy; |
451 |
vspeed = 0; |
452 |
gravity = 0; |
453 |
con = 24; |
454 |
jumps += 1; |
455 |
} |
456 |
else |
457 |
{ |
458 |
con = 26; |
459 |
alarm[4] = 20; |
460 |
with (s) |
461 |
{ |
462 |
gravity = 0; |
463 |
vspeed = 0; |
464 |
} |
465 |
s.y = jsy; |
466 |
} |
467 |
} |
468 |
} |
469 |
if (con == 27) |
470 |
{ |
471 |
with (s) |
472 |
sprite_index = spr_susier_dark; |
473 |
global.typer = 30; |
474 |
global.fc = 1; |
475 |
global.fe = 0; |
476 |
global.msg[0] = * ... damn,Delay 11 the last piece's too high to reach.Wait for input ; |
477 |
scr_lanface(1, 3); |
478 |
global.msg[2] = * Worry not,Delay 11 Susie!Wait for input ; |
479 |
global.msg[3] = \E2* I have a \cYSpecial Transformation\cW for times like this!Wait for input ; |
480 |
scr_susface(4, 6); |
481 |
global.msg[5] = * R-really!?Wait for input ; |
482 |
scr_lanface(6, 2); |
483 |
global.msg[7] = * Watch and learn,Delay 11 Team!!Wait for inputClose Message ; |
484 |
instance_create(0, 0, obj_dialoguer); |
485 |
con = 28; |
486 |
blender = 0; |
487 |
} |
488 |
if (con == 28 && !d_ex()) |
489 |
{ |
490 |
blender = 0; |
491 |
snd_play(snd_boost); |
492 |
con = 29; |
493 |
flash = scr_oflashscr_oflashfunction scr_oflash()
{
_oflash = instance_create(x, y, obj_oflash);
_oflash.image_xscale = image_xscale;
_oflash.image_speed = 0;
_oflash.image_index = image_index;
_oflash.image_yscale = image_yscale;
_oflash.sprite_index = sprite_index;
_oflash.depth = depth - 1;
_oflash.target = id;
return _oflash;
} (); |
494 |
flash.flashspeed = 0; |
495 |
fmax = 0; |
496 |
} |
497 |
if (con == 29) |
498 |
{ |
499 |
fmax += 0.2; |
500 |
if (instance_exists(flash)) |
501 |
flash.siner = fmax; |
502 |
if (fmax >= 5) |
503 |
con = 30; |
504 |
} |
505 |
if (con == 30) |
506 |
{ |
507 |
snd_play(snd_badexplosion); |
508 |
wh = instance_create(0, 0, obj_fadeout); |
509 |
wh.image_blend = c_white; |
510 |
con = 31; |
511 |
alarm[4] = 30; |
512 |
} |
513 |
if (con == 32) |
514 |
{ |
515 |
sprite_index = spr_lancer_lt_stool; |
516 |
with (wh) |
517 |
instance_destroy(); |
518 |
wh = instance_create(0, 0, obj_fadein); |
519 |
wh.fadespeed = -0.03; |
520 |
wh.image_blend = c_white; |
521 |
con = 33; |
522 |
alarm[4] = 40; |
523 |
with (flash) |
524 |
instance_destroy(); |
525 |
} |
526 |
if (con == 34) |
527 |
{ |
528 |
global.fe = 3; |
529 |
global.msg[0] = * Look!Delay 11 \cYStool Forme!Wait for input ; |
530 |
scr_ralface(1, 1); |
531 |
global.msg[2] = * ... all you did was put your hands on the ground.Wait for input ; |
532 |
scr_susface(3, 2); |
533 |
global.msg[4] = * Hey,Delay 11 don't act so jealous.Wait for inputClose Message ; |
534 |
con = 35; |
535 |
instance_create(0, 0, obj_dialoguer); |
536 |
} |
537 |
if (con == 35 && !d_ex()) |
538 |
{ |
539 |
iy = s.y - 40; |
540 |
with (s) |
541 |
{ |
542 |
image_index = 1; |
543 |
hspeed = 6; |
544 |
y -= 6; |
545 |
vspeed = -9; |
546 |
gravity = 1; |
547 |
} |
548 |
con = 36; |
549 |
} |
550 |
if (con == 36) |
551 |
{ |
552 |
if (s.y >= iy && s.vspeed >= 0) |
553 |
{ |
554 |
with (s) |
555 |
{ |
556 |
vspeed = 0; |
557 |
gravity = 0; |
558 |
hspeed = 0; |
559 |
image_index = 0; |
560 |
} |
561 |
con = 37; |
562 |
alarm[4] = 5; |
563 |
} |
564 |
} |
565 |
if (con == 38) |
566 |
{ |
567 |
iy = s.y; |
568 |
with (s) |
569 |
{ |
570 |
sprite_index = spr_susieu_dark_jump; |
571 |
y -= 5; |
572 |
vspeed = -11; |
573 |
gravity = 1; |
574 |
} |
575 |
con = 39; |
576 |
} |
577 |
if (con == 39) |
578 |
{ |
579 |
if (s.vspeed >= 0) |
580 |
{ |
581 |
with (tree) |
582 |
image_index = 1; |
583 |
} |
584 |
if (s.y >= (iy - 4)) |
585 |
{ |
586 |
with (s) |
587 |
{ |
588 |
vspeed = 0; |
589 |
gravity = 0; |
590 |
} |
591 |
con = 39.1; |
592 |
alarm[4] = 5; |
593 |
} |
594 |
} |
595 |
if (con == 40.1) |
596 |
{ |
597 |
with (s) |
598 |
{ |
599 |
sprite_index = spr_susiel_dark; |
600 |
image_index = 1; |
601 |
hspeed = -4; |
602 |
y -= 6; |
603 |
vspeed = -6; |
604 |
gravity = 1; |
605 |
} |
606 |
con = 41; |
607 |
} |
608 |
if (con == 41) |
609 |
{ |
610 |
if (s.y >= (jsy - 8)) |
611 |
{ |
612 |
s.y = jsy; |
613 |
sprite_index = spr_lancer_lt; |
614 |
with (s) |
615 |
{ |
616 |
image_index = 0; |
617 |
hspeed = 0; |
618 |
gravity = 0; |
619 |
vspeed = 0; |
620 |
} |
621 |
con = 42; |
622 |
} |
623 |
} |
624 |
if (con == 42) |
625 |
{ |
626 |
con = 43; |
627 |
alarm[4] = 15; |
628 |
} |
629 |
if (con == 44) |
630 |
{ |
631 |
global.fc = 1; |
632 |
global.fe = 2; |
633 |
global.typer = 30; |
634 |
global.msg[0] = * Heheh,Delay 11 got it.Wait for input ; |
635 |
scr_lanface(1, 3); |
636 |
global.msg[2] = * Ooo,Delay 11 tell me what it tastes like!Wait for inputClose Message ; |
637 |
instance_create(0, 0, obj_dialoguer); |
638 |
con = 45; |
639 |
} |
640 |
if (con == 45 && !d_ex()) |
641 |
{ |
642 |
with (s) |
643 |
sprite_index = spr_susier_dark_unhappy; |
644 |
con = 46; |
645 |
alarm[4] = 15; |
646 |
} |
647 |
if (con == 47) |
648 |
{ |
649 |
global.fc = 1; |
650 |
global.typer = 30; |
651 |
global.fe = 0; |
652 |
global.msg[0] = * Huh?Delay 11 You haven't had it before?Wait for input ; |
653 |
scr_lanface(1, 6); |
654 |
global.msg[2] = * Oh...Delay 11 I mean,Delay 11 I've always wondered what it's like...Wait for input ; |
655 |
global.msg[3] = \E4* But I'm not allowed to pick it for myself...Wait for input ; |
656 |
scr_susface(4, 0); |
657 |
global.msg[5] = * ...Wait for inputClose Message ; |
658 |
instance_create(0, 0, obj_dialoguer); |
659 |
con = 48; |
660 |
} |
661 |
if (con == 48 && !d_ex()) |
662 |
{ |
663 |
with (s) |
664 |
hspeed = 4; |
665 |
con = 49; |
666 |
alarm[4] = 5; |
667 |
} |
668 |
if (con == 50) |
669 |
{ |
670 |
with (s) |
671 |
scr_halt(); |
672 |
con = 51; |
673 |
alarm[4] = 10; |
674 |
} |
675 |
if (con == 52) |
676 |
{ |
677 |
global.msg[0] = * Well,Delay 11 you tell me what it tastes like.Wait for input ; |
678 |
scr_lanface(1, 3); |
679 |
global.msg[2] = * You're giving it to me...?Wait for input ; |
680 |
global.msg[3] = \E6* I thought you were hungry.Wait for input ; |
681 |
instance_create(0, 0, obj_dialoguer); |
682 |
con = 53; |
683 |
} |
684 |
if (con == 53 && !d_ex()) |
685 |
{ |
686 |
with (s) |
687 |
{ |
688 |
hspeed = -4; |
689 |
image_speed = 0.25; |
690 |
sprite_index = spr_susiel_dark_unhappy; |
691 |
} |
692 |
con = 54; |
693 |
alarm[4] = 10; |
694 |
} |
695 |
if (con == 55) |
696 |
{ |
697 |
with (s) |
698 |
scr_halt(); |
699 |
con = 56; |
700 |
alarm[4] = 15; |
701 |
} |
702 |
if (con == 57) |
703 |
{ |
704 |
global.typer = 30; |
705 |
global.fc = 1; |
706 |
global.fe = 0; |
707 |
global.msg[0] = * ... I,Delay 11 uh,Delay 11 changed my mind.Wait for input ; |
708 |
scr_lanface(1, 1); |
709 |
global.msg[2] = * Hoho!!!Delay 11 * Candy joins the team!!Wait for inputClose Message ; |
710 |
instance_create(0, 0, obj_dialoguer); |
711 |
con = 58; |
712 |
} |
713 |
if (con == 59 && !d_ex()) |
714 |
{ |
715 |
candysong[0] = snd_init("fanfare.ogg"); |
716 |
candysong[1] = mus_play(candysong[0]); |
717 |
global.fc = 0; |
718 |
global.typer = 52; |
719 |
global.msg[0] = * Candy joined the party! Close MessageClose Message ; |
720 |
d = instance_create(0, 0, obj_dialoguer); |
721 |
d.skippable = 0; |
722 |
con = 60; |
723 |
alarm[4] = 30; |
724 |
} |
725 |
if (con == 58) |
726 |
{ |
727 |
snd_pause(global.currentsong[1]); |
728 |
con = 59; |
729 |
} |
730 |
if (con == 61) |
731 |
{ |
732 |
snd_free(candysong[0]); |
733 |
snd_resume(global.currentsong[1]); |
734 |
with (obj_dialoguer) |
735 |
instance_destroy(); |
736 |
with (obj_writer) |
737 |
instance_destroy(); |
738 |
global.typer = 30; |
739 |
global.fe = 7; |
740 |
global.fc = 1; |
741 |
global.msg[0] = * ALRIGHT ALREADY!!!Wait for inputClose Message ; |
742 |
instance_create(0, 0, obj_dialoguer); |
743 |
con = 65; |
744 |
} |
745 |
if (con == 65 && !d_ex()) |
746 |
{ |
747 |
s.susx = susx; |
748 |
s.susy = susy; |
749 |
with (s) |
750 |
{ |
751 |
sprite_index = spr_susiel_dark; |
752 |
scr_move_to_point_over_time(susx, susy, 40); |
753 |
image_speed = 0.25; |
754 |
} |
755 |
treecon = 10; |
756 |
con = 66; |
757 |
alarm[4] = 40; |
758 |
} |
759 |
if (con == 67) |
760 |
{ |
761 |
global.facing = 1; |
762 |
with (s) |
763 |
instance_destroy(); |
764 |
with (r) |
765 |
instance_destroy(); |
766 |
with (obj_caterpillarchara) |
767 |
visible = 1; |
768 |
global.interact = 0; |
769 |
followcon = 1; |
770 |
con = 2; |
771 |
} |
772 |
if (treecon == 10) |
773 |
{ |
774 |
sprite_index = spr_lancer_rt; |
775 |
hspeed = 8; |
776 |
treecon = 11; |
777 |
} |
778 |
if (treecon == 11) |
779 |
{ |
780 |
if (x >= (tree.x + 160)) |
781 |
{ |
782 |
sprite_index = spr_lancer_dt; |
783 |
hspeed = 0; |
784 |
vspeed = -8; |
785 |
treecon = 12; |
786 |
} |
787 |
} |
788 |
if (treecon == 12) |
789 |
{ |
790 |
if (y <= (ystart + 10)) |
791 |
{ |
792 |
depth = tree.depth + 1000; |
793 |
vspeed = 0; |
794 |
y = ystart; |
795 |
treecon = 13; |
796 |
} |
797 |
} |
798 |
} |
799 |
if (con >= 100 && con <= 150) |
800 |
{ |
801 |
if (con == 100 && !d_ex()) |
802 |
{ |
803 |
global.facing = 1; |
804 |
scr_caterpillar_facing(global.facing); |
805 |
scr_markify_caterpillarscr_markify_caterpillarfunction scr_markify_caterpillar()
{
s = 4378473;
r = 4387437;
for (i = 0; i < 2; i += 1)
{
if (instance_exists(global.cinstance[i]))
{
if (global.char[i + 1] == 2)
{
s = scr_dark_marker(global.cinstance[i].x, global.cinstance[i].y, global.cinstance[i].sprite_index);
with (global.cinstance[i])
visible = 0;
}
if (global.char[i + 1] == 3)
{
r = scr_dark_marker(global.cinstance[i].x, global.cinstance[i].y, global.cinstance[i].sprite_index);
with (global.cinstance[i])
visible = 0;
}
}
}
} (); |
806 |
with (s) |
807 |
sprite_index = spr_susier_dark; |
808 |
with (r) |
809 |
sprite_index = spr_ralseir; |
810 |
sprite_index = spr_lancer_rt_unhappy; |
811 |
hspeed = 6; |
812 |
con = 101; |
813 |
} |
814 |
if (con == 101 && x >= (obj_mainchara.x + 40)) |
815 |
{ |
816 |
hspeed = 0; |
817 |
global.typer = 32; |
818 |
global.fc = 5; |
819 |
global.fe = 6; |
820 |
global.msg[0] = * ... but w-Delay 11what if you had to fight...Wait for input ; |
821 |
scr_susface(1, 2); |
822 |
global.msg[2] = * Everybody bleeds,Delay 11 right?Delay 11 Don't worry about it.Wait for input ; |
823 |
global.msg[3] = \E4* Whoever it is,Delay 11 they'll be cold on the ground before you can blink.Wait for input ; |
824 |
scr_lanface(4, "C"); |
825 |
global.msg[5] = * B...Delay 11 But Susie...Wait for input ; |
826 |
scr_susface(6, 0); |
827 |
global.msg[7] = ; |
828 |
scr_lanface(8, 5); |
829 |
global.msg[9] = * ...Wait for inputClose Message ; |
830 |
con = 102; |
831 |
instance_create(0, 0, obj_dialoguer); |
832 |
} |
833 |
if (con == 102 && !d_ex()) |
834 |
{ |
835 |
hspeed = 4; |
836 |
con = 103; |
837 |
alarm[4] = 10; |
838 |
} |
839 |
if (con == 104) |
840 |
{ |
841 |
scr_halt(); |
842 |
con = 105; |
843 |
alarm[4] = 30; |
844 |
} |
845 |
if (con == 106) |
846 |
{ |
847 |
global.msg[0] = \EC* I think...Wait for input ; |
848 |
global.msg[1] = * I think I need to go.Wait for input ; |
849 |
scr_susface(2, 0); |
850 |
global.msg[3] = * Huh?Delay 11 When're you gonna be back?Wait for inputClose Message ; |
851 |
con = 107; |
852 |
instance_create(0, 0, obj_dialoguer); |
853 |
} |
854 |
if (con == 107 && !d_ex()) |
855 |
{ |
856 |
hspeed = 4; |
857 |
con = 108; |
858 |
alarm[4] = 10; |
859 |
} |
860 |
if (con == 109) |
861 |
{ |
862 |
hspeed = 0; |
863 |
con = 110; |
864 |
alarm[4] = 60; |
865 |
} |
866 |
if (con == 111) |
867 |
{ |
868 |
with (s) |
869 |
sprite_index = spr_susier_dark_unhappy; |
870 |
snd_free_all(); |
871 |
global.fc = 5; |
872 |
global.typer = 32; |
873 |
global.fe = 5; |
874 |
global.msg[0] = ; |
875 |
global.msg[1] = * Never.Wait for inputClose Message ; |
876 |
con = 112; |
877 |
instance_create(0, 0, obj_dialoguer); |
878 |
} |
879 |
if (con == 112 && !d_ex()) |
880 |
{ |
881 |
global.currentsong[0] = snd_init("creepychase.ogg"); |
882 |
global.currentsong[1] = mus_loop(global.currentsong[0]); |
883 |
hspeed = 18; |
884 |
con = 113; |
885 |
alarm[4] = 30; |
886 |
exc = instance_create(s.x + 20, s.y - 20, obj_excblcon); |
887 |
} |
888 |
if (con == 114) |
889 |
{ |
890 |
with (exc) |
891 |
instance_destroy(); |
892 |
global.fc = 1; |
893 |
global.typer = 30; |
894 |
global.fe = 9; |
895 |
global.msg[0] = * H...Delay 11 Hey!Delay 11 Wait a second!!Delay 11 Lancer!!Wait for input ; |
896 |
global.msg[1] = * Why are you acting so weird?!Wait for inputClose Message ; |
897 |
con = 115; |
898 |
instance_create(0, 0, obj_dialoguer); |
899 |
} |
900 |
if (con == 115 && !d_ex()) |
901 |
{ |
902 |
with (s) |
903 |
{ |
904 |
scr_depth(); |
905 |
hspeed = 12; |
906 |
image_speed = 0.25; |
907 |
} |
908 |
con = 116; |
909 |
alarm[4] = 30; |
910 |
} |
911 |
if (con == 117 && !d_ex()) |
912 |
{ |
913 |
global.typer = 31; |
914 |
global.fc = 2; |
915 |
global.fe = 3; |
916 |
global.msg[0] = * S-Susie,Delay 11 wait...!Wait for inputClose Message ; |
917 |
instance_create(0, 0, obj_dialoguer); |
918 |
con = 118; |
919 |
} |
920 |
if (con == 118 && !d_ex()) |
921 |
{ |
922 |
with (r) |
923 |
{ |
924 |
scr_depth(); |
925 |
hspeed = 12; |
926 |
image_speed = 0.25; |
927 |
} |
928 |
con = 119; |
929 |
alarm[4] = 30; |
930 |
} |
931 |
if (con == 120) |
932 |
{ |
933 |
global.interact = 0; |
934 |
scr_losecharscr_losecharfunction scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} (); |
935 |
global.facing = 0; |
936 |
con = 121; |
937 |
with (obj_mainchara) |
938 |
cutscene = 1; |
939 |
block = instance_create(__view_get(e__VW.XView, 0) - 40, 200, obj_soliddark); |
940 |
block.image_yscale = 20; |
941 |
} |
942 |
} |
943 |
|
944 |
enum e__VW |
945 |
{ |
946 |
XView, |
947 |
YView, |
948 |
WView, |
949 |
HView, |
950 |
Angle, |
951 |
HBorder, |
952 |
VBorder, |
953 |
HSpeed, |
954 |
VSpeed, |
955 |
Object, |
956 |
Visible, |
957 |
XPort, |
958 |
YPort, |
959 |
WPort, |
960 |
HPort, |
961 |
Camera, |
962 |
SurfaceID |
963 |
} |