mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 18:27:03 -05:00
Fix inBox
include 0
This commit is contained in:
@@ -98,7 +98,7 @@ private static Image getSprite(PKM pkm, SaveFile SAV, int box, int slot, bool fl
|
||||
if (!pkm.Valid)
|
||||
return null;
|
||||
|
||||
bool inBox = slot > 0 && slot < 30;
|
||||
bool inBox = slot >= 0 && slot < 30;
|
||||
var sprite = pkm.Species != 0 ? pkm.Sprite(isBoxBGRed: inBox && BoxWallpaper.getWallpaperRed(SAV, box)) : null;
|
||||
|
||||
if (slot <= -1) // from tabs
|
||||
|
||||
Reference in New Issue
Block a user