This commit is contained in:
the me 2022-08-07 14:14:04 -07:00
commit 09ade10207
117 changed files with 2153 additions and 0 deletions

View file

@ -0,0 +1,12 @@
function array_remove(array, val) {
var returnable = false;
var i;
for (i=0; i<array_length(array); i++) {
if array[i] == val {
array_delete(array, i, 1);
i--;
returnable = true;
}
}
return returnable;
}

View file

@ -0,0 +1,12 @@
{
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "data",
"path": "folders/Scripts/data.yy",
},
"resourceVersion": "1.0",
"name": "array_remove",
"tags": [],
"resourceType": "GMScript",
}