Fixed a bunch of move anims

This commit is contained in:
Hedara 2025-01-02 23:15:35 +01:00
parent 875f0f7436
commit 1fc2aa3305
4 changed files with 290 additions and 279 deletions

File diff suppressed because it is too large Load diff

View file

@ -257,6 +257,10 @@ const struct SpriteTemplate gPunishmentImpactSpriteTemplate =
.callback = AnimPunishment, .callback = AnimPunishment,
}; };
// arg 0: x pixel offset
// arg 1: y pixel offset
// arg 2: Something
// arg 3: Something
static void AnimPunishment(struct Sprite *sprite) static void AnimPunishment(struct Sprite *sprite)
{ {
StartSpriteAffineAnim(sprite, gBattleAnimArgs[3]); StartSpriteAffineAnim(sprite, gBattleAnimArgs[3]);

View file

@ -646,6 +646,13 @@ static void AnimUnusedCirclingShock(struct Sprite *sprite)
sprite->callback = TranslateSpriteInCircle; sprite->callback = TranslateSpriteInCircle;
} }
// arg 0:
// arg 1:
// arg 2:
// arg 3: duration
// arg 4: target
// arg 5:
// arg 6:
void AnimSparkElectricity(struct Sprite *sprite) void AnimSparkElectricity(struct Sprite *sprite)
{ {
u8 battler; u8 battler;

View file

@ -908,7 +908,7 @@ static void AnimTask_SlideOffScreen_Step(u8 taskId)
// arg 1: wave amplitude // arg 1: wave amplitude
// arg 2: wave period // arg 2: wave period
// arg 3: num sways // arg 3: num sways
// arg 4: which mon (0 = attacker, 1`= target) // arg 4: which mon (0 = attacker, 1 = target)
void AnimTask_SwayMon(u8 taskId) void AnimTask_SwayMon(u8 taskId)
{ {
u8 spriteId; u8 spriteId;