mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-28 00:24:11 +01:00
Review changes
This commit is contained in:
parent
7ea49adf3c
commit
cc288e3786
@ -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]);
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user