Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_special_attack_spawner_Destroy_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
instance_destroy(obj_ceroba_special_attack_fireball)
4
instance_destroy(obj_ceroba_special_attack_fireball_spawner_line)
5
instance_destroy(obj_ceroba_transform_particles)
6
instance_destroy(obj_ceroba_attack_fire_pillar_top_special)
7
var a = layer_get_all_elements("Attack Layer")
8
for (var i = 0; i < array_length(a); i++)
9
{
10
    if (layer_get_element_type(a[i]) == 8)
11
        layer_sequence_destroy(a[i])
12
}
13
layer_destroy("Attack Layer")
14
with (obj_dialogue_box_battle_transformation_any)
15
    event_user(0)