mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-23 08:42:19 +02:00
Add user.setTempAbility
to transform phase
This commit is contained in:
parent
42039cedcc
commit
54551066de
@ -67,6 +67,8 @@ export class PokemonTransformPhase extends PokemonPhase {
|
||||
user.loadAssets(false).then(() => {
|
||||
user.playAnim();
|
||||
user.updateInfo();
|
||||
// If the new ability activates immediately, it needs to happen after all the transform animations
|
||||
user.setTempAbility(target.getAbility());
|
||||
}),
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user