mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-09-08 02:25:22 -05:00
Switcharoo to Gee Emm 2.3
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
Reference in New Issue
Block a user