1 |
var box = obj_dialogue_box_battle_transformation_any |
2 |
if (warning_draw == true) |
3 |
{ |
4 |
if (launch_dir == "up" || launch_dir == "down") |
5 |
{ |
6 |
draw_set_color(warning_col) |
7 |
draw_rectangle((x - 15), (box.bbox_top + 10), (x + 15), (box.bbox_bottom - 10), false) |
8 |
draw_set_color(c_black) |
9 |
draw_rectangle((x - 13), (box.bbox_top + 12), (x + 13), (box.bbox_bottom - 12), false) |
10 |
} |
11 |
else |
12 |
{ |
13 |
draw_set_color(warning_col) |
14 |
draw_rectangle((box.bbox_left + 10), (y - 15), (box.bbox_right - 10), (y + 15), false) |
15 |
draw_set_color(c_black) |
16 |
draw_rectangle((box.bbox_left + 12), (y - 13), (box.bbox_right - 12), (y + 13), false) |
17 |
} |
18 |
} |
19 |
draw_on_surface() |