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 |
exit; |
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 |
for (i = 0; i < fcreate_count; i += 1) |
32 |
{ |
33 |
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) |
34 |
{ |
35 |
fade_out_result = false; |
36 |
break; |
37 |
} |
38 |
} |
39 |
can_fade_out = fade_out_result; |
40 |
} |
41 |
} |