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
        starlo_take_aim_overlay_alpha = lerp(starlo_take_aim_overlay_alpha, 0, 0.2)
7
    else
8
    {
9
        starlo_take_aim_overlay_alpha = 0
10
        instance_destroy()
11
    }
12
}