mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 12:35:20 -05:00
Bypass crustle flag
This commit is contained in:
parent
4012977c3c
commit
15348d3fdd
|
|
@ -61,7 +61,8 @@ private void VerifyShiny(LegalityAnalysis data)
|
|||
break;
|
||||
|
||||
// Forced PID or generated without an encounter
|
||||
if (s is EncounterStatic5 s5 && (s5.Roaming || s5.Shiny != Shiny.Random))
|
||||
// Crustle has 0x80 for its StartWildBattle flag; dunno what it does, but sometimes it doesn't align with the expected PID xor.
|
||||
if (s is EncounterStatic5 s5 && (s5.Roaming || s5.Shiny != Shiny.Random || s5.Species == (int)Species.Crustle))
|
||||
break;
|
||||
VerifyG5PID_IDCorrelation(data);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user