Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_wild_revolver_circle_multi_Draw_0

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