Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_sfx_play

(view raw script w/o annotations or w/e)
1
function cutscene_sfx_play(arg0, arg1)
2
{
3
    if (!audio_is_playing(arg0))
4
    {
5
        audio_play_sound(arg0, 1, 0);
6
        audio_sound_gain(arg0, arg1, 0);
7
    }
8
    cutscene_advance();
9
    return true;
10
}