Undertale script viewer

← back to main script listing

gml_Object_obj_doodleball_Destroy_0

(view raw script w/o annotations or w/e)
1
if (active == 1)
2
{
3
    for (i = 0; i < num; i += 1)
4
    {
5
        if (instance_exists(child[i]))
6
        {
7
            with (child[i])
8
                instance_destroy();
9
        }
10
    }
11
}