Undertale script viewer

← back to main script listing

gml_Object_obj_flyjar_Step_0

(view raw script w/o annotations or w/e)
1
if (off == 1 && image_alpha < 1)
2
    image_alpha += 0.02;
3
if (obj_questionasker.phase > 2 || obj_questionasker.phase < 1)
4
    off = 2;
5
if (off == 2 && image_alpha > 0)
6
{
7
    image_alpha -= 0.05;
8
    if (image_alpha <= 0.05)
9
        instance_destroy();
10
}