mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-20 01:24:14 -05:00
Added Info & Area buttons.
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
/// @description check_galar(id, show?)
|
||||
/// @param id
|
||||
/// @param show?
|
||||
/// @description check_galar(id, _show?)
|
||||
// Checks if the Pokémon can move to Sword/Shield.
|
||||
|
||||
var idee = argument0;
|
||||
var show = argument1;
|
||||
var idee = argument[0];
|
||||
|
||||
// Sanity Check™
|
||||
if (!show)
|
||||
if (argument_count>1 && !argument[1])
|
||||
return true;
|
||||
|
||||
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]);
|
||||
show_debug_message("Comparing "+nat+" to "+global.galardata[i, gdex.galarno]);
|
||||
|
||||
if (nat == global.galardata[i, gdex.dexno])
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user