mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 22:40:22 +00:00
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:
parent
49435dc379
commit
c9f0eab1c9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue