1 |
if live_call() |
2 |
return global.live_result; |
3 |
var battle_box = obj_dialogue_box_battle_transformation_any |
4 |
if (bullet_hit_overlay > 0.01) |
5 |
bullet_hit_overlay = lerp(bullet_hit_overlay, 0, 0.15) |
6 |
else |
7 |
bullet_hit_overlay = 0 |
8 |
if (y > (battle_box.bbox_bottom + 10)) |
9 |
{ |
10 |
image_alpha -= 0.2 |
11 |
if (image_alpha <= 0) |
12 |
instance_destroy(self, false) |
13 |
} |
14 |
else if (image_alpha < 1) |
15 |
image_alpha += 0.25 |
16 |
if (destroy_timer > 0) |
17 |
destroy_timer-- |
18 |
else if (destroy_timer == 0) |
19 |
instance_destroy() |