Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_credits_Step_0

(view raw script w/o annotations or w/e)
1
if (alpha < 1)
2
    alpha += 0.05
3
if (alpha >= 0.99 && (!alarm[0]) && scroll == 0)
4
    alarm[0] = 45
alarm[0]

scroll = 1 audio_play_sound(mus_gimme_ur_cash_yellow, 1, 0) audio_sound_gain(mus_gimme_ur_cash_yellow, 1, 0)
5
if (scroll == 1)
6
{
7
    yy -= scrollSpeed
8
    scrollSpeed = 2
9
}
10
if (yy < scrollMax)
11
    scroll = 2
12
if (scroll == 2)
13
{
14
    yy -= scrollSpeed
15
    if (scrollSpeed > 0)
16
        scrollSpeed -= 0.01
17
    if (scrollSpeed < 0)
18
    {
19
        scrollSpeed = 0
20
        yy = round(yy)
21
        if (!alarm[2])
22
            alarm[2] = 180
alarm[2]

draw_bye = true
23
    }
24
}