diff --git a/js/battle.js b/js/battle.js index 660fda63a..06a190611 100644 --- a/js/battle.js +++ b/js/battle.js @@ -4651,6 +4651,10 @@ function Battle(frame, logFrame, noPreload) { if (self.mySide.active.length < 2) self.mySide.active.push(null); if (self.yourSide.active.length < 2) self.yourSide.active.push(null); } + if (args[1] === 'triples' || args[1] === 'rotation') { + if (self.mySide.active.length < 3) self.mySide.active.push(null); + if (self.yourSide.active.length < 3) self.yourSide.active.push(null); + } break; case 'variation': self.log('
Variation: ' + Tools.escapeHTML(args[1]) + '
'); diff --git a/js/client-battle.js b/js/client-battle.js index bb4c25d78..577665197 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -446,6 +446,9 @@ if (this.battle.gameType === 'doubles') { this.choice.count = 2; } + if (this.battle.gameType === 'triples' || this.battle.gameType === 'rotation') { + this.choice.count = 3; + } controls += 'How will you start the battle?'; controls += '
'; for (var i = 0; i < switchables.length; i++) {