mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-26 02:39:38 -05:00
- rulesets.ts -> format-rules.ts - formats-data.ts -> pokedex-tiers.ts Variable names were updated to match.
15 lines
522 B
TypeScript
15 lines
522 B
TypeScript
export const Rulesets: import('../../../sim/dex-formats').ModdedFormatDataTable = {
|
|
teampreview: {
|
|
inherit: true,
|
|
onBattleStart() {
|
|
// Xerneas isn't in DLC1 but operated this way pre-1.3.2 update
|
|
const formesToLeak = ['zaciancrowned', 'zamazentacrowned', 'xerneas'];
|
|
for (const pokemon of this.getAllPokemon()) {
|
|
if (!formesToLeak.includes(pokemon.baseSpecies.id)) continue;
|
|
const newDetails = pokemon.details.replace(', shiny', '');
|
|
this.add('updatepoke', pokemon, newDetails);
|
|
}
|
|
},
|
|
},
|
|
};
|