Undertale script viewer

← back to main script listing

gml_Object_obj_stormstar_Draw_0

(view raw script w/o annotations or w/e)
1
xxxxx = xxxx;
2
yyyyy = yyyy;
3
xxxx = xxx;
4
yyyy = yyy;
5
xxx = xx;
6
yyy = yy;
7
xx = xprevious;
8
yy = yprevious;
9
draw_sprite_ext(sprite_index, 1, xxxxx, yyyyy, image_xscale, image_yscale, image_angle, image_blend, image_alpha - 0.65);
10
draw_sprite_ext(sprite_index, 1, xxx, yyy, image_xscale, image_yscale, image_angle, image_blend, image_alpha - 0.5);
11
draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
12
if (big == 1)
13
{
14
    draw_set_circle_precision(16);
15
    draw_set_color(image_blend);
16
    if (oo == 0)
17
        oo = 1;
18
    else
19
        oo = 0;
20
    if (oo == 0)
21
        draw_set_alpha(0.25 - (1 - image_alpha));
22
    if (oo == 1)
23
        draw_set_alpha(0.5 - (1 - image_alpha));
24
    draw_circle(x, y, 200 + (oo * 20), 0);
25
    draw_set_alpha(1);
26
}
27
if (aa > 0)
28
    image_angle += aa;