1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (active == false) |
4 |
{ |
5 |
image_alpha = obj_flowey_battle_gray_wheel.image_alpha |
6 |
image_xscale = obj_flowey_battle_gray_wheel.image_xscale |
7 |
image_yscale = image_xscale |
8 |
depth = obj_flowey_battle_gray_wheel.depth + 1 |
9 |
switch image_index |
10 |
{ |
11 |
case 0: |
12 |
dist = 100 |
13 |
dir = 235 |
14 |
break |
15 |
case 1: |
16 |
dist = 100 |
17 |
dir = 305 |
18 |
break |
19 |
case 2: |
20 |
dist = 110 |
21 |
dir = 0 |
22 |
break |
23 |
case 3: |
24 |
dist = 105 |
25 |
dir = 57 |
26 |
break |
27 |
case 4: |
28 |
dist = 100 |
29 |
dir = 123 |
30 |
break |
31 |
case 5: |
32 |
dist = 110 |
33 |
dir = 180 |
34 |
break |
35 |
} |
36 |
|
37 |
} |
38 |
else |
39 |
{ |
40 |
dir += 10 |
41 |
dist += 20 |
42 |
image_alpha -= 0.1 |
43 |
if (image_alpha <= 0) |
44 |
instance_destroy() |
45 |
} |
46 |
x = obj_flowey_battle_gray_wheel.x + (lengthdir_x((dist * image_xscale), dir)) |
47 |
y = obj_flowey_battle_gray_wheel.y + (lengthdir_y((dist * image_xscale), dir)) |