mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
New Seasonal: Don't let team maker repeat Pokémon
This commit is contained in:
parent
f33ff063ab
commit
8bdc090fc8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user