mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Handle ??? type gen4 arceus form check
interstitial between steel & fire, shift the form value up by 1 if applicable https://projectpokemon.org/home/forums/topic/44806-arceus-not-legal/?tab=comments#comment-229774
This commit is contained in:
parent
7a77b4524f
commit
6db0b673db
1 changed files with 2 additions and 0 deletions
|
@ -2070,6 +2070,8 @@ namespace PKHeX.Core
|
|||
form = Array.IndexOf(Legal.Arceus_Plate, item) + 1;
|
||||
else if (777 <= item && item <= 793)
|
||||
form = Array.IndexOf(Legal.Arceus_ZCrystal, item) + 1;
|
||||
if (pkm.Format == 4 && form >= 9)
|
||||
form++; // ??? type Form shifts everything by 1
|
||||
|
||||
if (form != pkm.AltForm)
|
||||
AddLine(Severity.Invalid, V308, CheckIdentifier.Form);
|
||||
|
|
Loading…
Reference in a new issue