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