1 | if (can_move == true) |
2 | { |
3 | if (can_fade_out == true) |
4 | { |
5 | if (feather_alpha > 0) |
6 | { |
7 | feather_alpha -= 0.1; |
8 | if (feather_alpha < 0) |
9 | feather_alpha = 0; |
10 | if (feather_alpha == 0) |
11 | { |
12 | instance_destroy(); |
13 | exit; |
14 | } |
15 | } |
16 | } |
17 | for (i = 0; i < fcreate_count; i += 1) |
18 | { |
19 | if (instance_exists(id_feather[i])) |
20 | { |
21 | with (id_feather[i]) |
22 | event_user(0); |
23 | } |
24 | } |
25 | feather_radius += feather_speed; |
26 | if (can_fade_out == false) |
27 | { |
28 | if (fade_out_timer > 0) |
29 | fade_out_timer -= 1; |
30 | else |
31 | can_fade_out = true; |
32 | } |
33 | } |