diff --git a/PKHeX.WinForms/Util/PKMUtil.cs b/PKHeX.WinForms/Util/PKMUtil.cs index a91363d0e..2b5b7813c 100644 --- a/PKHeX.WinForms/Util/PKMUtil.cs +++ b/PKHeX.WinForms/Util/PKMUtil.cs @@ -103,7 +103,7 @@ private static Image getSprite(PKM pkm, SaveFile SAV, int box, int slot, bool fl return null; bool isBoxBGRed = false; - if (SAV.Generation == 7 || SAV.Generation == 6) + if (pkm.Species != 0 && slot >= 0 && slot < 30 && (SAV.Generation == 7 || SAV.Generation == 6)) { switch (SAV.getBoxWallpaper(box)) {