mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
e53ba4773d
Bag graphics and berry graphics mostly documented item_menu.c significantly documented Bag structs documented and functions renamed to match formatting
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
#ifndef GUARD_ITEM_MENU_ICONS
|
|
#define GUARD_ITEM_MENU_ICONS
|
|
|
|
extern const struct CompressedSpriteSheet gBagMaleSpriteSheet;
|
|
extern const struct CompressedSpriteSheet gBagFemaleSpriteSheet;
|
|
extern const struct CompressedSpritePalette gBagPaletteTable;
|
|
extern const struct CompressedSpriteSheet gBerryCheckCircleSpriteSheet;
|
|
extern const struct CompressedSpritePalette gBerryCheckCirclePaletteTable;
|
|
|
|
void RemoveBagSprite(u8 id);
|
|
void AddBagVisualSprite(u8 bagPocketId);
|
|
void SetBagVisualPocketId(u8 bagPocketId, bool8 isSwitchingPockets);
|
|
void ShakeBagVisual(void);
|
|
void AddSwitchPocketRotatingBallSprite(s16 rotationDirection);
|
|
void AddBagItemIconSprite(u16 itemId, u8 id);
|
|
void RemoveBagItemIconSprite(u8 id);
|
|
void sub_80D4FAC(void);
|
|
void sub_80D4FC8(u8 arg0);
|
|
void sub_80D4FEC(u8 arg0);
|
|
u8 CreateBerryTagSprite(u8 id, s16 x, s16 y);
|
|
void FreeBerryTagSpritePalette(void);
|
|
u8 LoadSpinningBerryPicGfx(u8 berryId, u8 x, u8 y, bool8 startAffine);
|
|
u8 CreateBerryFlavorCircleSprite(s16 x);
|
|
|
|
#define TAG_BAG_GFX 100
|
|
#define TAG_ROTATING_BALL_GFX 101
|
|
#define TAG_BERRY_CHECK_CIRCLE_GFX 10000
|
|
#define TAG_BERRY_PIC_TILE 0xFFFF
|
|
#define TAG_BERRY_PIC_PAL 0x7544
|
|
|
|
#endif // GUARD_ITEM_MENU_ICONS
|