Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_hotland_roof_light_controller_follower_Step_0

(view raw script w/o annotations or w/e)
1
if instance_exists(obj_martlet_follower)
2
{
3
    if (obj_martlet_follower.x <= 308)
4
        overlay_draw_enabled_follower = true
5
    else
6
        overlay_draw_enabled_follower = false
7
    if (overlay_draw_enabled_follower == true)
8
    {
9
        if (overlay_draw_alpha_follower < 1)
10
            overlay_draw_alpha_follower += 0.05
11
    }
12
    else if (overlay_draw_alpha_follower > 0)
13
        overlay_draw_alpha_follower -= 0.05
14
    depth = obj_martlet_follower.depth - 5
15
}