Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_lightsource_heartlight_Draw_0

(view raw script w/o annotations or w/e)
1
if (supercharged)
2
{
3
    draw_set_color(c_white);
4
    var i = 0.25;
5
    while (i <= 0.5)
6
    {
7
        draw_set_alpha(1 - (i * 1.8));
8
        d_circle(x, y, smallerLight * i, false);
9
        i += max(0.025, 0.1 - (((power(i * 10, 1.035) / 10) - 0.25) / 3));
10
    }
11
    draw_set_alpha(1);
12
}