Undertale script viewer

← back to main script listing

gml_Object_obj_sidestalk_Draw_0

(view raw script w/o annotations or w/e)
1
if (frozen == 0)
2
    siner += 1;
3
growth = 1 + (cos(siner / 5) * 0.01);
4
ssx = sin(siner / 3) * 2 * image_xscale;
5
ssy = cos(siner / 3) * 2;
6
if (frozen != 0)
7
    image_speed = 1;
8
if (frozen == 0)
9
    image_speed = 3;
10
draw_sprite_ext(sprite_index, image_index, x - ssx, y + ssy, image_xscale, growth, 0, image_blend, 1);