1 |
var battle_box = obj_dialogue_box_battle_transformation_any |
2 |
var j = 2 |
3 |
for (i = ds_list_size(x_list) - 1; i >= 0; i -= 1) |
4 |
{ |
5 |
var x0 = ds_list_find_value(x_list, i) |
6 |
var y0 = ds_list_find_value(y_list, i) |
7 |
var angle0 = 0 |
8 |
var image_alpha_trail = 1 / j |
9 |
draw_sprite_ext(trail_sprite, 0, x0, y0, 1, 1, angle0, c_white, (image_alpha_trail * image_alpha)) |
10 |
j += 1 |
11 |
} |
12 |
if (movement_mode == 2) |
13 |
{ |
14 |
var draw_circle_alpha = image_alpha * circle_alpha |
15 |
draw_set_alpha(draw_circle_alpha) |
16 |
draw_set_color(c_white) |
17 |
draw_circle(battle_box.x, battle_box.y, base_distance, false) |
18 |
draw_set_color(c_black) |
19 |
draw_circle(battle_box.x, battle_box.y, (base_distance - 2), false) |
20 |
draw_set_alpha(1) |
21 |
} |
22 |
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, c_white, image_alpha) |