Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_missing_poster_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (event_fade_in == true && draw_alpha < 1)
4
    draw_alpha += 0.1
5
else
6
    event_fade_in = false
7
if (event_fade_out == true)
8
{
9
    if (draw_alpha > 0)
10
        draw_alpha -= 0.1
11
    else
12
    {
13
        event_fade_out = false
14
        instance_destroy()
15
    }
16
    return;
17
}
18
if (keyboard_multicheck_pressed(0) || keyboard_multicheck_pressed(1))
19
{
20
    if ((!event_fade_out) && (!event_fade_in))
21
    {
22
        audio_play_sound(snd_mainmenu_select, 1, 0)
23
        event_fade_out = true
24
    }
25
}