Skip to content

Commit

Permalink
Team Preview: Hide Zacian and Zamazenta formes
Browse files Browse the repository at this point in the history
They transform silently once a battle starts
  • Loading branch information
Marty-D committed Dec 26, 2019
1 parent 73c1622 commit 1475df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/rulesets.js
Expand Up @@ -262,7 +262,7 @@ let BattleFormats = {
onBegin() {
this.add('clearpoke');
for (const pokemon of this.getAllPokemon()) {
let details = pokemon.details.replace(/(Arceus|Gourgeist|Genesect|Pumpkaboo|Silvally)(-[a-zA-Z?]+)?/g, '$1-*').replace(', shiny', '');
let details = pokemon.details.replace(/(Arceus|Gourgeist|Genesect|Pumpkaboo|Silvally|Zacian|Zamazenta)(-[a-zA-Z?]+)?/g, '$1-*').replace(', shiny', '');
this.add('poke', pokemon.side.id, details, this.gen < 8 && pokemon.item ? 'item' : '');
}
},
Expand Down

0 comments on commit 1475df0

Please sign in to comment.