1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
draw_set_alpha(draw_alpha); |
4 |
draw_set_color(c_black); |
5 |
draw_rectangle(0, 0, room_width, room_height, false); |
6 |
draw_set_alpha(1); |
7 |
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, 1); |
8 |
with (obj_asgore_npc) |
9 |
draw_sprite(sprite_index, image_index, x, y); |
10 |
with (obj_player_npc) |
11 |
draw_sprite(sprite_index, image_index, x, y); |
12 |
draw_set_alpha(draw_alpha); |
13 |
shader_set(sh_silhouette); |
14 |
with (obj_asgore_npc) |
15 |
{ |
16 |
draw_sprite(sprite_index, image_index, x + 1, y); |
17 |
draw_sprite(sprite_index, image_index, x + 1, y + 1); |
18 |
draw_sprite(sprite_index, image_index, x, y + 1); |
19 |
draw_sprite(sprite_index, image_index, x - 1, y + 1); |
20 |
draw_sprite(sprite_index, image_index, x - 1, y); |
21 |
draw_sprite(sprite_index, image_index, x - 1, y - 1); |
22 |
draw_sprite(sprite_index, image_index, x, y - 1); |
23 |
draw_sprite(sprite_index, image_index, x + 1, y - 1); |
24 |
} |
25 |
shader_set(sh_flash); |
26 |
with (obj_asgore_npc) |
27 |
draw_sprite(sprite_index, image_index, x, y); |
28 |
with (obj_player_npc) |
29 |
draw_sprite(sprite_index, image_index, x, y); |
30 |
shader_reset(); |
31 |
draw_set_alpha(1); |