This commit is contained in:
Ice 2024-05-02 23:55:09 -05:00
parent 5a2e199181
commit 1dafb99332

View File

@ -3376,8 +3376,12 @@ export class ReducePpMoveAttr extends MoveEffectAttr {
}
const movesetMove = target.getMoveset().find(m => m.moveId === lastMove.move);
const lastPpUsed = movesetMove.ppUsed;
<<<<<<< Updated upstream
<<<<<<< Updated upstream
if (!lastMove || lastPpUsed < 1) {
=======
if (lastPpUsed < 1) {
>>>>>>> Stashed changes
=======
if (lastPpUsed < 1) {
>>>>>>> Stashed changes