Deltarune script viewer

← back to main script listing

gml_Object_obj_dustpile_ch1_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
draw_sprite_ext(spr_dustpile_parts_ch1, 3, x, y, 2, 2, 0, c_white, image_alpha);
5
if (bust == 0)
6
{
7
    draw_sprite_ext(spr_dustpile_parts_ch1, 2, x - sin(siner / 5), y + sin(siner / 5), 2, 2, 0, c_white, image_alpha);
8
    draw_sprite_ext(spr_dustpile_parts_ch1, 1, x + cos(siner / 5), y + sin(siner / 5) + 1, 2, 2, 0, c_white, image_alpha);
9
    draw_sprite_ext(spr_dustpile_parts_ch1, 0, x + sin(siner / 5), y + sin(siner / 5), 2, 2, 0, c_white, image_alpha);
10
}