1 | if (block1 != -4) |
2 | { |
3 | draw_set_alpha(0); |
4 | with (block1) |
5 | draw_rectangle_colour(bbox_left, bbox_top, bbox_right, bbox_bottom, c_red, c_red, c_red, c_red, false); |
6 | draw_set_alpha(1); |
7 | } |
8 | if (block2 != -4) |
9 | { |
10 | draw_set_alpha(0); |
11 | with (block2) |
12 | draw_rectangle_colour(bbox_left, bbox_top, bbox_right, bbox_bottom, c_red, c_red, c_red, c_red, false); |
13 | draw_set_alpha(1); |
14 | } |