Fix pt encountertype appearance

>= 7, <= 12, != 9

Wrong GameVersion enum values (why hgss uses a number before idk)
Thanks JSS!
This commit is contained in:
Kaphotics 2016-08-28 12:42:29 -07:00
parent 49435dc379
commit c9f0eab1c9

View file

@ -2026,7 +2026,7 @@ namespace PKHeX
// Visibility logic for Gen 4 encounter type; only show for Gen 4 Pokemon.
if (SAV.Generation >= 4)
{
bool g4 = Version >= GameVersion.D && Version <= GameVersion.SS;
bool g4 = Version >= GameVersion.HG && Version <= GameVersion.Pt;
if ((int) Version == 9) // invalid
g4 = false;
CB_EncounterType.Visible = Label_EncounterType.Visible = g4;