Review changes

This commit is contained in:
Eduardo Quezada 2022-08-01 15:14:21 -04:00
parent 7ea49adf3c
commit cc288e3786
2 changed files with 2 additions and 4 deletions

View File

@ -1308,7 +1308,7 @@ void LoadBallGfx(u8 ballId)
{
u16 var;
if (GetSpriteTileStartByTag(gBallSpriteSheets[ballId].tag) == TAG_NONE)
if (GetSpriteTileStartByTag(gBallSpriteSheets[ballId].tag) == 0xFFFF)
{
LoadCompressedSpriteSheetUsingHeap(&gBallSpriteSheets[ballId]);
LoadCompressedSpritePaletteUsingHeap(&gBallSpritePalettes[ballId]);

View File

@ -263,8 +263,6 @@ enum {
// between 2 Pokémon with held items
#define MAX_ITEM_ICONS 3
#define MAX_MENU_ITEMS 7
// IDs for the item icons affine anims
enum {
ITEM_ANIM_NONE,
@ -476,7 +474,7 @@ struct PokemonStorageSystemData
u8 iconScrollState;
u8 iconScrollToBoxId; // Unused duplicate of scrollToBoxId
struct WindowTemplate menuWindow;
struct StorageMenu menuItems[MAX_MENU_ITEMS];
struct StorageMenu menuItems[7];
u8 menuItemsCount;
u8 menuWidth;
u8 menuUnusedField; // Never read.