New Seasonal: Don't let team maker repeat Pokémon

This commit is contained in:
Joimer 2013-09-01 11:54:41 +02:00
parent f33ff063ab
commit 8bdc090fc8

View File

@ -1595,6 +1595,7 @@ exports.BattleScripts = {
if (fashion.indexOf(set.item) === -1) set.item = fashion[0];
team.push(set);
mons++;
randoms[this.data.Pokedex[p].num] = false;
}
}
// Just in case the randoms generated the same number... highly unlikely