Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_pipis_wall_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    if (image_alpha < 1)
4
        image_alpha += 0.1;
5
}
6
if (con == 1)
7
{
8
    if (image_alpha > 0)
9
        image_alpha -= 0.1;
10
    else
11
        instance_destroy();
12
}
13
if (type == 1)
14
{
15
    siner += 0.5;
16
    x = xstart + (sin(siner / 6) * 48);
17
}
18
if (global.turntimer < 1)
19
    instance_destroy();