Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_blocktree_pink_bg_Draw_0

(view raw script w/o annotations or w/e)
1
siner += 1;
2
if (spec < 2)
3
{
4
    draw_sprite_ext(sprite_index, 1, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
5
    draw_sprite_ext(sprite_index, 2, x + (sin(siner / 12) * 2), y + (cos(siner / 20) * 2), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
6
    draw_sprite_ext(sprite_index, 3, x + (sin(siner / 14) * 1), y + (cos(siner / 24) * 1), image_xscale, image_yscale, image_angle, image_blend, image_alpha);
7
}
8
else
9
{
10
    draw_sprite_ext(sprite_index, siner / 6, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
11
}