1 | if (live_call()) |
2 | return global.live_result; |
3 | if (surface_exists(global.attack_surface)) |
4 | { |
5 | surface_set_target(global.attack_surface); |
6 | draw_sprite_ext(spr_human_down, 0, round(x), round(y + y_offset), image_xscale, image_yscale, image_angle, soul_color, human_alpha); |
7 | draw_sprite_ext(sprite_index, image_index, round(x), round(y + y_offset), image_xscale, image_yscale, image_angle, soul_color, image_alpha); |
8 | surface_reset_target(); |
9 | } |