Deltarune script viewer

← back to main script listing

gml_GlobalScript__pal_swap_layer_end

(view raw script w/o annotations or w/e)
1
function _pal_swap_layer_end()
2
{
3
    if (event_type == ev_draw)
4
    {
5
        pal_swap_reset();
6
        if (ds_priority_empty(global.Pal_Layer_Priority))
7
        {
8
            ds_priority_copy(global.Pal_Layer_Priority, global.Pal_Layer_Temp_Priority);
9
            ds_priority_clear(global.Pal_Layer_Temp_Priority);
10
        }
11
    }
12
}