Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_dustpile_susie_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_alpha(0);
2
draw_rectangle_colour(bbox_left, bbox_top, bbox_right, bbox_bottom, c_black, c_black, c_black, c_black, false);
3
draw_set_alpha(1);
4
if (bust == 0)
5
{
6
    draw_sprite_ext(spr_dustpile_parts, 3, x, y, 2, 2, 0, c_white, image_alpha);
7
    draw_sprite_ext(spr_dustpile_parts, 2, x - sin(siner / 5), y + sin(siner / 5), 2, 2, 0, c_white, image_alpha);
8
    draw_sprite_ext(spr_dustpile_parts, 1, x + cos(siner / 5), y + sin(siner / 5) + 1, 2, 2, 0, c_white, image_alpha);
9
    draw_sprite_ext(spr_dustpile_parts, 0, x + sin(siner / 5), y + sin(siner / 5), 2, 2, 0, c_white, image_alpha);
10
}
11
else
12
{
13
    draw_sprite_ext(spr_dustpile_parts, 4, x, y, 2, 2, 0, c_white, image_alpha);
14
}