Skip to content

Commit

Permalink
Play point animation when sending a follower into battle (#5406)
Browse files Browse the repository at this point in the history
* Add point animation when sending a follower into battle

* Update trainers.h
  • Loading branch information
kittenchilly authored Sep 21, 2024
1 parent f7d2e62 commit 39a8a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_controllers.c
Original file line number Diff line number Diff line change
Expand Up @@ -2903,7 +2903,7 @@ void BtlController_HandleIntroTrainerBallThrow(u32 battler, u16 tagTrainerPal, c
if (side == B_SIDE_PLAYER)
{
StoreSpriteCallbackInData6(&gSprites[gBattlerSpriteIds[battler]], SpriteCB_FreePlayerSpriteLoadMonSprite);
StartSpriteAnim(&gSprites[gBattlerSpriteIds[battler]], 1);
StartSpriteAnim(&gSprites[gBattlerSpriteIds[battler]], ShouldDoSlideInAnim() ? 2 : 1);

paletteNum = AllocSpritePalette(tagTrainerPal);
LoadCompressedPalette(trainerPal, OBJ_PLTT_ID(paletteNum), PLTT_SIZE_4BPP);
Expand Down

0 comments on commit 39a8a77

Please sign in to comment.