Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_snd_free

(view raw script w/o annotations or w/e)
1
function snd_free(arg0)
2
{
3
    if (instance_exists(obj_astream))
4
    {
5
        _xstream = arg0;
6
        obj_astream.bstream = _xstream;
7
        with (obj_astream)
8
        {
9
            if (bstream == mystream)
10
                instance_destroy();
11
        }
12
    }
13
}