Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_animator_complex_Step_0

(view raw script w/o annotations or w/e)
1
target.sprite_index = sprite;
2
target.image_index = start_frame + index;
3
if (++frameprogress > timings_array[index])
4
{
5
    frameprogress = 0;
6
    index++;
7
    show_debug_message_concat(index);
8
    if (index >= array_length(timings_array))
9
        instance_destroy();
10
}