1 |
if live_call() |
2 |
return global.live_result; |
3 |
draw_set_alpha(player_alpha) |
4 |
if instance_exists(obj_player_npc) |
5 |
{ |
6 |
with (obj_player_npc) |
7 |
draw_outline(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, 0, 1) |
8 |
} |
9 |
else if instance_exists(obj_pl) |
10 |
{ |
11 |
with (obj_pl) |
12 |
draw_outline(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, 0, 1) |
13 |
} |
14 |
shader_set(sh_yellow) |
15 |
if instance_exists(obj_player_npc) |
16 |
draw_sprite(obj_player_npc.sprite_index, obj_player_npc.image_index, obj_player_npc.x, obj_player_npc.y) |
17 |
else if instance_exists(obj_pl) |
18 |
draw_sprite(obj_pl.sprite_index, obj_pl.image_index, obj_pl.x, obj_pl.y) |
19 |
shader_reset() |
20 |
draw_set_alpha(1) |