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
        boss_draw_alpha += 0.05
5
    else
6
    {
7
        instance_destroy()
8
        return;
9
    }
10
    if instance_exists(obj_battle_enemy_attack_starlo_bell)
11
        obj_battle_enemy_attack_starlo_bell.image_alpha -= 0.1
12
}
13
else if (boss_draw_alpha > 0.5)
14
    boss_draw_alpha -= 0.05
15
with (obj_starlo_boss_body)
16
    image_alpha = other.boss_draw_alpha
17
with (obj_starlo_boss_head)
18
    image_alpha = other.boss_draw_alpha