Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_transition_white_debug_Alarm_0

(view raw script w/o annotations or w/e)
1
alarm[0] = fadespeed
alarm[0]

alarm[0] = fadespeed if (fadein == false) fadealpha += 0.007 if (fadein == true) { fadealpha -= 0.1 if (fadealpha <= 0) { instance_destroy() if (instance_exists(obj_pl) && global.route != 2) obj_pl.alarm[0] = 5 } }
2
if (fadein == false)
3
    fadealpha += 0.007
4
if (fadein == true)
5
{
6
    fadealpha -= 0.1
7
    if (fadealpha <= 0)
8
    {
9
        instance_destroy()
10
        if (instance_exists(obj_pl) && global.route != 2)
11
            obj_pl.alarm[0] = 5
12
    }
13
}