Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lerpimageblend_Step_0

(view raw script w/o annotations or w/e)
1
if (i_ex(target))
2
{
3
    var maxblend = clamp(blendindex, 0, 1);
4
    target.image_blend = merge_color(color1, color2, maxblend);
5
}
6
if (!i_ex(target))
7
    instance_destroy();