Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_mike_smoke_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, x, y, scale, scale, image_angle, c_white, image_alpha);
2
if (act == 0)
3
    scale += ((1 - scale) * 0.25);
4
if (act == 1)
5
{
6
    image_alpha -= 0.1;
7
    if (image_alpha <= 0)
8
        instance_destroy();
9
}