mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
Fix affine anim bug with Pokémon going in and out of balls without an intermediate screen transition
This commit is contained in:
parent
ba3021db64
commit
abef3065d0
@ -1041,6 +1041,15 @@ static void sub_817F77C(struct Sprite *sprite)
|
|||||||
sprite->oam.matrixNum |= (sprite->hFlip << 3);
|
sprite->oam.matrixNum |= (sprite->hFlip << 3);
|
||||||
sprite->oam.affineMode = ST_OAM_AFFINE_OFF;
|
sprite->oam.affineMode = ST_OAM_AFFINE_OFF;
|
||||||
}
|
}
|
||||||
|
#ifdef BUGFIX
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// FIX: Reset these back to normal after they were changed so Poké Ball catch/release
|
||||||
|
// animations without a screen transition in between don't break
|
||||||
|
sprite->affineAnimPaused = FALSE;
|
||||||
|
sprite->affineAnims = gUnknown_082FF694;
|
||||||
|
}
|
||||||
|
#endif // BUGFIX
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pokemonanimfunc_01(struct Sprite *sprite)
|
static void pokemonanimfunc_01(struct Sprite *sprite)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user