1 |
if (myinteract == 3) |
2 |
{ |
3 |
if (!i_ex(mydialoguer)) |
4 |
{ |
5 |
global.interact = 0; |
6 |
myinteract = 0; |
7 |
with (obj_mainchara) |
8 |
onebuffer = 5; |
9 |
} |
10 |
} |
11 |
if (myinteract == 1 && !d_ex()) |
12 |
{ |
13 |
con = 1; |
14 |
myinteract = 0; |
15 |
timer = 99; |
16 |
bucket = 76; |
17 |
} |
18 |
if (con == 1) |
19 |
{ |
20 |
timer++; |
21 |
if (timer >= 5) |
22 |
{ |
23 |
snd_play_pitch(snd_mouse, 0.6); |
24 |
mouse = 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;
} (bucket.x, bucket.y, bucket.sprite_index); |
25 |
mouse.depth = bucket.depth; |
26 |
safe_delete(bucket); |
27 |
var _x = x + 46; |
28 |
var _y = y + 36; |
29 |
mouse.image_alpha = 2; |
30 |
with (mouse) |
31 |
scr_lerpvarscr_lerpvarfunction scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
} ("x", x, _x, 15, 2, "out"); |
32 |
with (mouse) |
33 |
scr_lerpvarscr_lerpvarfunction scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
} ("y", y, _y, 15, 2, "out"); |
34 |
with (mouse) |
35 |
scr_lerpvarscr_lerpvarfunction scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
} ("image_alpha", 4, 0, 25, 2, "out"); |
36 |
scr_doomscr_doomfunction scr_doom(arg0, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{alarm[0]
target = arg0;
}
} (mouse, 25); |
37 |
timer = 0; |
38 |
micerequired--; |
39 |
con = 2; |
40 |
timer = 0; |
41 |
} |
42 |
} |
43 |
if (con == 2) |
44 |
{ |
45 |
timer++; |
46 |
if (timer == 30) |
47 |
{ |
48 |
scr_shakescreen(); |
49 |
completed = 1; |
50 |
snd_play(snd_impact); |
51 |
} |
52 |
if (timer == 40) |
53 |
{ |
54 |
con = 3; |
55 |
global.interact = 0; |
56 |
global.facing = 0; |
57 |
} |
58 |
} |