Fix weather genie move anims and springtide storm targets (#5553)
This commit is contained in:
parent
6de4222c22
commit
afc89f53b0
2 changed files with 7 additions and 3 deletions
|
@ -356,10 +356,14 @@ const struct SpriteTemplate gSkyAttackBirdSpriteTemplate =
|
||||||
.callback = AnimSkyAttackBird,
|
.callback = AnimSkyAttackBird,
|
||||||
};
|
};
|
||||||
|
|
||||||
// same as AnimEllipticalGust but centered on targets
|
// same as AnimEllipticalGust but centered on targets in a double battle
|
||||||
static void AnimEllipticalGustCentered(struct Sprite *sprite)
|
static void AnimEllipticalGustCentered(struct Sprite *sprite)
|
||||||
{
|
{
|
||||||
|
if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE)
|
||||||
InitSpritePosToAnimTargetsCentre(sprite, FALSE);
|
InitSpritePosToAnimTargetsCentre(sprite, FALSE);
|
||||||
|
else
|
||||||
|
InitSpritePosToAnimTarget(sprite, FALSE);
|
||||||
|
|
||||||
sprite->y += 20;
|
sprite->y += 20;
|
||||||
sprite->data[1] = 191;
|
sprite->data[1] = 191;
|
||||||
sprite->callback = AnimEllipticalGust_Step;
|
sprite->callback = AnimEllipticalGust_Step;
|
||||||
|
|
|
@ -18800,7 +18800,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] =
|
||||||
.type = TYPE_FAIRY,
|
.type = TYPE_FAIRY,
|
||||||
.accuracy = 80,
|
.accuracy = 80,
|
||||||
.pp = 5,
|
.pp = 5,
|
||||||
.target = MOVE_TARGET_SELECTED,
|
.target = MOVE_TARGET_BOTH,
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.category = DAMAGE_CATEGORY_SPECIAL,
|
.category = DAMAGE_CATEGORY_SPECIAL,
|
||||||
.windMove = TRUE,
|
.windMove = TRUE,
|
||||||
|
|
Loading…
Reference in a new issue