1 |
if live_call() |
2 |
return global.live_result; |
3 |
if (can_move == true) |
4 |
{ |
5 |
if (can_fade_out == true) |
6 |
{ |
7 |
if (feather_alpha > 0) |
8 |
{ |
9 |
feather_alpha -= 0.1 |
10 |
if (feather_alpha < 0) |
11 |
feather_alpha = 0 |
12 |
if (feather_alpha == 0) |
13 |
{ |
14 |
instance_destroy() |
15 |
return; |
16 |
} |
17 |
} |
18 |
} |
19 |
for (i = 0; i < fcreate_count; i += 1) |
20 |
{ |
21 |
if instance_exists(id_feather[i]) |
22 |
{ |
23 |
with (id_feather[i]) |
24 |
event_user(0) |
25 |
} |
26 |
} |
27 |
feather_radius += feather_speed |
28 |
if (can_fade_out == false) |
29 |
{ |
30 |
var fade_out_result = true |
31 |
i = 0 |
32 |
while (i < fcreate_count) |
33 |
{ |
34 |
if (id_feather[i].x <= obj_dialogue_box_battle_transformation_any.bbox_right && id_feather[i].x >= obj_dialogue_box_battle_transformation_any.bbox_left && id_feather[i].y <= obj_dialogue_box_battle_transformation_any.bbox_bottom && id_feather[i].y >= obj_dialogue_box_battle_transformation_any.bbox_top) |
35 |
{ |
36 |
fade_out_result = false |
37 |
break |
38 |
} |
39 |
else |
40 |
{ |
41 |
i += 1 |
42 |
continue |
43 |
} |
44 |
} |
45 |
can_fade_out = fade_out_result |
46 |
} |
47 |
} |