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(argument0, argument1) //gml_Script_cutscene_sfx_play
2
{
3
    if (!audio_is_playing(argument0))
4
    {
5
        audio_play_sound(argument0, 1, 0)
6
        audio_sound_gain(argument0, argument1, 0)
7
    }
8
    cutscene_advance()
9
    return true;
10
}