diff --git a/Saves/BoxWallpaper.cs b/Saves/BoxWallpaper.cs index 0366048b7..346c62bc7 100644 --- a/Saves/BoxWallpaper.cs +++ b/Saves/BoxWallpaper.cs @@ -12,20 +12,20 @@ namespace PKHeX { case 6: s += SAV.ORAS && index > 16 ? "ao" : "xy"; break; - case 5: s += SAV.Version == GameVersion.B2W2 && index > 16 ? "b2w2" : "bw"; + case 5: s += SAV.B2W2 && index > 16 ? "b2w2" : "bw"; break; case 4: - if (SAV.Version == GameVersion.Pt && index > 16) + if (SAV.Pt && index > 16) s += "pt"; - else if (SAV.Version == GameVersion.HGSS && index > 16) + else if (SAV.HGSS && index > 16) s += "hgss"; else s += "dp"; break; case 3: - if (SAV.Version == GameVersion.E) + if (SAV.E) s += "e"; - else if (SAV.Version == GameVersion.FRLG && index > 12) + else if (SAV.FRLG && index > 12) s += "frlg"; else s += "rs"; diff --git a/Saves/SaveFile.cs b/Saves/SaveFile.cs index 2137b0091..49e259caa 100644 --- a/Saves/SaveFile.cs +++ b/Saves/SaveFile.cs @@ -50,6 +50,14 @@ namespace PKHeX public bool ORASDEMO => Data.Length == SaveUtil.SIZE_G6ORASDEMO; public bool ORAS => Version == GameVersion.OR || Version == GameVersion.AS; public bool XY => Version == GameVersion.X || Version == GameVersion.Y; + public bool B2W2 => Version == GameVersion.B2W2; + public bool BW => Version == GameVersion.BW; + public bool HGSS => Version == GameVersion.HGSS; + public bool Pt => Version == GameVersion.Pt; + public bool DP => Version == GameVersion.DP; + public bool E => Version == GameVersion.E; + public bool FRLG => Version == GameVersion.FRLG; + public bool RS => Version == GameVersion.RS; public virtual int MaxMoveID => int.MaxValue; public virtual int MaxSpeciesID => int.MaxValue;