Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_transition2_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.05 if (fadein == true) { fadealpha -= 0.05 if (fadealpha <= 0) instance_destroy() } if (fadealpha >= 1) { room_goto(newRoom) fadein = true }
2
if (fadein == false)
3
    fadealpha += 0.05
4
if (fadein == true)
5
{
6
    fadealpha -= 0.05
7
    if (fadealpha <= 0)
8
        instance_destroy()
9
}
10
if (fadealpha >= 1)
11
{
12
    room_goto(newRoom)
13
    fadein = true
14
}