Deltarune (Chapter 2) script viewer

← back to main script listing

gml_GlobalScript_scr_litemshift

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

function
scr_litemshift(arg0, arg1)
{ global.litem[8] = arg1; for (i = arg0; i < 8; i += 1) global.litem[i] = global.litem[i + 1]; script_execute(scr_litemname); }
(arg0, arg1)
2
{
3
    global.litem[8] = arg1;
4
    for (i = arg0; i < 8; i += 1)
5
        global.litem[i] = global.litem[i + 1];
6
    script_execute(scr_litemname);
7
}