Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_music_sudden_stop

(view raw script w/o annotations or w/e)
1
function scr_music_sudden_stop
scr_music_sudden_stop

function scr_music_sudden_stop(argument0, argument1, argument2) //gml_Script_scr_music_sudden_stop { with (instance_create(0, 0, obj_audio_sudden_stop_helper)) { audio_to_fade = argument0 fade_strength = argument1 / 100 audio_stop = argument2 if (audio_stop == false) audio_resume_sound(argument0) } }
(argument0, argument1, argument2) //gml_Script_scr_music_sudden_stop
2
{
3
    with (instance_create(0, 0, obj_audio_sudden_stop_helper))
4
    {
5
        audio_to_fade = argument0
6
        fade_strength = argument1 / 100
7
        audio_stop = argument2
8
        if (audio_stop == false)
9
            audio_resume_sound(argument0)
10
    }
11
}