Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_genocide_feather_ext_feather_final_Step_1

(view raw script w/o annotations or w/e)
1
var can_trail = false
2
trail_cc_current += 1
3
if (trail_cc_current >= trail_cc_max)
4
{
5
    can_trail = true
6
    trail_cc_current = 0
7
}
8
if (can_trail == true)
9
{
10
    ds_list_add(x_list, x)
11
    ds_list_add(y_list, y)
12
    ds_list_add(angle_list, image_angle)
13
    while (ds_list_size(x_list) > max_points_trail)
14
    {
15
        ds_list_delete(x_list, 0)
16
        ds_list_delete(y_list, 0)
17
        ds_list_delete(angle_list, 0)
18
    }
19
}