Allow viewing of un-convertible GO encounters

This commit is contained in:
Kurt 2022-08-05 11:23:48 -07:00
parent 538d651aef
commit 999caedf6e

View File

@ -68,7 +68,7 @@ public bool IsBallValid(Ball ball, int currentSpecies)
PogoImportFormat.PK7 =>
PersonalTable.BDSP.IsPresentInGame(Species, Form) ? EntityContext.Gen8b
: PersonalTable.LA.IsPresentInGame(Species, Form) ? EntityContext.Gen8a
: throw new ArgumentOutOfRangeException(nameof(OriginFormat)),
: EntityContext.Gen8, // don't throw an exception, just give them a context.
PogoImportFormat.PB7 => EntityContext.Gen7b,
PogoImportFormat.PK8 => EntityContext.Gen8,
PogoImportFormat.PA8 => EntityContext.Gen8a,