mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
17 lines
605 B
C
17 lines
605 B
C
#ifndef GUARD_ITEM_ICON_H
|
|
#define GUARD_ITEM_ICON_H
|
|
|
|
extern u8 *gItemIconDecompressionBuffer;
|
|
extern u8 *gItemIcon4x4Buffer;
|
|
|
|
extern const struct SpriteTemplate gItemIconSpriteTemplate;
|
|
|
|
bool8 AllocItemIconTemporaryBuffers(void);
|
|
void FreeItemIconTemporaryBuffers(void);
|
|
void CopyItemIconPicTo4x4Buffer(const void *src, void *dest);
|
|
u8 AddItemIconSprite(u16 tilesTag, u16 paletteTag, u16 itemId);
|
|
u8 AddCustomItemIconSprite(const struct SpriteTemplate *customSpriteTemplate, u16 tilesTag, u16 paletteTag, u16 itemId);
|
|
const void *GetItemIconPicOrPalette(u16 itemId, u8 which);
|
|
|
|
#endif //GUARD_ITEM_ICON_H
|