pokeemerald/include/item_menu_icons.h

32 lines
1.2 KiB
C
Raw Normal View History

2017-11-18 16:11:34 +01:00
#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;
2018-02-02 12:32:12 +01:00
2018-03-04 20:03:11 +01:00
void RemoveBagSprite(u8 id);
void AddBagVisualSprite(u8 bagPocketId);
void SetBagVisualPocketId(u8 bagPocketId, bool8 isSwitchingPockets);
2020-05-14 10:37:09 +02:00
void ShakeBagSprite(void);
2018-03-04 20:03:11 +01:00
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);
2018-02-02 12:32:12 +01:00
u8 CreateBerryTagSprite(u8 id, s16 x, s16 y);
2018-02-02 14:03:48 +01:00
void FreeBerryTagSpritePalette(void);
u8 LoadSpinningBerryPicGfx(u8 berryId, u8 x, u8 y, bool8 startAffine);
2018-02-02 14:03:48 +01:00
u8 CreateBerryFlavorCircleSprite(s16 x);
2017-11-18 16:11:34 +01:00
#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
2017-11-18 16:11:34 +01:00
#endif // GUARD_ITEM_MENU_ICONS