Fixed a bunch of move anims (#5936)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-01-12 10:01:44 +01:00 committed by GitHub
parent 15a034a1d9
commit 9c7c94d474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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,
};
// arg 0: x pixel offset
// arg 1: y pixel offset
// arg 2: Something
// arg 3: Something
static void AnimPunishment(struct Sprite *sprite)
{
StartSpriteAffineAnim(sprite, gBattleAnimArgs[3]);

View File

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

View File

@ -908,7 +908,7 @@ static void AnimTask_SlideOffScreen_Step(u8 taskId)
// arg 1: wave amplitude
// arg 2: wave period
// 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)
{
u8 spriteId;