Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_susiezilla_building_piece_Step_0

(view raw script w/o annotations or w/e)
1
image_angle += 2;
2
timer++;
3
if (timer > 12)
4
{
5
    if (flicker)
6
    {
7
        image_alpha = 1 - image_alpha;
8
        if (timer >= 18)
9
            instance_destroy();
10
    }
11
    else
12
    {
13
        image_alpha -= 0.1;
14
        if (image_alpha < 0)
15
            instance_destroy();
16
    }
17
}