mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Change triples comment
This commit is contained in:
parent
52536cd860
commit
0affd4ee8d
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user