Switcharoo to Gee Emm 2.3

This commit is contained in:
Rodrigo
2021-03-01 14:01:14 -06:00
parent e947b6838f
commit 518c2d3ead
2912 changed files with 7140 additions and 82048 deletions

View File

@@ -0,0 +1,14 @@
/// @description Returns the depth of the specified object.
/// @param {Number} obj The index of the object to check
/// @return {Number} depth of the object
function object_get_depth(argument0) {
var objID = argument0;
var ret = 0;
if (objID >= 0) && (objID < array_length_1d(global.__objectID2Depth)) {
ret = global.__objectID2Depth[objID];
} // end if
return ret;
}

View File

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