mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-13 23:50:25 -05:00
Fix inBox
include 0
This commit is contained in:
parent
cc5b065a39
commit
5cf36df360
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user