Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_light_master_old_Draw_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
for (var i = 0; i < array_length(shadow_actor); i += 1)
4
{
5
    with (shadow_actor[i])
6
    {
7
        draw_set_blend_mode(bm_add);
8
        draw_set_alpha(other.light_amount[i]);
9
        draw_sprite(sprite_index, image_index, x, y);
10
        draw_set_alpha(1);
11
        draw_set_blend_mode(bm_normal);
12
    }
13
}