Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_final_slowdown_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (starlo_take_aim_fade_out == true)
4
{
5
    if (starlo_take_aim_overlay_alpha > 0.1)
6
    {
7
        starlo_take_aim_overlay_alpha = lerp(starlo_take_aim_overlay_alpha, 0, 0.2);
8
    }
9
    else
10
    {
11
        starlo_take_aim_overlay_alpha = 0;
12
        instance_destroy();
13
    }
14
}