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
1 changed files with 9 additions and 0 deletions
|
@ -1041,6 +1041,15 @@ static void sub_817F77C(struct Sprite *sprite)
|
|||
sprite->oam.matrixNum |= (sprite->hFlip << 3);
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue