Fixes shadows and mon animations for transformed battlers (#7500)
This commit is contained in:
parent
521363ed8b
commit
bef3e990ef
@ -1272,8 +1272,8 @@ void SpriteCB_EnemyShadow(struct Sprite *shadowSprite)
|
|||||||
}
|
}
|
||||||
else if (transformSpecies != SPECIES_NONE)
|
else if (transformSpecies != SPECIES_NONE)
|
||||||
{
|
{
|
||||||
xOffset = gSpeciesInfo[transformSpecies].enemyShadowXOffset;
|
xOffset = gSpeciesInfo[transformSpecies].enemyShadowXOffset + (shadowSprite->tSpriteSide == SPRITE_SIDE_LEFT ? -16 : 16);
|
||||||
yOffset = gSpeciesInfo[transformSpecies].enemyShadowYOffset;
|
yOffset = gSpeciesInfo[transformSpecies].enemyShadowYOffset + 16;
|
||||||
size = gSpeciesInfo[transformSpecies].enemyShadowSize;
|
size = gSpeciesInfo[transformSpecies].enemyShadowSize;
|
||||||
|
|
||||||
invisible = (B_ENEMY_MON_SHADOW_STYLE >= GEN_4 && P_GBA_STYLE_SPECIES_GFX == FALSE)
|
invisible = (B_ENEMY_MON_SHADOW_STYLE >= GEN_4 && P_GBA_STYLE_SPECIES_GFX == FALSE)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user