Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_audio_fade_helper_Step_0

(view raw script w/o annotations or w/e)
1
if (audio_sound_get_gain(audio_to_fade) <= 0.1)
2
{
3
    audio_stop_sound(audio_to_fade)
4
    audio_sound_gain(audio_to_fade, 1, 0)
5
    instance_destroy()
6
}