Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_trihecta_circle_stack_green_Draw_0

(view raw script w/o annotations or w/e)
1
if instance_exists(obj_battle_enemy_attack_trihecta_circle_stack_lead)
2
{
3
    if (obj_battle_enemy_attack_trihecta_circle_stack_lead.started == true)
4
    {
5
        var j = 2
6
        for (i = ds_list_size(x_list) - 1; i >= 0; i -= 1)
7
        {
8
            var x0 = ds_list_find_value(x_list, i)
9
            var y0 = ds_list_find_value(y_list, i)
10
            var image_alpha_trail = 1 / j
11
            draw_sprite_ext(trail_sprite, 0, x0, y0, 1, 1, 0, c_white, image_alpha_trail)
12
            j += 1
13
        }
14
    }
15
}
16
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, 0, c_white, image_alpha)