1 | if (!instance_exists(obj_ceroba_attack_fire_mask)) |
2 | { |
3 | if (!alarm[0]) |
4 | alarm[0] = 45 |
5 | } |
6 | if instance_exists(obj_ceroba_phase_2_shield) |
7 | { |
8 | var shield_perc = obj_ceroba_phase_2_shield.fill_percentage |
9 | if (shield_perc >= 1) |
10 | { |
11 | instance_destroy() |
12 | return; |
13 | } |
14 | } |