Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_darkness_Step_0

(view raw script w/o annotations or w/e)
1
if (room == rm_darkruins_14b)
2
{
3
    if (global.flag[18 Micro Froggit fate] > 0)
4
    {
5
        instance_destroy()
6
        return;
7
    }
8
}
9
if (!instance_exists(obj_pl))
10
    return;
11
x = obj_pl.x
12
y = obj_pl.y
13
if (fadeout == true)
14
{
15
    if (image_alpha > 0)
16
        image_alpha -= 0.05
17
}