Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_spawner_mask_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if instance_exists(obj_ceroba_phase_2_shield)
4
{
5
    var shield_perc = obj_ceroba_phase_2_shield.fill_percentage
6
    if (shield_perc >= 1)
7
    {
8
        instance_destroy()
9
        return;
10
    }
11
}