Review changes
This commit is contained in:
+1
-1
@@ -1308,7 +1308,7 @@ void LoadBallGfx(u8 ballId)
|
|||||||
{
|
{
|
||||||
u16 var;
|
u16 var;
|
||||||
|
|
||||||
if (GetSpriteTileStartByTag(gBallSpriteSheets[ballId].tag) == TAG_NONE)
|
if (GetSpriteTileStartByTag(gBallSpriteSheets[ballId].tag) == 0xFFFF)
|
||||||
{
|
{
|
||||||
LoadCompressedSpriteSheetUsingHeap(&gBallSpriteSheets[ballId]);
|
LoadCompressedSpriteSheetUsingHeap(&gBallSpriteSheets[ballId]);
|
||||||
LoadCompressedSpritePaletteUsingHeap(&gBallSpritePalettes[ballId]);
|
LoadCompressedSpritePaletteUsingHeap(&gBallSpritePalettes[ballId]);
|
||||||
|
|||||||
@@ -263,8 +263,6 @@ enum {
|
|||||||
// between 2 Pokémon with held items
|
// between 2 Pokémon with held items
|
||||||
#define MAX_ITEM_ICONS 3
|
#define MAX_ITEM_ICONS 3
|
||||||
|
|
||||||
#define MAX_MENU_ITEMS 7
|
|
||||||
|
|
||||||
// IDs for the item icons affine anims
|
// IDs for the item icons affine anims
|
||||||
enum {
|
enum {
|
||||||
ITEM_ANIM_NONE,
|
ITEM_ANIM_NONE,
|
||||||
@@ -476,7 +474,7 @@ struct PokemonStorageSystemData
|
|||||||
u8 iconScrollState;
|
u8 iconScrollState;
|
||||||
u8 iconScrollToBoxId; // Unused duplicate of scrollToBoxId
|
u8 iconScrollToBoxId; // Unused duplicate of scrollToBoxId
|
||||||
struct WindowTemplate menuWindow;
|
struct WindowTemplate menuWindow;
|
||||||
struct StorageMenu menuItems[MAX_MENU_ITEMS];
|
struct StorageMenu menuItems[7];
|
||||||
u8 menuItemsCount;
|
u8 menuItemsCount;
|
||||||
u8 menuWidth;
|
u8 menuWidth;
|
||||||
u8 menuUnusedField; // Never read.
|
u8 menuUnusedField; // Never read.
|
||||||
|
|||||||
Reference in New Issue
Block a user