1 | if (!surface_exists(global.attack_surface)) |
2 | { |
3 | draw_self() |
4 | return; |
5 | } |
6 | surface_set_target(global.attack_surface) |
7 | draw_sprite_ext(sprite_index, image_index, (x - global.attack_surface_x), (y - global.attack_surface_y), image_xscale, image_yscale, image_angle, c_white, image_alpha) |
8 | draw_set_color(c_black) |
9 | draw_rectangle(bbox_left, bbox_bottom, bbox_right, (bbox_bottom + 480), false) |
10 | surface_reset_target() |