pokeplatinum/include/struct_defs/archived_poke_sprite_data.h
2025-03-09 19:28:45 -04:00

23 lines
1.0 KiB
C

#ifndef POKEPLATINUM_ARCHIVED_POKE_SPRITE_DATA_H
#define POKEPLATINUM_ARCHIVED_POKE_SPRITE_DATA_H
#include "struct_defs/sprite_animation_frame.h"
#define MAX_FACES 2
typedef struct PokeSpriteFaceData {
u8 cryDelay; ///< How long to wait before playing the cry.
u8 animation; ///< Which pre-programmed animation sequence to use.
u8 startDelay; ///< How long to wait before starting the animation sequence.
SpriteAnimationFrame frames[MAX_ANIMATION_FRAMES]; ///< Frame-data for each frame of the animation sequence.
} PokeSpriteFaceData;
typedef struct ArchivedPokeSpriteData {
PokeSpriteFaceData faces[MAX_FACES]; ///< Data for each display-face of the Pokemon's sprite.
s8 yOffset; ///< Additional vertical offset of the Pokemon's front-face sprite.
s8 xOffsetShadow; ///< Horizontal offset for the shadow sprite beneath the Pokemon's sprite.
u8 shadowSize; ///< Size of the shadow sprite beneath the Pokemon's sprite.
} ArchivedPokeSpriteData;
#endif // POKEPLATINUM_ARCHIVED_POKE_SPRITE_DATA_H