Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_bell_checker_Step_0

(view raw script w/o annotations or w/e)
1
if (boss_fade_in == true)
2
{
3
    if (boss_draw_alpha < 1)
4
    {
5
        boss_draw_alpha += 0.05;
6
    }
7
    else
8
    {
9
        instance_destroy();
10
        exit;
11
    }
12
    if (instance_exists(obj_battle_enemy_attack_starlo_bell))
13
        obj_battle_enemy_attack_starlo_bell.image_alpha -= 0.1;
14
}
15
else if (boss_draw_alpha > 0.5)
16
{
17
    boss_draw_alpha -= 0.05;
18
}
19
with (obj_starlo_boss_body)
20
    image_alpha = other.boss_draw_alpha;
21
with (obj_starlo_boss_head)
22
    image_alpha = other.boss_draw_alpha;