mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-11 08:25:14 -05:00
Ignore keldeo resolute form check on gen8+
can mismatch in gen8+ as the form activates in battle when knowing the move; outside of battle can be either state.
This commit is contained in:
@@ -91,7 +91,9 @@ bool IsValidPikachuCap()
|
||||
}
|
||||
case (int)Species.Keldeo:
|
||||
{
|
||||
if (Info.Generation == 5) // can mismatch in gen5 via BW tutor and transfer up
|
||||
// can mismatch in gen5 via BW tutor and transfer up
|
||||
// can mismatch in gen8+ as the form activates in battle when knowing the move; outside of battle can be either state.
|
||||
if (Info.Generation == 5 || pkm.Format >= 8)
|
||||
break;
|
||||
int index = Array.IndexOf(pkm.Moves, 548); // Secret Sword
|
||||
bool noSword = index < 0;
|
||||
|
||||
Reference in New Issue
Block a user