| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
if (damage_flash_timer > 0) |
| 4 |
{ |
| 5 |
shader_set(sh_flash); |
| 6 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha); |
| 7 |
if (sprite_index != spr_martlet_final_wing_attack) |
| 8 |
{ |
| 9 |
with (obj_martlet_final_wing) |
| 10 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, c_white, image_alpha); |
| 11 |
} |
| 12 |
shader_reset(); |
| 13 |
} |
| 14 |
draw_set_alpha(healthbar_alpha); |
| 15 |
draw_healthbar(220, 10, 420, 20, (global.current_hp_enemy / global.max_hp_enemy) * 100, c_red, c_lime, c_lime, 0, true, false); |
| 16 |
draw_set_alpha(1); |