Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_maskdraw_start

(view raw script w/o annotations or w/e)
1
function scr_maskdraw_start
scr_maskdraw_start

function scr_maskdraw_start(arg0, arg1, arg2, arg3) { gpu_set_blendenable(false); gpu_set_colorwriteenable(false, false, false, true); draw_set_alpha(0); draw_rectangle(arg0, arg1, arg2, arg3, false); draw_set_alpha(1); }
(arg0, arg1, arg2, arg3)
2
{
3
    gpu_set_blendenable(false);
4
    gpu_set_colorwriteenable(false, false, false, true);
5
    draw_set_alpha(0);
6
    draw_rectangle(arg0, arg1, arg2, arg3, false);
7
    draw_set_alpha(1);
8
}