From 1e855cf4692af494019ff8338d76b64445c836f5 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Wed, 9 Jun 2021 09:49:42 +0200 Subject: [PATCH] Fix mon shadow when caught and learn new move Fixes #1477 --- src/battle_gfx_sfx_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c index df38f9754b..a6d4e6403f 100644 --- a/src/battle_gfx_sfx_util.c +++ b/src/battle_gfx_sfx_util.c @@ -1162,7 +1162,7 @@ void SpriteCB_SetInvisible(struct Sprite *sprite) void SetBattlerShadowSpriteCallback(u8 battlerId, u16 species) { // The player's shadow is never seen. - if (GetBattlerSide(battlerId) == B_SIDE_PLAYER) + if (GetBattlerSide(battlerId) == B_SIDE_PLAYER || gBattleScripting.monCaught) return; if (gBattleSpritesDataPtr->battlerData[battlerId].transformSpecies != SPECIES_NONE)