Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_jackolantern_face_Step_0

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