1 |
if live_call() |
2 |
return global.live_result; |
3 |
switch step |
4 |
{ |
5 |
case 1: |
6 |
if (mode == 0) |
7 |
{ |
8 |
rotation = -1 |
9 |
instance_create_depth(x, y, -100, obj_flowey_battle_phase_2_clay_cone_collider_blue) |
10 |
image_blend = make_color_rgb(0, 162, 232) |
11 |
} |
12 |
else |
13 |
{ |
14 |
rotation = 1 |
15 |
instance_create_depth(x, y, -100, obj_flowey_battle_phase_2_clay_cone_collider_orange) |
16 |
image_blend = make_color_rgb(255, 125, 0) |
17 |
} |
18 |
image_angle = 90 * rotation |
19 |
step++ |
20 |
break |
21 |
case 2: |
22 |
if (image_alpha < 1) |
23 |
image_alpha += 0.1 |
24 |
else |
25 |
step++ |
26 |
break |
27 |
case 3: |
28 |
if (image_angle != (-90 * rotation)) |
29 |
image_angle -= (10 * rotation) |
30 |
else |
31 |
step++ |
32 |
break |
33 |
case 4: |
34 |
if (image_alpha > 0) |
35 |
image_alpha -= 0.1 |
36 |
else |
37 |
instance_destroy() |
38 |
break |
39 |
} |