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(argument0, argument1, argument2, argument3, argument4) //gml_Script_scr_circle_outline { pos_x = argument0 pos_y = argument1 min_rad = argument2 max_thickness = argument3 circ_color = argument4 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) }
(argument0, argument1, argument2, argument3, argument4) //gml_Script_scr_circle_outline
2
{
3
    pos_x = argument0
4
    pos_y = argument1
5
    min_rad = argument2
6
    max_thickness = argument3
7
    circ_color = argument4
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
}