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_greatest(array) {
var bigshot = -infinity;
var bigshotat = -1;
var i;
for (i=0; i<array_length(array); i++) {
if bigshot < array[i] {
bigshot = array[i];
bigshotat = i;
}
}
return bigshotat;
}

View file

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