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 | with (obj_dialogue_box_battle_transformation_any) |
8 | event_user(0) |