mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-28 17:56:09 +00:00
changed moveQueue to use unshift
This commit is contained in:
parent
28bce5f721
commit
67e5268a65
@ -6597,7 +6597,7 @@ export class RepeatMoveAttr extends OverrideMoveEffectAttr {
|
||||
userPokemonName: getPokemonNameWithAffix(user),
|
||||
targetPokemonName: getPokemonNameWithAffix(target)
|
||||
}));
|
||||
target.getMoveQueue().push({ move: lastMove?.move!, targets: moveTargets!, ignorePP: false });
|
||||
target.getMoveQueue().unshift({ move: lastMove?.move!, targets: moveTargets!, ignorePP: false });
|
||||
target.scene.unshiftPhase(new MovePhase(target.scene, target, moveTargets!, movesetMove!, false, false));
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user