1 |
record = 0; |
2 |
tiletotal = 0; |
3 |
image_xscale = 2; |
4 |
image_yscale = 2; |
5 |
image_speed = 0.1; |
6 |
funtotal = 99; |
7 |
order = 0; |
8 |
funbuffer = 0; |
9 |
stepnoise = 0; |
10 |
wonamt = 0; |
11 |
active = 0; |
12 |
failtimer = 0; |
13 |
failamt = 0; |
14 |
talked = 0; |
15 |
wonmax = 3; |
16 |
plotamt = 1; |
17 |
failmax = 200; |
18 |
if (room == room_field_puzzle1_ch1) |
19 |
{ |
20 |
failmax = 240; |
21 |
wonmax = 3; |
22 |
plotamt = 35; |
23 |
for (i = 0; i < wonmax; i += 1) |
24 |
{ |
25 |
block[i] = instance_create_ch1(1280 + (i * 40), 280, obj_soliddark_ch1); |
26 |
block[i].image_yscale = 2; |
27 |
spike1[i] = scr_dark_marker_ch1scr_dark_marker_ch1function scr_dark_marker_ch1(arg0, arg1, arg2)
{
thismarker = instance_create_ch1(arg0, arg1, obj_marker_ch1);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (1280 + (i * 40), 280, spr_spiketile_ch1); |
28 |
with (spike1[i]) |
29 |
depth = 900000; |
30 |
spike2[i] = scr_dark_marker_ch1scr_dark_marker_ch1function scr_dark_marker_ch1(arg0, arg1, arg2)
{
thismarker = instance_create_ch1(arg0, arg1, obj_marker_ch1);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (1280 + (i * 40), 320, spr_spiketile_ch1); |
31 |
with (spike2[i]) |
32 |
depth = 900000; |
33 |
if (global.plot >= 35) |
34 |
{ |
35 |
active = 2; |
36 |
with (spike1[i]) |
37 |
image_index = 1; |
38 |
with (spike2[i]) |
39 |
image_index = 1; |
40 |
with (block[i]) |
41 |
instance_destroy(); |
42 |
} |
43 |
} |
44 |
} |
45 |
if (room == room_field_puzzle2_ch1) |
46 |
{ |
47 |
failmax = 240; |
48 |
wonmax = 3; |
49 |
plotamt = 38; |
50 |
for (i = 0; i < wonmax; i += 1) |
51 |
{ |
52 |
if (global.plot >= 38) |
53 |
active = 2; |
54 |
} |
55 |
} |
56 |
shakecon = 0; |