Refactor battle animations
This commit is contained in:
1 parent
cba4b78df6
commit
bdb04da9a5
4 files changed
+43
-17
No files matched your search
@@ -5,6 +5,14 @@
|
||||
#include "constants/battle_anim.h"
|
||||
#include "task.h"
|
||||
|
||||
enum
|
||||
{
|
||||
ANIM_TYPE_GENERAL,
|
||||
ANIM_TYPE_MOVE,
|
||||
ANIM_TYPE_STATUS,
|
||||
ANIM_TYPE_SPECIAL,
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
BG_ANIM_SCREEN_SIZE,
|
||||
@@ -54,7 +62,7 @@ extern u16 gAnimMoveIndex;
|
||||
|
||||
void ClearBattleAnimationVars(void);
|
||||
void DoMoveAnim(u16 move);
|
||||
void LaunchBattleAnimation(const u8 *const animsTable[], u16 tableId, bool8 isMoveAnim);
|
||||
void LaunchBattleAnimation(u32 animType, u32 animId);
|
||||
void DestroyAnimSprite(struct Sprite *sprite);
|
||||
void DestroyAnimVisualTask(u8 taskId);
|
||||
void DestroyAnimSoundTask(u8 taskId);
|
||||
|
||||
Reference in new issue
Block a user