Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_crowd_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
if (type != 1)
3
{
4
    rot += 60;
5
    draw_sprite_ext(spr_mike_clap, 0, x + max(0, lengthdir_y(4, rot)), y + max(0, lengthdir_y(4, rot)), image_xscale, image_yscale, 1, image_blend, 1);
6
    draw_sprite_ext(spr_mike_clap, 0, x - max(0, lengthdir_y(4, rot)), y - max(0, lengthdir_y(4, rot)), image_xscale, image_yscale, 1, image_blend, 1);
7
}
8
else
9
{
10
    draw_sprite(spr_mike_shush, 0, x, y + 4 + (cos(xstart + (current_time / 300)) * 4));
11
}