Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_screenflash_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_colour(c_white);
2
draw_set_alpha(alpha);
3
ossafe_fill_rectangle(camerax() - 10, cameray() - 10, camerax() + camerawidth() + 10, cameray() + cameraheight() + 10, 0);
4
draw_set_alpha(1);
5
alpha -= 0.1;
6
if (alpha <= 0)
7
    instance_destroy();