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

@@ -1,22 +1,27 @@
/// @description check_galar(id, _show?)
/// @param idee
/// @param ...
// Checks if the Pokémon can move to Sword/Shield.
function check_galar() {
// Checks if the Pokémon can move to Sword/Shield.
var idee = argument[0];
var idee = argument[0];
// Sanity Check™
if (argument_count>1 && !argument[1])
return true;
// Sanity Check™
if (argument_count>1 && !argument[1])
return true;
var nat = global.dexdata[idee, dex.dexno];
var nat = global.dexdata[idee, dex.dexno];
for (var i=1; i<array_height_2d(global.galardata); i++)
{
//show_debug_message("Comparing "+nat+" to "+global.galardata[i, gdex.galarno]);
for (var i=1; i<array_height_2d(global.galardata); i++)
{
//show_debug_message("Comparing "+nat+" to "+global.galardata[i, gdex.galarno]);
if (nat == global.galardata[i, gdex.dexno])
return true;
}
if (nat == global.galardata[i, gdex.dexno])
return true;
}
return false;
return false;
}

View File

@@ -1,8 +1,12 @@
{
"id": "f9ef32bc-566b-4f55-b4ad-0c7ece021e10",
"modelName": "GMScript",
"mvc": "1.0",
"name": "check_galar",
"IsCompatibility": false,
"IsDnD": false
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "Scripts",
"path": "folders/Scripts.yy",
},
"resourceVersion": "1.0",
"name": "check_galar",
"tags": [],
"resourceType": "GMScript",
}