1 |
if (eye[0] == 1 && eye[1] == 1 && eye[2] == 1) |
2 |
{ |
3 |
if (con == 0 && global.interact == 0) |
4 |
{ |
5 |
global.interact = 1; |
6 |
con = 2; |
7 |
alarm[4] = 30; |
8 |
} |
9 |
} |
10 |
if (con == 3) |
11 |
{ |
12 |
con = 4; |
13 |
for (i = 0; i < 3; i += 1) |
14 |
{ |
15 |
glass = 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;
} (960 + (i * 40), 320, spr_magicalglass); |
16 |
glass.depth = 950000; |
17 |
glass = 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;
} (960 + (i * 40), 360, spr_magicalglass); |
18 |
glass.depth = 950000; |
19 |
} |
20 |
with (block) |
21 |
instance_destroy(); |
22 |
snd_play(snd_impact); |
23 |
instance_create(0, 0, obj_shake); |
24 |
global.facing = 1; |
25 |
alarm[4] = 30; |
26 |
for (i = 0; i < 3; i += 1) |
27 |
{ |
28 |
with (shine[i]) |
29 |
instance_destroy(); |
30 |
} |
31 |
with (obj_darkeyepuzzle_switch) |
32 |
instance_destroy(); |
33 |
} |
34 |
if (con == 5) |
35 |
{ |
36 |
global.flag[201 solved_eye_puzzle] = 1; |
37 |
global.interact = 0; |
38 |
con = 6; |
39 |
} |