Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_toy_gun_circle_multi_Draw_0

(view raw script w/o annotations or w/e)
1
if (execute_create == true)
2
{
3
    for (i = 0; i <= final_circle; i++)
4
    {
5
        if (imagea[i] > 0)
6
        {
7
            draw_set_alpha(imagea[i])
8
            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) }
(x, y, (outline[i] - 1), (8 + thickness[i]), outline_color[i])
9
            if (hit[i] == 0)
10
                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) }
(x, y, outline[i], (4 + thickness[i]), cursor_color[i])
11
        }
12
    }
13
    draw_set_alpha(1)
14
}