Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_animoverride_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
{
3
    source.image_alpha = 0;
4
    init = 1;
5
}
6
if (animdone)
7
{
8
    timer++;
9
    if (timer >= endtime)
10
    {
11
        if (source != noone)
12
            source.image_alpha = 1;
13
        instance_destroy();
14
    }
15
}