pokeemerald/include/pokemon_icon.h

30 lines
1.3 KiB
C
Raw Normal View History

2017-09-26 20:39:59 +00:00
#ifndef GUARD_POKEMON_ICON_H
#define GUARD_POKEMON_ICON_H
2018-12-15 22:58:47 +00:00
extern const u8 gMonIconPaletteIndices[];
2021-11-01 05:42:02 +00:00
extern const u8 *const gMonIconTable[];
extern const struct SpritePalette gMonIconPaletteTable[];
2018-12-15 22:58:47 +00:00
2018-04-13 12:21:49 +00:00
const u8 *GetMonIconTiles(u16 species, bool32);
2021-10-18 02:04:08 +00:00
void TryLoadAllMonIconPalettesAtOffset(u16 offset);
2018-12-17 22:00:08 +00:00
u8 GetValidMonIconPalIndex(u16 species);
2017-09-26 20:39:59 +00:00
const u8 *GetMonIconPtr(u16 speciesId, u32 personality, u32 frameNo);
const u16 *GetValidMonIconPalettePtr(u16 speciesId);
2018-12-15 22:58:47 +00:00
u16 GetIconSpecies(u16 species, u32 personality);
2017-12-03 18:19:11 +00:00
u16 GetUnownLetterByPersonality(u32 personality);
2021-02-20 20:15:38 +00:00
u16 GetIconSpeciesNoPersonality(u16 speciesId);
2018-04-13 12:21:49 +00:00
void LoadMonIconPalettes(void);
void LoadMonIconPalette(u16 species);
void FreeMonIconPalettes(void);
2021-02-20 20:15:38 +00:00
u8 CreateMonIconNoPersonality(u16 species, void (*callback)(struct Sprite *), s16 x, s16 y, u8 subpriority, bool32 handleDeoxys);
2018-04-13 12:21:49 +00:00
void FreeMonIconPalette(u16 species);
2020-01-05 15:50:32 +00:00
void FreeAndDestroyMonIconSprite(struct Sprite *sprite);
2021-02-20 20:15:38 +00:00
u8 CreateMonIcon(u16 species, void (*callback)(struct Sprite *), s16 x, s16 y, u8 subpriority, u32 personality, bool32 handleDeoxys);
2018-04-13 12:21:49 +00:00
u8 UpdateMonIconFrame(struct Sprite *sprite);
void LoadMonIconPalette(u16 species);
2019-10-31 18:11:55 +00:00
void SpriteCB_MonIcon(struct Sprite *sprite);
2019-10-03 23:39:37 +00:00
void SetPartyHPBarSprite(struct Sprite *sprite, u8 animNum);
u8 GetMonIconPaletteIndexFromSpecies(u16 species);
2017-09-26 20:39:59 +00:00
#endif // GUARD_POKEMON_ICON_H