Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_decibat_cutscene_Other_4

(view raw script w/o annotations or w/e)
1
if (global.flag[15 Decibat fate] == 1)
2
{
3
    obj_pl.plspd = 3;
4
    obj_pl.state = scr_normal_state;
5
    global.cutscene = false;
6
    with (obj_radio)
7
    {
8
        audio_sound_gain(bgm, 1, 0);
9
        audio_sound_pitch(mus_wind, 1);
10
        ms = 127;
11
    }
12
    instance_destroy();
13
}
14
else if (global.flag[15 Decibat fate] != 0)
15
{
16
    obj_pl.x = 160;
17
    obj_pl.plspd = 3;
18
    obj_pl.direction = 90;
19
    obj_pl.state = scr_normal_state;
20
    global.cutscene = false;
21
    instance_destroy();
22
}
23
fadealpha = 0;
24
waiter = 0;
25
if (global.route == 3)
26
    instance_destroy();