Added Info & Area buttons.

This commit is contained in:
TheGreenTie
2020-03-01 19:27:30 -06:00
parent d9f123b438
commit f8ffe2de19
17 changed files with 127 additions and 34 deletions

View File

@@ -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;