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