1 | if (y > 190 && con == 0) |
2 | { |
3 | con = 1; |
4 | vspeed = 0; |
5 | yanchor = y; |
6 | xanchor = x; |
7 | anchor = 1; |
8 | } |
9 | if (con == 1 && image_xscale < 1) |
10 | image_xscale += 0.05; |
11 | image_angle = point_direction(x, y, obj_vsflowey_heart.x + 8, obj_vsflowey_heart.y + 8); |
12 | if (side == 0) |
13 | { |
14 | if (image_angle > 312) |
15 | image_angle = 312; |
16 | if (image_angle < 260) |
17 | image_angle = 260; |
18 | } |
19 | if (side == 1) |
20 | { |
21 | if (image_angle < 225) |
22 | image_angle = 225; |
23 | if (image_angle > 280) |
24 | image_angle = 280; |
25 | } |
26 | if (con == 3) |
27 | { |
28 | vspeed = -5; |
29 | alarm[0] = -1; |
30 | if (image_xscale > 0.1) |
31 | image_xscale -= 0.1; |
32 | if (y <= 150) |
33 | instance_destroy(); |
34 | } |