File size: 522 Bytes
5c2ed06
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
			}
		},
	},
};