Change triples comment

This commit is contained in:
The Immortal 2015-03-21 15:37:21 +04:00
parent 52536cd860
commit 0affd4ee8d

View File

@ -2688,7 +2688,7 @@ Battle = (function () {
this.add('turn', this.turn);
if (this.gameType === 'triples' && this.sides.map('pokemonLeft').count(1) === this.sides.length) {
// If only 2 pokemon are left in triples, they must touch each other.
// If both sides have one Pokemon left in triples, they are both moved to the center.
var center = false;
for (var i = 0; i < this.sides.length; i++) {
for (var j = 0; j < this.sides[i].active.length; j++) {