Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_anim

(view raw script w/o annotations or w/e)
1
function 
scr_anim
scr_anim

function
scr_anim(arg0, arg1)
{ objanim = instance_create(x, y, obj_anim); objanim.target = id; objanim.sprite_index = arg0; objanim.framespeed = arg1; with (objanim) event_user(0); }
(arg0, arg1)
2
{
3
    objanim = instance_create(x, y, obj_anim);
4
    objanim.target = id;
5
    objanim.sprite_index = arg0;
6
    objanim.framespeed = arg1;
7
    with (objanim)
8
        event_user(0);
9
}