Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_audio_fade

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

function scr_audio_fade(argument0, argument1) //gml_Script_scr_audio_fade { var snd = argument0 var fade_len = argument1 with (obj_radio) { audio_other_fade = true audio_to_fade = snd audio_fade_length = fade_len } }
(argument0, argument1) //gml_Script_scr_audio_fade
2
{
3
    var snd = argument0
4
    var fade_len = argument1
5
    with (obj_radio)
6
    {
7
        audio_other_fade = true
8
        audio_to_fade = snd
9
        audio_fade_length = fade_len
10
    }
11
}