Pokemon storage moving items bugfix (#7763)

This commit is contained in:
FosterProgramming 2025-09-20 15:38:46 +02:00 committed by GitHub
parent f28b3bf3b8
commit 02824009d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10081,7 +10081,7 @@ void UpdateSpeciesSpritePSS(struct BoxPokemon *boxMon)
DestroyBoxMonIconAtPosition(sCursorPosition);
CreateBoxMonIconAtPos(sCursorPosition);
if (sStorage->boxOption == OPTION_MOVE_ITEMS)
SetBoxMonIconObjMode(sCursorPosition, (GetBoxMonData(boxMon, MON_DATA_HELD_ITEM) == ITEM_NONE ? ST_OAM_OBJ_NORMAL : ST_OAM_OBJ_BLEND));
SetBoxMonIconObjMode(sCursorPosition, (GetBoxMonData(boxMon, MON_DATA_HELD_ITEM) == ITEM_NONE ? ST_OAM_OBJ_BLEND : ST_OAM_OBJ_NORMAL));
}
}
sJustOpenedBag = FALSE;