Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_sousborg_flip_generator_Destroy_0

(view raw script w/o annotations or w/e)
1
var a = layer_get_all_elements("Attack Layer")
2
for (var i = 0; i < array_length(a); i++)
3
{
4
    if (layer_get_element_type(a[i]) == 8)
5
        layer_sequence_destroy(a[i])
6
}
7
instance_destroy(obj_battle_enemy_attack_sousborg_flip_items)
8
with (obj_dialogue_box_battle_transformation_any)
9
    event_user(0)