341ce6fd95
# Conflicts: # .github/workflows/build.yml # README.md # gflib/sprite.c # graphics/pokemon/banette/anim_front.png # graphics/pokemon/banette/normal.pal # graphics/pokemon/sentret/normal.pal # graphics/pokemon/togetic/anim_front.png # graphics/pokemon/togetic/normal.pal # include/battle_script_commands.h # include/data.h # ld_script.txt # src/battle_controller_player.c # src/bike.c # src/event_object_movement.c
20 lines
1 KiB
C
20 lines
1 KiB
C
#ifndef GUARD_TRAINER_POKEMON_SPRITES_H
|
|
#define GUARD_TRAINER_POKEMON_SPRITES_H
|
|
|
|
// For the flags argument of CreateMonPicSprite_Affine
|
|
#define MON_PIC_AFFINE_BACK 0
|
|
#define MON_PIC_AFFINE_FRONT 1
|
|
#define MON_PIC_AFFINE_NONE 3
|
|
#define F_MON_PIC_NO_AFFINE (1 << 7)
|
|
|
|
bool16 ResetAllPicSprites(void);
|
|
u16 CreateMonPicSprite_Affine(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
|
u16 CreateMonPicSprite(u16 species, u32 otId, u32 personality, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
|
u16 FreeAndDestroyMonPicSprite(u16 spriteId);
|
|
u16 FreeAndDestroyMonPicSpriteNoPalette(u16 spriteId);
|
|
u16 CreateTrainerPicSprite(u16 species, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
|
u16 FreeAndDestroyTrainerPicSprite(u16 spriteId);
|
|
u16 CreateTrainerCardTrainerPicSprite(u16 species, bool8 isFrontPic, u16 destX, u16 destY, u8 paletteSlot, u8 windowId);
|
|
u16 PlayerGenderToFrontTrainerPicId_Debug(u8 gender, bool8 getClass);
|
|
|
|
#endif // GUARD_TRAINER_POKEMON_SPRITES_H
|