Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_effect_slither_fog_Step_0

(view raw script w/o annotations or w/e)
1
draw_alpha = lerp(draw_alpha, target_alpha, 0.1)
2
if (target_alpha != 0 && noloop == false)
3
{
4
    if instance_exists(obj_heart_battle_fighting_parent)
5
        noloop = true
6
}
7
if (noloop == true)
8
{
9
    if (!instance_exists(obj_heart_battle_fighting_parent))
10
    {
11
        noloop = false
12
        target_alpha = 0
13
    }
14
}
15
image_total += 2