Deltarune (Chapter 1) script viewer

← back to main script listing

gml_GlobalScript_scr_itemshift_temp

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

function scr_itemshift_temp(arg0, arg1) { tempitem[12][arg1] = 0; for (i = arg0; i < 12; i += 1) tempitem[i][arg1] = tempitem[i + 1][arg1]; }
(arg0, arg1)
2
{
3
    tempitem[12][arg1] = 0;
4
    for (i = arg0; i < 12; i += 1)
5
        tempitem[i][arg1] = tempitem[i + 1][arg1];
6
}