pokeemerald/include/item_menu_icons.h

32 lines
1.2 KiB
C
Raw Normal View History

2021-04-02 16:54:40 +00:00
#ifndef GUARD_ITEM_MENU_ICONS_H
#define GUARD_ITEM_MENU_ICONS_H
2017-11-18 15:11:34 +00:00
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 11:32:12 +00:00
2018-03-04 19:03:11 +00:00
void RemoveBagSprite(u8 id);
void AddBagVisualSprite(u8 bagPocketId);
void SetBagVisualPocketId(u8 bagPocketId, bool8 isSwitchingPockets);
2020-05-14 08:37:09 +00:00
void ShakeBagSprite(void);
2018-03-04 19:03:11 +00: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 11:32:12 +00:00
u8 CreateBerryTagSprite(u8 id, s16 x, s16 y);
2018-02-02 13:03:48 +00:00
void FreeBerryTagSpritePalette(void);
2020-08-22 22:20:22 +00:00
u8 CreateSpinningBerrySprite(u8 berryId, u8 x, u8 y, bool8 startAffine);
2018-02-02 13:03:48 +00:00
u8 CreateBerryFlavorCircleSprite(s16 x);
2017-11-18 15:11:34 +00: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
2021-04-02 16:54:40 +00:00
#endif // GUARD_ITEM_MENU_ICONS_H