Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queen_laser_Step_0

(view raw script w/o annotations or w/e)
1
if (image_xscale < 10)
2
    image_xscale += 0.5;
3
if (image_xscale >= 6)
4
{
5
    speed += 4;
6
    if (speed >= 20)
7
    {
8
        active = 0;
9
        if (image_yscale >= 1)
10
            image_yscale += 0.2;
11
        image_alpha -= 0.2;
12
        if (image_alpha <= 0)
13
            instance_destroy();
14
    }
15
}