Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_heartattack_glass_shard_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    timer++;
4
    image_angle += (10 / timer);
5
    image_alpha -= 0.04;
6
}
7
if (con == 1)
8
{
9
    timer++;
10
    image_angle -= (10 / timer);
11
    image_alpha += 0.04;
12
    if (x > xstart)
13
        instance_destroy();
14
}