changed moveQueue to use unshift

This commit is contained in:
Bertie690 2024-11-11 23:50:29 -05:00
parent 28bce5f721
commit 67e5268a65

View File

@ -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;