Play point animation when sending a follower into battle (#5406)

* Add point animation when sending a follower into battle

* Update trainers.h
This commit is contained in:
kittenchilly 2024-09-21 13:28:20 -05:00 committed by GitHub
parent f7d2e62ccc
commit 39a8a77d3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);