Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_splitting_feather_ext_checker_Destroy_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (variable_instance_exists(id, "id_feather") && is_array(id_feather))
4
{
5
    for (i = 0; i < array_length(id_feather); i += 1)
6
    {
7
        with (id_feather[i])
8
            instance_destroy()
9
    }
10
}