1 |
if (normalanim == 1) |
2 |
{ |
3 |
if (myinteract > 0 && instance_exists(obj_writer)) |
4 |
{ |
5 |
if (obj_writer.halt > 0) |
6 |
{ |
7 |
image_speed = 0; |
8 |
image_index = 0; |
9 |
} |
10 |
if (obj_writer.halt == 0) |
11 |
image_speed = remanimspeed; |
12 |
} |
13 |
} |
14 |
if (normalanim == 1 || normalanim == 2) |
15 |
{ |
16 |
if (myinteract == 0) |
17 |
{ |
18 |
image_index = 0; |
19 |
image_speed = 0; |
20 |
} |
21 |
} |
22 |
if (normalanim == 3) |
23 |
{ |
24 |
if (myinteract > 0 && instance_exists(obj_writer)) |
25 |
{ |
26 |
if (obj_writer.halt > 0) |
27 |
image_speed = remanimspeed; |
28 |
if (obj_writer.halt == 0) |
29 |
image_speed = remanimspeed / 2; |
30 |
} |
31 |
else |
32 |
{ |
33 |
image_speed = remanimspeed; |
34 |
} |
35 |
} |
36 |
if (normalanim == 4) |
37 |
{ |
38 |
image_index = 0; |
39 |
image_speed = 0; |
40 |
} |