1 | draw_sprite_ext(spr_attack_ace_card_back, 0, x, y, 1, 1, 0, c_white, image_alpha) |
2 | if (card_draw_warning_rectangle == true) |
3 | { |
4 | var rectangle_width = sprite_get_width(spr_attack_ace_card_back) |
5 | var rectangle_height = sprite_get_height(spr_attack_ace_card_back) |
6 | draw_set_color(c_red) |
7 | draw_set_alpha(0.75) |
8 | draw_rectangle(card_target_x, card_target_y, (card_target_x + rectangle_width), (card_target_y + rectangle_height), false) |
9 | draw_set_alpha(1) |
10 | } |