mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 20:24:18 +01:00
e791cf90ad
# Conflicts: # data/battle_anim_scripts.s # include/battle_anim.h # include/battle_controllers.h # include/battle_interface.h # include/battle_main.h # include/battle_setup.h # include/constants/battle_anim.h # include/constants/battle_string_ids.h # src/battle_ai_switch_items.c # src/battle_anim_fire.c # src/battle_anim_normal.c # src/battle_controllers.c # src/battle_dome.c # src/battle_gfx_sfx_util.c # src/battle_interface.c # src/battle_message.c # src/battle_script_commands.c # src/battle_util.c # src/pokemon.c
47 lines
2.3 KiB
C
47 lines
2.3 KiB
C
#ifndef GUARD_BATTLE_GFX_SFX_UTIL_H
|
|
#define GUARD_BATTLE_GFX_SFX_UTIL_H
|
|
|
|
void AllocateBattleSpritesData(void);
|
|
void FreeBattleSpritesData(void);
|
|
u16 ChooseMoveAndTargetInBattlePalace(void);
|
|
void SpriteCB_WaitForBattlerBallReleaseAnim(struct Sprite *sprite);
|
|
void SpriteCB_TrainerSlideIn(struct Sprite *sprite);
|
|
void InitAndLaunchChosenStatusAnimation(bool8 isStatus2, u32 status);
|
|
bool8 TryHandleLaunchBattleTableAnimation(u8 activeBattlerId, u8 attacker, u8 target, u8 tableId, u16 argument);
|
|
void InitAndLaunchSpecialAnimation(u8 activeBattlerId, u8 attacker, u8 target, u8 tableId);
|
|
bool8 IsBattleSEPlaying(u8 battlerId);
|
|
void BattleLoadOpponentMonSpriteGfx(struct Pokemon *mon, u8 battlerId);
|
|
void BattleLoadPlayerMonSpriteGfx(struct Pokemon *mon, u8 battlerId);
|
|
void BattleGfxSfxDummy2(u16 species);
|
|
void DecompressTrainerFrontPic(u16 frontPicId, u8 battlerId);
|
|
void DecompressTrainerBackPic(u16 backPicId, u8 battlerId);
|
|
void BattleGfxSfxDummy3(u8 gender);
|
|
void FreeTrainerFrontPicPalette(u16 frontPicId);
|
|
bool8 BattleLoadAllHealthBoxesGfx(u8 state);
|
|
void LoadBattleBarGfx(u8 unused);
|
|
bool8 BattleInitAllSprites(u8 *state1, u8 *battlerId);
|
|
void ClearSpritesHealthboxAnimData(void);
|
|
void CopyAllBattleSpritesInvisibilities(void);
|
|
void CopyBattleSpriteInvisibility(u8 battlerId);
|
|
void HandleSpeciesGfxDataChange(u8 attacker, u8 target, bool8 notTransform, bool32 megaEvo);
|
|
void BattleLoadSubstituteOrMonSpriteGfx(u8 battlerId, bool8 loadMonSprite);
|
|
void LoadBattleMonGfxAndAnimate(u8 battlerId, bool8 loadMonSprite, u8 spriteId);
|
|
void TrySetBehindSubstituteSpriteBit(u8 battlerId, u16 move);
|
|
void ClearBehindSubstituteBit(u8 battlerId);
|
|
void HandleLowHpMusicChange(struct Pokemon *mon, u8 battlerId);
|
|
void BattleStopLowHpSound(void);
|
|
u8 GetMonHPBarLevel(struct Pokemon *mon);
|
|
void HandleBattleLowHpMusicChange(void);
|
|
void SetBattlerSpriteAffineMode(u8 affineMode);
|
|
void LoadAndCreateEnemyShadowSprites(void);
|
|
void SpriteCB_SetInvisible(struct Sprite *sprite);
|
|
void SetBattlerShadowSpriteCallback(u8 battlerId, u16 species);
|
|
void HideBattlerShadowSprite(u8 battlerId);
|
|
void FillAroundBattleWindows(void);
|
|
void ClearTemporarySpeciesSpriteData(u8 battlerId, bool8 dontClearSubstitute);
|
|
void AllocateMonSpritesGfx(void);
|
|
void FreeMonSpritesGfx(void);
|
|
bool32 ShouldPlayNormalMonCry(struct Pokemon *mon);
|
|
|
|
#endif // GUARD_BATTLE_GFX_SFX_UTIL_H
|