Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_fadeout_Draw_0

(view raw script w/o annotations or w/e)
1
if (view_current == 0)
2
{
3
    image_alpha += fadespeed;
4
    draw_sprite_ext(sprite_index, image_index, x, y, length, height, 0, image_blend, image_alpha);
5
    if (fadein == 1 && image_alpha <= 0)
6
        instance_destroy();
7
}