Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_circle_outline

(view raw script w/o annotations or w/e)
1
function scr_circle_outline
scr_circle_outline

function scr_circle_outline(arg0, arg1, arg2, arg3, arg4) { pos_x = arg0; pos_y = arg1; min_rad = arg2; max_thickness = arg3; circ_color = arg4; draw_set_colour(circ_color); for (var i = 0; i <= max_thickness; i++) draw_circle(pos_x, pos_y, min_rad + (i * 0.25), true); }
(arg0, arg1, arg2, arg3, arg4)
2
{
3
    pos_x = arg0;
4
    pos_y = arg1;
5
    min_rad = arg2;
6
    max_thickness = arg3;
7
    circ_color = arg4;
8
    draw_set_colour(circ_color);
9
    for (var i = 0; i <= max_thickness; i++)
10
        draw_circle(pos_x, pos_y, min_rad + (i * 0.25), true);
11
}