mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-03-22 01:34:11 -05:00
33 lines
569 B
Plaintext
33 lines
569 B
Plaintext
function check_skip(argument0) {
|
|
var pkmn = global.dexdata[argument0, dex.pokemon];
|
|
var form = global.dexdata[argument0, dex.form];
|
|
var bank = global.dexdata[argument0, dex.bankable];
|
|
|
|
if (bank=="FALSE" || (form=="GIGANTAMAX" && !global.show_gigantamax))
|
|
return false;
|
|
|
|
switch(form)
|
|
{
|
|
case "MEGA":
|
|
case "MEGA (X)":
|
|
case "MEGA (Y)":
|
|
case "PRIMAL":
|
|
return false;
|
|
break;
|
|
}
|
|
|
|
switch(pkmn)
|
|
{
|
|
case "ARCEUS":
|
|
case "SILVALLY":
|
|
if (form != "NORMAL")
|
|
return false;
|
|
break;
|
|
}
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|