Skip to content

Commit

Permalink
Update play.pokemonshowdown.com/js/storage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored Oct 12, 2024
1 parent c815bbc commit b696d2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion play.pokemonshowdown.com/js/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,9 @@ Storage.exportTeam = function (team, gen, hidestats) {
}
if (move) {
text += '- ' + move;
if (curSet.movePPUps && curSet.movePPUps[j] < 3) text += " (PP Ups: " + curSet.movePPUps[j] + ")";
if (curSet.movePPUps && curSet.movePPUps[j] && curSet.movePPUps[j] < 3) {
text += " (PP Ups: " + curSet.movePPUps[j] + ")";
}
text += " \n";
}
}
Expand Down

0 comments on commit b696d2d

Please sign in to comment.