Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_lanterns_Destroy_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
ds_list_clear(position_list);
4
instance_destroy(obj_ceroba_phase_2_p1_lantern);
5
instance_destroy(obj_ceroba_phase_2_p1_lantern_recreator);
6
instance_destroy(obj_ceroba_attack_fireball);
7
if (instance_exists(obj_ceroba_phase_2_shield))
8
{
9
    var shield_perc = obj_ceroba_phase_2_shield.fill_percentage;
10
    if (shield_perc < 1)
11
    {
12
        with (obj_dialogue_box_battle_transformation_any)
13
            event_user(0);
14
    }
15
}