Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_sousborg_season_generator_Destroy_0

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