1 | draw_alpha = lerp(draw_alpha, target_alpha, 0.1) |
2 | if (target_alpha != 0 && noloop == false) |
3 | { |
4 | if instance_exists(obj_heart_battle_fighting_parent) |
5 | noloop = true |
6 | } |
7 | if (noloop == true) |
8 | { |
9 | if (!instance_exists(obj_heart_battle_fighting_parent)) |
10 | { |
11 | noloop = false |
12 | target_alpha = 0 |
13 | } |
14 | } |
15 | image_total += 2 |