| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
if (instance_exists(obj_battle_enemy_attack_ceroba_flower_barrage_black_hole) || instance_exists(obj_battle_enemy_attack_ceroba_flower_barrage_black_hole_dmg)) |
| 4 |
{ |
| 5 |
with (obj_heart_battle_fighting_parent) |
| 6 |
{ |
| 7 |
x = lerp(x, 320, 0.06); |
| 8 |
y = lerp(y, 320, 0.06); |
| 9 |
} |
| 10 |
with (obj_battle_enemy_attack_ceroba_flower_barrage_black_hole) |
| 11 |
image_speed = 0.25; |
| 12 |
with (obj_battle_enemy_attack_ceroba_flower_barrage_black_hole_dmg) |
| 13 |
image_speed = 0.25; |
| 14 |
} |
| 15 |
if (instance_exists(obj_ceroba_phase_2_shield)) |
| 16 |
{ |
| 17 |
var shield_perc = obj_ceroba_phase_2_shield.fill_percentage; |
| 18 |
if (shield_perc >= 1) |
| 19 |
{ |
| 20 |
instance_destroy(); |
| 21 |
exit; |
| 22 |
} |
| 23 |
} |
| 24 |
if (!instance_exists(obj_heart_battle_fighting_parent) || obj_heart_battle_fighting_parent.moveable == false) |
| 25 |
instance_destroy(); |