1 |
if (bullet_hit_draw_timer > 0) |
2 |
shader_set(sh_flash) |
3 |
draw_sprite_ext(spr_ceroba_shield_opaque_bg, 0, x, y, image_xscale, image_yscale, 0, c_white, image_alpha) |
4 |
draw_sprite_ext(spr_ceroba_shield_filled, 0, x, y, (fill_percentage_current * 2), (fill_percentage_current * 2), 0, c_white, image_alpha) |
5 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, c_white, image_alpha) |
6 |
shader_reset() |
7 |
shader_set(sh_flash) |
8 |
draw_sprite_ext(sprite_index, image_index, x, y, diamond_effect_scale, diamond_effect_scale, 0, c_white, diamond_effect_alpha) |
9 |
shader_reset() |