1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
if (!surface_exists(global.attack_surface)) |
4 |
exit; |
5 |
surface_set_target(global.attack_surface); |
6 |
draw_set_alpha(warning_line_alpha); |
7 |
for (var i = 0; i < 8; i++) |
8 |
{ |
9 |
var new_dir = image_angle + (i * 45); |
10 |
draw_set_color(c_white); |
11 |
var xx = (x - global.attack_surface_x) + lengthdir_x(600, new_dir); |
12 |
var yy = (y - global.attack_surface_y) + lengthdir_y(600, new_dir); |
13 |
draw_line_width(x - global.attack_surface_x, y - global.attack_surface_y, xx, yy, 2); |
14 |
} |
15 |
draw_set_alpha(1); |
16 |
surface_reset_target(); |