1 |
con = 1; |
2 |
image_xscale = 2; |
3 |
image_yscale = 2; |
4 |
talked = 0; |
5 |
puzzle = instance_create(180, 60, obj_suitspuzz); |
6 |
with (puzzle) |
7 |
{ |
8 |
max_suit = 3; |
9 |
sol[0] = 3; |
10 |
sol[1] = 4; |
11 |
sol[2] = 3; |
12 |
} |
13 |
easel = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (400, 160, spr_thrashdesign); |
14 |
with (easel) |
15 |
depth = 900000; |
16 |
for (i = 0; i < 3; i += 1) |
17 |
{ |
18 |
spike[i] = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (520, 240 + (i * 40), spr_spiketile); |
19 |
spike[i].depth = 800000; |
20 |
} |
21 |
block = instance_create(520, 240, obj_soliddark); |
22 |
block.image_yscale = 3; |
23 |
s = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (372, 170, spr_susieu_dark); |
24 |
if (global.plot < 71) |
25 |
global.plot = 71; |
26 |
if (global.plot == 71) |
27 |
{ |
28 |
con = 15; |
29 |
with (s) |
30 |
visible = 0; |
31 |
visible = 0; |
32 |
lnpc = instance_create(x, y, obj_npc_facing); |
33 |
with (lnpc) |
34 |
{ |
35 |
dtsprite = spr_lancer_dt; |
36 |
rtsprite = spr_lancer_rt; |
37 |
ltsprite = spr_lancer_lt; |
38 |
utsprite = spr_lancer_ut; |
39 |
sprite_index = dtsprite; |
40 |
facing = 2; |
41 |
dfacing = 2; |
42 |
y += 100; |
43 |
} |
44 |
snpc = instance_create(s.x, s.y, obj_npc_facing); |
45 |
with (snpc) |
46 |
{ |
47 |
dtsprite = spr_susiedt_dark; |
48 |
rtsprite = spr_susiert_dark; |
49 |
ltsprite = spr_susielt_dark; |
50 |
utsprite = spr_susieut_dark; |
51 |
sprite_index = dtsprite; |
52 |
facing = 2; |
53 |
dfacing = 2; |
54 |
y += 100; |
55 |
} |
56 |
} |
57 |
if (global.plot >= 72) |
58 |
{ |
59 |
with (s) |
60 |
instance_destroy(); |
61 |
with (easel) |
62 |
instance_destroy(); |
63 |
with (puzzle) |
64 |
{ |
65 |
suit[0] = 3; |
66 |
suit[1] = 4; |
67 |
suit[2] = 3; |
68 |
won = 1; |
69 |
} |
70 |
with (block) |
71 |
instance_destroy(); |
72 |
for (i = 0; i < 3; i += 1) |
73 |
spike[i].image_index = 1; |
74 |
con = 999; |
75 |
instance_destroy(); |
76 |
} |