Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_litemremove

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

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