Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_p1_falling_bells_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_ceroba_attack_fire_mask))
2
{
3
    if (!alarm[0])
4
        alarm[0] = 45
alarm[0]

if live_call() return global.live_result; var battle_box = obj_dialogue_box_battle_transformation_any var bell_offset = 45 var bell = instance_create_depth(spawn_pos, (battle_box.bbox_top - 40), -1100, obj_battle_enemy_attack_ceroba_phase2_bell) bell.bullet_hit_points = 2 bell.fall_delay = 1 spawn_pos_last = spawn_pos alarm[0] = bell_offset
5
}
6
if instance_exists(obj_ceroba_phase_2_shield)
7
{
8
    var shield_perc = obj_ceroba_phase_2_shield.fill_percentage
9
    if (shield_perc >= 1)
10
    {
11
        instance_destroy()
12
        return;
13
    }
14
}