| 1 | if (live_call()) |
| 2 | return global.live_result; |
| 3 | if (state == 2) |
| 4 | { |
| 5 | } |
| 6 | if (state == 1) |
| 7 | { |
| 8 | var xx = x + lengthdir_x(500, direction); |
| 9 | var yy = y + lengthdir_y(500, direction); |
| 10 | draw_set_alpha(warning_line_alpha); |
| 11 | draw_set_color(warning_line_color); |
| 12 | draw_line_width(x, y, xx, yy, 3); |
| 13 | draw_set_alpha(1); |
| 14 | } |
| 15 | draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, c_white, image_alpha); |