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,29 +1,34 @@
/// @description check_galar(id, _show?)
/// @param idee
/// @param ...
// Checks if the Pokémon can move to Sword/Shield.
function show_check() {
// 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]==shw.national)
return true;
// Sanity Check™
if (argument_count>1 && argument[1]==shw.national)
return true;
var nat = global.dexdata[idee, dex.dexno];
var nat = global.dexdata[idee, dex.dexno];
switch(global.show_dex)
{
case shw.galar:
for (var i=1; i<array_height_2d(global.galardata); i++)
if (nat == global.galardata[i, gdex.dexno])
return true;
break;
switch(global.show_dex)
{
case shw.galar:
for (var i=1; i<array_height_2d(global.galardata); i++)
if (nat == global.galardata[i, gdex.dexno])
return true;
break;
case shw.armor:
for (var i=1; i<array_height_2d(global.armordata); i++)
if (nat == global.armordata[i, gdex.dexno])
return true;
break;
}
case shw.armor:
for (var i=1; i<array_height_2d(global.armordata); i++)
if (nat == global.armordata[i, gdex.dexno])
return true;
break;
}
return false;
return false;
}

View File

@@ -1,8 +1,12 @@
{
"id": "9cd5f278-7287-1058-6ab4-3030cbba04a4",
"modelName": "GMScript",
"mvc": "1.0",
"name": "show_check",
"IsCompatibility": false,
"IsDnD": false
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "Scripts",
"path": "folders/Scripts.yy",
},
"resourceVersion": "1.0",
"name": "show_check",
"tags": [],
"resourceType": "GMScript",
}