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 |
shader_reset() |
8 |
} |
9 |
if (white_fade_alpha > 0) |
10 |
{ |
11 |
draw_set_alpha(white_fade_alpha) |
12 |
draw_set_color(c_white) |
13 |
draw_rectangle(0, 0, 640, 480, false) |
14 |
draw_set_alpha(1) |
15 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha) |
16 |
} |
17 |
if (fade_out == true) |
18 |
{ |
19 |
draw_set_alpha(fade_alpha) |
20 |
draw_set_color(c_black) |
21 |
draw_rectangle(0, 0, 640, 480, false) |
22 |
draw_set_alpha(1) |
23 |
} |