Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_tellyvis_remote_generator_Destroy_0

(view raw script w/o annotations or w/e)
1
with (all)
2
{
3
    var destroy_self = true
4
    for (var i = 0; i < ds_list_size(other.instance_list); i++)
5
    {
6
        if (ds_list_find_value(other.instance_list, i) == id)
7
            destroy_self = false
8
    }
9
    if (destroy_self == true)
10
        instance_destroy()
11
}
12
with (obj_dialogue_box_battle_transformation_any)
13
    event_user(0)