| 1 |
draw_set_alpha(arrows_alpha); |
| 2 |
if (can_dock == "up") |
| 3 |
draw_sprite_ext(spr_manta_arrow_dock, arrows_frame, x, y - 28, arrow_size[0], arrow_size[0], 90, arrow_color[0], arrows_alpha); |
| 4 |
else if (up_free) |
| 5 |
draw_sprite_ext(spr_manta_arrow, arrows_frame, x, y - 28, arrow_size[0], arrow_size[0], 90, arrow_color[0], arrows_alpha); |
| 6 |
if (can_dock == "down") |
| 7 |
draw_sprite_ext(spr_manta_arrow_dock, arrows_frame, x, y + 28, arrow_size[1], arrow_size[1], 270, arrow_color[1], arrows_alpha); |
| 8 |
else if (down_free) |
| 9 |
draw_sprite_ext(spr_manta_arrow, arrows_frame, x, y + 28, arrow_size[1], arrow_size[1], 270, arrow_color[1], arrows_alpha); |
| 10 |
if (can_dock == "left") |
| 11 |
draw_sprite_ext(spr_manta_arrow_dock, arrows_frame, x - 28, y, arrow_size[2], arrow_size[2], 180, arrow_color[2], arrows_alpha); |
| 12 |
else if (left_free) |
| 13 |
draw_sprite_ext(spr_manta_arrow, arrows_frame, x - 28, y, arrow_size[2], arrow_size[2], 180, arrow_color[2], arrows_alpha); |
| 14 |
if (can_dock == "right") |
| 15 |
draw_sprite_ext(spr_manta_arrow_dock, arrows_frame, x + 28, y, arrow_size[3], arrow_size[3], 0, arrow_color[3], arrows_alpha); |
| 16 |
else if (right_free) |
| 17 |
draw_sprite_ext(spr_manta_arrow, arrows_frame, x + 28, y, arrow_size[3], arrow_size[3], 0, arrow_color[3], arrows_alpha); |
| 18 |
draw_set_alpha(1); |