Fix formatting
This commit is contained in:
parent
b885e01b39
commit
d7ab1ba588
1 changed files with 7 additions and 7 deletions
|
@ -547,14 +547,14 @@ void RemoveBagItemIconSprite(u8 id)
|
|||
#ifdef BUGFIX
|
||||
u8 *spriteId = &gBagMenu->spriteIds[ITEMMENUSPRITE_ITEM];
|
||||
|
||||
if (spriteId[id ^ 1] != SPRITE_NONE)
|
||||
gSprites[spriteId[id ^ 1]].invisible = TRUE;
|
||||
if (spriteId[id ^ 1] != SPRITE_NONE)
|
||||
gSprites[spriteId[id ^ 1]].invisible = TRUE;
|
||||
|
||||
if (spriteId[id] != SPRITE_NONE)
|
||||
{
|
||||
DestroySpriteAndFreeResources(&gSprites[spriteId[id]]);
|
||||
spriteId[id] = SPRITE_NONE;
|
||||
}
|
||||
if (spriteId[id] != SPRITE_NONE)
|
||||
{
|
||||
DestroySpriteAndFreeResources(&gSprites[spriteId[id]]);
|
||||
spriteId[id] = SPRITE_NONE;
|
||||
}
|
||||
#else
|
||||
RemoveBagSprite(id + ITEMMENUSPRITE_ITEM);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue