// Note: This is the list of formats
// The rules that formats use are stored in data/rulesets.ts
/*
If you want to add custom formats, create a file in this folder named: "custom-formats.ts"
Paste the following code into the file and add your desired formats and their sections between the brackets:
--------------------------------------------------------------------------------
// Note: This is the list of formats
// The rules that formats use are stored in data/rulesets.ts
export const Formats: FormatList = [
];
--------------------------------------------------------------------------------
If you specify a section that already exists, your format will be added to the bottom of that section.
New sections will be added to the bottom of the specified column.
The column value will be ignored for repeat sections.
*/
export const Formats: FormatList = [
// S/V Singles
///////////////////////////////////////////////////////////////////
{
section: "S/V Singles",
},
{
name: "[Gen 9] Random Battle",
desc: `Randomized teams of Pokémon with sets that are generated to be competitively viable.`,
threads: [
`• Random Battle Suggestions`,
],
mod: 'gen9',
team: 'random',
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 9] Unrated Random Battle",
mod: 'gen9',
team: 'random',
challengeShow: false,
rated: false,
ruleset: ['Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 9] Random Battle (Blitz)",
mod: 'gen9',
team: 'random',
ruleset: ['[Gen 9] Random Battle', 'Blitz'],
},
{
name: "[Gen 9] OU",
mod: 'gen9',
ruleset: ['Standard'],
banlist: ['Uber', 'AG', 'Arena Trap', 'Moody', 'Sand Veil', 'Shadow Tag', 'Snow Cloak', 'King\'s Rock', 'Baton Pass'],
},
{
name: "[Gen 9] Ubers",
threads: [
`• Ubers Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Standard'],
banlist: ['AG', 'King\'s Rock', 'Baton Pass'],
},
{
name: "[Gen 9] UU",
threads: [
`• UU Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['[Gen 9] OU'],
banlist: ['OU', 'UUBL'],
},
{
name: "[Gen 9] RU",
mod: 'gen9',
ruleset: ['[Gen 9] UU'],
banlist: ['UU', 'RUBL'],
},
{
name: "[Gen 9] LC",
threads: [
`• Little Cup Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Little Cup', 'Standard'],
banlist: ['Dunsparce', 'Flittle', 'Meditite', 'Misdreavus', 'Murkrow', 'Rufflet', 'Scyther', 'Sneasel', 'Moody', 'Baton Pass'],
},
{
name: "[Gen 9] Monotype",
threads: [
`• Monotype Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Same Type Clause', 'Terastal Clause', 'Standard'],
banlist: [
'Annihilape', 'Chi-Yu', 'Houndstone', 'Iron Bundle', 'Koraidon', 'Miraidon', 'Palafin', 'Moody',
'Shadow Tag', 'Booster Energy', 'Damp Rock', 'Focus Band', 'King\'s Rock', 'Quick Claw', 'Baton Pass',
],
},
{
name: "[Gen 9] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• 1v1 Metagame Discussion`,
],
mod: 'gen9',
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'Standard', 'Terastal Clause', 'Sleep Moves Clause', 'Accuracy Moves Clause', '!Sleep Clause Mod',
],
banlist: ['Cinderace', 'Dragonite', 'Koraidon', 'Mimikyu', 'Miraidon', 'Scream Tail', 'Moody', 'Focus Band', 'Focus Sash', 'King\'s Rock', 'Quick Claw', 'Acupressure', 'Perish Song'],
},
{
name: "[Gen 9] Anything Goes",
threads: [
`• AG Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Min Source Gen = 9', 'Obtainable', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause'],
},
{
name: "[Gen 9] CAP",
mod: 'gen9',
ruleset: ['[Gen 9] OU', '+CAP'],
banlist: ['Crucibellite'],
},
{
name: "[Gen 9] Battle Stadium Singles Series 2",
mod: 'gen9',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Paldea Pokedex', 'Min Source Gen = 9', 'VGC Timer'],
banlist: ['Sub-Legendary'],
},
{
name: "[Gen 9] Battle Stadium Singles Series 1",
mod: 'gen9',
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Paldea Pokedex', 'Min Source Gen = 9', 'VGC Timer'],
banlist: ['Sub-Legendary', 'Paradox'],
},
{
name: "[Gen 9] Custom Game",
mod: 'gen9',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// S/V Doubles
///////////////////////////////////////////////////////////////////
{
section: "S/V Doubles",
},
{
name: "[Gen 9] Doubles OU",
threads: [
`• Doubles OU Sample Teams`,
],
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Standard Doubles'],
banlist: ['DUber', 'Shadow Tag'],
},
{
name: "[Gen 9] Doubles Ubers",
threads: [
`• Doubles Ubers`,
],
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Standard Doubles', '!Gravity Sleep Clause'],
},
{
name: "[Gen 9] Doubles UU",
threads: [
`• Doubles UU`,
],
mod: 'gen9',
gameType: 'doubles',
ruleset: ['[Gen 9] Doubles OU'],
banlist: ['DOU', 'DBL'],
},
{
name: "[Gen 9] Doubles LC",
threads: [
`• Doubles LC`,
],
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
ruleset: ['Standard Doubles', 'Little Cup'],
banlist: ['Murkrow', 'Scyther', 'Sneasel'],
},
{
name: "[Gen 9] 2v2 Doubles",
desc: `Double battle where you bring four Pokémon to Team Preview and choose only two.`,
threads: [
`• 2v2 Doubles`,
],
mod: 'gen9',
gameType: 'doubles',
ruleset: [
'Picked Team Size = 2', 'Max Team Size = 4',
'Standard Doubles', 'Accuracy Moves Clause', 'Terastal Clause', 'Sleep Clause Mod', 'Evasion Items Clause',
],
banlist: ['Koraidon', 'Miraidon', 'Commander', 'Focus Sash', 'King\'s Rock', 'Ally Switch', 'Final Gambit', 'Moody', 'Perish Song', 'Swagger'],
},
{
name: "[Gen 9] VGC 2023 Series 2",
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Paldea Pokedex', 'Min Source Gen = 9', 'VGC Timer', 'Open Team Sheets'],
banlist: ['Sub-Legendary'],
},
{
name: "[Gen 9] VGC 2023 Series 1",
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Paldea Pokedex', 'Min Source Gen = 9', 'VGC Timer', 'Open Team Sheets'],
banlist: ['Sub-Legendary', 'Paradox'],
},
{
name: "[Gen 9] Doubles Custom Game",
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
battle: {trunc: Math.trunc},
debug: true,
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// National Dex
///////////////////////////////////////////////////////////////////
{
section: "National Dex",
},
{
name: "[Gen 9] National Dex",
threads: [
`• National Dex Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Clause', 'Species Clause', 'Sleep Clause Mod'],
banlist: ['ND Uber', 'ND AG', 'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Quick Claw', 'Razor Fang', 'Assist', 'Baton Pass'],
},
{
name: "[Gen 9] National Dex Ubers",
threads: [
`• National Dex Ubers Metagame Discussion`,
`• National Dex Ubers Sample Teams`,
`• National Dex Ubers Viability List`,
],
mod: 'gen9',
searchShow: false,
ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Moves Clause', 'Evasion Items Clause', 'Species Clause', 'Sleep Clause Mod', 'Mega Rayquaza Clause'],
banlist: ['ND AG', 'Assist', 'Baton Pass'],
},
{
name: "[Gen 9] National Dex UU",
threads: [
`• National Dex UU Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['[Gen 9] National Dex'],
banlist: ['ND OU', 'ND UUBL'],
},
{
name: "[Gen 9] National Dex RU",
threads: [
`• National Dex RU Metagame Discussion`,
],
mod: 'gen9',
searchShow: false,
ruleset: ['[Gen 9] National Dex UU'],
banlist: ['ND UU', 'ND RUBL'],
},
{
name: "[Gen 9] National Dex Monotype",
threads: [
`• National Dex Monotype Metagame Discussion`,
],
mod: 'gen9',
ruleset: ['Standard NatDex', 'Same Type Clause', 'Terastal Clause', 'Species Clause', 'OHKO Clause', 'Evasion Moves Clause', 'Sleep Clause Mod', 'Evasion Items Clause'],
banlist: [
'Arceus', 'Blastoise-Mega', 'Blaziken-Mega', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darkrai', 'Deoxys-Base', 'Deoxys-Attack', 'Dialga',
'Dracovish', 'Eternatus', 'Genesect', 'Gengar-Mega', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Hoopa-Unbound', 'Houndstone',
'Kangaskhan-Mega', 'Kartana', 'Koraidon', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lucario-Mega', 'Lugia', 'Lunala', 'Magearna',
'Marshadow', 'Metagross-Mega', 'Mewtwo', 'Miraidon', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palafin', 'Palkia',
'Pheromosa', 'Rayquaza', 'Reshiram', 'Salamence-Mega', 'Shaymin-Sky', 'Solgaleo', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian',
'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Zygarde-Complete', 'Moody', 'Shadow Tag', 'Power Construct',
'Booster Energy', 'Damp Rock', 'Focus Band', 'Icy Rock', 'King\'s Rock', 'Quick Claw', 'Smooth Rock', 'Terrain Extender', 'Baton Pass',
],
},
{
name: "[Gen 9] National Dex AG",
threads: [
`• National Dex AG`,
],
mod: 'gen9',
ruleset: ['Standard NatDex'],
},
{
name: "[Gen 9] National Dex BH",
desc: `Balanced Hackmons with National Dex elements mixed in.`,
threads: [
`• National Dex BH`,
],
mod: 'gen9',
ruleset: ['-Nonexistent', 'Standard NatDex', 'Forme Clause', 'Sleep Moves Clause', 'Ability Clause = 2', 'OHKO Clause', 'Evasion Moves Clause', 'Dynamax Clause', 'CFZ Clause', '!Obtainable'],
banlist: [
'Eternatus-Eternamax', 'Groudon-Primal', 'Rayquaza-Mega', 'Shedinja', 'Cramorant-Gorging', 'Calyrex-Shadow', 'Darmanitan-Galar-Zen', 'Arena Trap',
'Contrary', 'Gorilla Tactics', 'Huge Power', 'Illusion', 'Innards Out', 'Magnet Pull', 'Moody', 'Neutralizing Gas', 'Parental Bond', 'Pure Power',
'Shadow Tag', 'Stakeout', 'Water Bubble', 'Wonder Guard', 'Gengarite', 'Belly Drum', 'Bolt Beak', 'Chatter', 'Double Iron Bash', 'Electrify',
'Last Respects', 'Octolock', 'Rage Fist', 'Revival Blessing', 'Shed Tail', 'Shell Smash', 'Comatose + Sleep Talk', 'Imprison + Transform',
],
restricted: ['Arceus'],
onValidateTeam(team, format) {
// baseSpecies:count
const restrictedPokemonCount = new Map();
for (const set of team) {
const species = this.dex.species.get(set.species);
if (!this.ruleTable.isRestrictedSpecies(species)) continue;
restrictedPokemonCount.set(species.baseSpecies, (restrictedPokemonCount.get(species.baseSpecies) || 0) + 1);
}
for (const [baseSpecies, count] of restrictedPokemonCount) {
if (count > 1) {
return [
`You are limited to one ${baseSpecies} forme.`,
`(You have ${count} ${baseSpecies} forme${count === 1 ? '' : 's'}.)`,
];
}
}
},
},
{
name: "[Gen 8] National Dex AG",
threads: [
`• National Dex AG`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['Standard NatDex'],
},
// Pet Mods
///////////////////////////////////////////////////////////////////
{
section: "Pet Mods",
},
{
name: "[Gen 8] JolteMons Random Battle",
desc: `Pokémon, items, abilities, and moves are redesigned for OU, and new items, abilities, and moves are added, all without changing base stats.`,
threads: [
`• JolteMons`,
`• Spreadsheet`,
],
mod: 'joltemons',
team: 'random',
ruleset: ['Dynamax Clause', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Mega Data Mod', 'Z-Move Clause'],
},
{
name: "[Gen 6] NEXT OU",
threads: [
`• Gen-NEXT Development Thread`,
],
mod: 'gennext',
searchShow: false,
challengeShow: false,
ruleset: ['Obtainable', 'Standard NEXT', 'Team Preview'],
banlist: ['Uber'],
},
// Draft League
///////////////////////////////////////////////////////////////////
{
section: "Draft",
column: 1,
},
{
name: "[Gen 9] Paldea Dex Draft",
mod: 'gen9',
searchShow: false,
ruleset: ['Draft', 'Min Source Gen = 9'],
},
{
name: "[Gen 9] 6v6 Doubles Draft",
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
ruleset: ['Draft', '!Sleep Clause Mod', '!Evasion Moves Clause', 'Min Source Gen = 9'],
},
{
name: "[Gen 9] 4v4 Doubles Draft",
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
ruleset: ['Draft', 'Item Clause', '!Sleep Clause Mod', '!OHKO Clause', '!Evasion Moves Clause', 'Adjust Level = 50', 'Picked Team Size = 4', 'Min Source Gen = 9'],
},
{
name: "[Gen 9] NatDex Draft",
mod: 'gen9',
searchShow: false,
ruleset: ['Draft', '+Unobtainable', '+Past'],
},
{
name: "[Gen 9] NatDex 6v6 Doubles Draft",
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 9] 6v6 Doubles Draft', '+Unobtainable', '+Past', '!! Min Source Gen = 3'],
},
{
name: "[Gen 9] NatDex 4v4 Doubles Draft",
mod: 'gen9',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 9] 4v4 Doubles Draft', '+Unobtainable', '+Past', '!! Min Source Gen = 3'],
},
{
name: "[Gen 9] NatDex LC Draft",
mod: 'gen9',
searchShow: false,
ruleset: ['[Gen 9] NatDex Draft', 'Double Item Clause', 'Little Cup'],
banlist: ['Dragon Rage', 'Sonic Boom'],
},
{
name: "[Gen 8] Galar Dex Draft",
mod: 'gen8',
searchShow: false,
ruleset: ['Draft'],
},
{
name: "[Gen 8] 4v4 Doubles Draft",
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['Draft', 'Item Clause', '!Sleep Clause Mod', '!OHKO Clause', '!Evasion Moves Clause', 'Adjust Level = 50', 'Picked Team Size = 4'],
},
{
name: "[Gen 8] NatDex Draft",
mod: 'gen8',
searchShow: false,
ruleset: ['Draft', '+Past'],
},
{
name: "[Gen 8] NatDex 4v4 Doubles Draft",
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 8] 4v4 Doubles Draft', '+Past'],
},
{
name: "[Gen 8] NatDex LC Draft",
mod: 'gen8',
searchShow: false,
ruleset: ['[Gen 8] NatDex Draft', 'Double Item Clause', 'Little Cup'],
banlist: ['Dragon Rage', 'Sonic Boom'],
},
{
name: "[Gen 8 BDSP] Draft",
mod: 'gen8bdsp',
searchShow: false,
ruleset: ['Draft'],
},
{
name: "[Gen 7] Draft",
mod: 'gen7',
searchShow: false,
ruleset: ['Draft', '+LGPE'],
},
{
name: "[Gen 6] Draft",
mod: 'gen6',
searchShow: false,
ruleset: ['Draft'],
},
// OM of the Month
///////////////////////////////////////////////////////////////////
{
section: "OM of the Month",
column: 2,
},
{
name: "[Gen 9] VoltTurn Mayhem",
desc: `Every move that directly targets an opposing Pokémon causes the user to switch out.`,
threads: [
`• VoltTurn Mayhem`,
],
mod: 'gen9',
ruleset: ['Standard OMs', 'Sleep Moves Clause', 'VoltTurn Mayhem Mod', 'Min Source Gen = 9'],
banlist: ['Chien-Pao', 'Chi-Yu', 'Flutter Mane', 'Houndstone', 'Iron Bundle', 'Koraidon', 'Miraidon', 'Palafin', 'Fake Out', 'Revival Blessing'],
},
{
name: "[Gen 9] Partners in Crime",
desc: `Doubles-based metagame where both active ally Pokémon share abilities and moves.`,
threads: [
`• Partners in Crime`,
],
mod: 'partnersincrime',
gameType: 'doubles',
// searchShow: false,
ruleset: ['Standard Doubles', 'Dynamax Clause'],
banlist: ['Flutter Mane', 'Koraidon', 'Miraidon', 'Huge Power', 'Moody', 'Pure Power', 'Shadow Tag', 'Ally Switch', 'Baton Pass', 'Revival Blessing', 'Swagger'],
onBegin() {
for (const pokemon of this.getAllPokemon()) {
pokemon.m.trackPP = new Map();
}
},
onBeforeSwitchIn(pokemon) {
pokemon.m.curMoves = this.dex.deepClone(pokemon.moves);
let ngas = false;
for (const poke of this.getAllActive()) {
if (this.toID(poke.ability) === ('neutralizinggas' as ID)) {
ngas = true;
break;
}
}
const BAD_ABILITIES = ['trace', 'imposter', 'neutralizinggas', 'illusion', 'wanderingspirit'];
const ally = pokemon.side.active.find(mon => mon && mon !== pokemon && !mon.fainted);
if (ally && ally.ability !== pokemon.ability) {
if (!pokemon.m.innate && !BAD_ABILITIES.includes(this.toID(ally.ability))) {
pokemon.m.innate = 'ability:' + ally.ability;
if (!ngas || ally.getAbility().isPermanent || pokemon.hasItem('Ability Shield')) {
pokemon.volatiles[pokemon.m.innate] = {id: pokemon.m.innate, target: pokemon};
pokemon.m.startVolatile = true;
}
}
if (!ally.m.innate && !BAD_ABILITIES.includes(this.toID(pokemon.ability))) {
ally.m.innate = 'ability:' + pokemon.ability;
if (!ngas || pokemon.getAbility().isPermanent || ally.hasItem('Ability Shield')) {
ally.volatiles[ally.m.innate] = {id: ally.m.innate, target: ally};
ally.m.startVolatile = true;
}
}
}
},
// Starting innate abilities in scripts#actions
onSwitchOut(pokemon) {
if (pokemon.m.innate) {
pokemon.removeVolatile(pokemon.m.innate);
delete pokemon.m.innate;
}
const ally = pokemon.side.active.find(mon => mon && mon !== pokemon && !mon.fainted);
if (ally && ally.m.innate) {
ally.removeVolatile(ally.m.innate);
delete ally.m.innate;
}
},
onFaint(pokemon) {
if (pokemon.m.innate) {
pokemon.removeVolatile(pokemon.m.innate);
delete pokemon.m.innate;
}
const ally = pokemon.side.active.find(mon => mon && mon !== pokemon && !mon.fainted);
if (ally && ally.m.innate) {
ally.removeVolatile(ally.m.innate);
delete ally.m.innate;
}
},
},
// Other Metagames
///////////////////////////////////////////////////////////////////
{
section: "Other Metagames",
column: 2,
},
{
name: "[Gen 9] Almost Any Ability",
desc: `Pokémon have access to almost any ability.`,
threads: [
`• Almost Any Ability`,
],
mod: 'gen9',
ruleset: ['Standard OMs', '!Obtainable Abilities', 'Ability Clause = 1', 'Sleep Moves Clause', 'Terastal Clause', 'Min Source Gen = 9'],
banlist: [
'Annihilape', 'Flutter Mane', 'Koraidon', 'Miraidon', 'Slaking', 'Arena Trap', 'Comatose', 'Contrary', 'Gorilla Tactics', 'Huge Power', 'Illusion',
'Imposter', 'Innards Out', 'Magic Bounce', 'Magnet Pull', 'Moody', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Pure Power', 'Shadow Tag',
'Simple', 'Speed Boost', 'Stakeout', 'Unburden', 'Water Bubble', 'Wonder Guard', 'King\'s Rock', 'Baton Pass', 'Revival Blessing',
],
},
{
name: "[Gen 9] Balanced Hackmons",
desc: `Anything directly hackable onto a set (EVs, IVs, forme, ability, item, and move) and is usable in local battles is allowed.`,
threads: [
`• Balanced Hackmons`,
],
mod: 'gen9',
ruleset: ['-Nonexistent', 'OHKO Clause', 'Evasion Clause', 'Species Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Moves Clause', 'Endless Battle Clause'],
banlist: [
'Calyrex-Shadow', 'Slaking', 'Arena Trap', 'Contrary', 'Huge Power', 'Illusion', 'Innards Out', 'Magnet Pull', 'Moody', 'Neutralizing Gas',
'Parental Bond', 'Poison Heal', 'Pure Power', 'Shadow Tag', 'Stakeout', 'Water Bubble', 'Wonder Guard', 'Comatose + Sleep Talk', 'Belly Drum',
'Last Respects', 'Revival Blessing', 'Shed Tail', 'Shell Smash', 'Rage Fist',
],
},
{
name: "[Gen 9] Mix and Mega",
desc: `Mega evolve any Pokémon with any mega stone and no limit. Boosts based on mega evolution from gen 7.`,
threads: [
`• Mix and Mega`,
],
mod: 'mixandmega',
ruleset: ['Standard OMs', 'Evasion Items Clause', 'Evasion Abilities Clause', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: [
'Koraidon', 'Miraidon', 'Beedrillite', 'Blazikenite', 'Gengarite', 'Kangaskhanite', 'Mawilite',
'Medichamite', 'Moody', 'Shadow Tag', 'Baton Pass', 'Electrify', 'Shed Tail', 'Zap Cannon',
],
restricted: ['Flutter Mane', 'Gengar', 'Iron Bundle', 'Kilowattrel', 'Slaking'],
onValidateTeam(team) {
const itemTable = new Set();
for (const set of team) {
const item = this.dex.items.get(set.item);
if (!item.megaStone) continue;
const natdex = this.ruleTable.has('standardnatdex');
if (natdex && item.id !== 'ultranecroziumz') continue;
const species = this.dex.species.get(set.species);
if (species.isNonstandard && !this.ruleTable.has(`+${this.toID(species.isNonstandard)}`)) {
return [`${species.baseSpecies} does not exist in gen 9.`];
}
if (natdex && species.name.startsWith('Necrozma-') && item.id === 'ultranecroziumz') {
continue;
}
if (this.ruleTable.isRestrictedSpecies(species) || this.toID(set.ability) === 'powerconstruct') {
return [`${species.name} is not allowed to hold ${item.name}.`];
}
if (itemTable.has(item.id)) {
return [`You are limited to one of each mega stone.`, `(You have more than one ${item.name})`];
}
itemTable.add(item.id);
}
},
onBegin() {
for (const pokemon of this.getAllPokemon()) {
pokemon.m.originalSpecies = pokemon.baseSpecies.name;
}
},
onSwitchIn(pokemon) {
// @ts-ignore
const oMegaSpecies = this.dex.species.get(pokemon.species.originalMega);
if (oMegaSpecies.exists && pokemon.m.originalSpecies !== oMegaSpecies.baseSpecies) {
// Place volatiles on the Pokémon to show its mega-evolved condition and details
this.add('-start', pokemon, oMegaSpecies.requiredItem || oMegaSpecies.requiredMove, '[silent]');
const oSpecies = this.dex.species.get(pokemon.m.originalSpecies);
if (oSpecies.types.length !== pokemon.species.types.length || oSpecies.types[1] !== pokemon.species.types[1]) {
this.add('-start', pokemon, 'typechange', pokemon.species.types.join('/'), '[silent]');
}
}
},
onSwitchOut(pokemon) {
// @ts-ignore
const oMegaSpecies = this.dex.species.get(pokemon.species.originalMega);
if (oMegaSpecies.exists && pokemon.m.originalSpecies !== oMegaSpecies.baseSpecies) {
this.add('-end', pokemon, oMegaSpecies.requiredItem || oMegaSpecies.requiredMove, '[silent]');
}
},
},
{
name: "[Gen 9] Godly Gift",
desc: `Each Pokémon receives one base stat from a God (AG/Uber Pokémon) depending on its position in the team. If there is no Uber Pokémon, it uses the Pokémon in the first slot.`,
threads: [
`• Godly Gift`,
],
mod: 'gen9',
ruleset: ['Standard OMs', 'Sleep Moves Clause', 'Godly Gift Mod', 'Min Source Gen = 9'],
banlist: ['Blissey', 'Chansey', 'Espathra', 'Great Tusk', 'Iron Hands', 'Iron Valiant', 'Arena Trap', 'Huge Power', 'Moody', 'Pure Power', 'Shadow Tag', 'Booster Energy', 'Baton Pass'],
},
{
name: "[Gen 9] STABmons",
desc: `Pokémon can use any move of their typing, in addition to the moves they can normally learn.`,
threads: [
`• STABmons`,
],
mod: 'gen9',
ruleset: ['Standard OMs', 'STABmons Move Legality', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: ['Chien-Pao', 'Chi-Yu', 'Dragapult', 'Flutter Mane', 'Iron Bundle', 'Komala', 'Koraidon', 'Miraidon', 'Arena Trap', 'Moody', 'Shadow Tag', 'Booster Energy', 'King\'s Rock', 'Baton Pass'],
restricted: ['Acupressure', 'Astral Barrage', 'Belly Drum', 'Extreme Speed', 'Fillet Away', 'Last Respects', 'No Retreat', 'Revival Blessing', 'Shed Tail', 'Shell Smash', 'Shift Gear', 'V-create', 'Victory Dance', 'Wicked Blow'],
},
{
name: "[Gen 9] NFE",
desc: `Only Pokémon that can evolve are allowed.`,
threads: [
`• NFE`,
],
mod: 'gen9',
ruleset: ['Standard OMs', 'Not Fully Evolved', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: [
'Bisharp', 'Chansey', 'Haunter', 'Magneton', 'Primeape', 'Scyther', 'Arena Trap', 'Shadow Tag', 'Baton Pass',
// Shouldn't be legal
'Stantler', 'Ursaring',
],
},
// Challengeable OMs
///////////////////////////////////////////////////////////////////
{
section: "Challengeable OMs",
column: 2,
},
{
name: "[Gen 9] Cross Evolution",
desc: `Give a Pokémon a Pokémon name of the next evolution stage as a nickname to inherit stat changes, typing, abilities, and up to 2 moves from the next stage Pokémon.`,
threads: [
`• Cross Evolution`,
],
mod: 'gen9',
searchShow: false,
ruleset: ['Standard OMs', 'Ability Clause = 2', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: ['Arena Trap', 'Huge Power', 'Pure Power', 'Shadow Tag', 'Moody', 'King\'s Rock', 'Baton Pass'],
onValidateTeam(team) {
const names = new Set();
for (const set of team) {
const name = set.name;
if (names.has(this.dex.toID(name))) {
return [
`Your Pok\u00e9mon must have different nicknames.`,
`(You have more than one Pok\u00e9mon named '${name}')`,
];
}
names.add(this.dex.toID(name));
}
if (!names.size) {
return [
`${this.format.name} works using nicknames; your team has 0 nicknamed Pok\u00e9mon.`,
`(If this was intentional, add a nickname to one Pok\u00e9mon that isn't the name of a Pok\u00e9mon species.)`,
];
}
},
checkCanLearn(move, species, lsetData, set) {
// @ts-ignore
if (!set.sp?.exists || !set.crossSpecies?.exists) {
return this.checkCanLearn(move, species, lsetData, set);
}
// @ts-ignore
const problem = this.checkCanLearn(move, set.sp);
if (!problem) return null;
// @ts-ignore
if (this.checkCanLearn(move, set.crossSpecies)) return problem;
return null;
},
validateSet(set, teamHas) {
const crossSpecies = this.dex.species.get(set.name);
let problems = this.dex.formats.get('Obtainable Misc').onChangeSet?.call(this, set, this.format) || null;
if (Array.isArray(problems) && problems.length) return problems;
const crossNonstandard = (!this.ruleTable.has('standardnatdex') && crossSpecies.isNonstandard === 'Past') ||
crossSpecies.isNonstandard === 'Future';
const crossIsCap = !this.ruleTable.has('+pokemontag:cap') && crossSpecies.isNonstandard === 'CAP';
if (!crossSpecies.exists || crossNonstandard || crossIsCap) return this.validateSet(set, teamHas);
const species = this.dex.species.get(set.species);
const check = this.checkSpecies(set, species, species, {});
if (check) return [check];
const nonstandard = !this.ruleTable.has('standardnatdex') && species.isNonstandard === 'Past';
const isCap = !this.ruleTable.has('+pokemontag:cap') && species.isNonstandard === 'CAP';
if (!species.exists || nonstandard || isCap || species === crossSpecies) return this.validateSet(set, teamHas);
if (!species.nfe) return [`${species.name} cannot cross evolve because it doesn't evolve.`];
const crossIsUnreleased = (crossSpecies.tier === "Unreleased" && crossSpecies.isNonstandard === "Unobtainable" &&
!this.ruleTable.has('+unobtainable'));
if (crossSpecies.battleOnly || crossIsUnreleased || !crossSpecies.prevo) {
return [`${species.name} cannot cross evolve into ${crossSpecies.name} because it isn't an evolution.`];
}
if (this.ruleTable.isRestrictedSpecies(crossSpecies)) {
return [`${species.name} cannot cross evolve into ${crossSpecies.name} because it is banned.`];
}
const crossPrevoSpecies = this.dex.species.get(crossSpecies.prevo);
if (!crossPrevoSpecies.prevo !== !species.prevo) {
return [
`${species.name} cannot cross evolve into ${crossSpecies.name} because they are not consecutive evolution stages.`,
];
}
const item = this.dex.items.get(set.item);
if (item.itemUser?.length) {
if (!item.itemUser.includes(crossSpecies.name) || crossSpecies.name !== species.name) {
return [`${species.name} cannot use ${item.name} because it is cross evolved into ${crossSpecies.name}.`];
}
}
const ability = this.dex.abilities.get(set.ability);
if (!this.ruleTable.isRestricted(`ability:${ability.id}`) || Object.values(species.abilities).includes(ability.name)) {
set.species = crossSpecies.name;
}
// @ts-ignore
set.sp = species;
// @ts-ignore
set.crossSpecies = crossSpecies;
problems = this.validateSet(set, teamHas);
set.name = crossSpecies.name;
set.species = species.name;
return problems;
},
onModifySpecies(species, target, source, effect) {
if (!target) return; // chat
if (effect && ['imposter', 'transform'].includes(effect.id)) return;
if (target.set.name === target.set.species) return;
const crossSpecies = this.dex.species.get(target.set.name);
if (!crossSpecies.exists) return;
if (species.battleOnly || !species.nfe) return;
const crossIsUnreleased = (crossSpecies.tier === "Unreleased" && crossSpecies.isNonstandard === "Unobtainable" &&
!this.ruleTable.has('+unobtainable'));
if (crossSpecies.battleOnly || crossIsUnreleased || !crossSpecies.prevo) return;
const crossPrevoSpecies = this.dex.species.get(crossSpecies.prevo);
if (!crossPrevoSpecies.prevo !== !species.prevo) return;
const mixedSpecies = this.dex.deepClone(species);
mixedSpecies.weightkg =
Math.max(0.1, +(species.weightkg + crossSpecies.weightkg - crossPrevoSpecies.weightkg)).toFixed(1);
mixedSpecies.nfe = false;
mixedSpecies.evos = [];
mixedSpecies.eggGroups = crossSpecies.eggGroups;
mixedSpecies.abilities = crossSpecies.abilities;
mixedSpecies.bst = 0;
let i: StatID;
for (i in species.baseStats) {
const statChange = crossSpecies.baseStats[i] - crossPrevoSpecies.baseStats[i];
mixedSpecies.baseStats[i] = this.clampIntRange(species.baseStats[i] + statChange, 1, 255);
mixedSpecies.bst += mixedSpecies.baseStats[i];
}
if (crossSpecies.types[0] !== crossPrevoSpecies.types[0]) mixedSpecies.types[0] = crossSpecies.types[0];
if (crossSpecies.types[1] !== crossPrevoSpecies.types[1]) {
mixedSpecies.types[1] = crossSpecies.types[1] || crossSpecies.types[0];
}
if (mixedSpecies.types[0] === mixedSpecies.types[1]) mixedSpecies.types = [mixedSpecies.types[0]];
return mixedSpecies;
},
onBegin() {
for (const pokemon of this.getAllPokemon()) {
pokemon.baseSpecies = pokemon.species;
}
},
},
{
name: "[Gen 9] Full Potential",
desc: `Pokémon's moves hit off of their highest stat.`,
threads: [
`• Full Potential`,
],
mod: 'fullpotential',
searchShow: false,
ruleset: ['Standard OMs', 'Evasion Abilities Clause', 'Evasion Items Clause', 'Sleep Moves Clause', 'Terastal Clause', 'Min Source Gen = 9'],
banlist: [
'Chien-Pao', 'Cyclizar', 'Dragapult', 'Espathra', 'Flutter Mane', 'Iron Bundle', 'Koraidon', 'Miraidon', 'Scream Tail', 'Arena Trap',
'Chlorophyll', 'Drought', 'Moody', 'Sand Rush', 'Shadow Tag', 'Slush Rush', 'Swift Swim', 'Unburden', 'Booster Energy', 'Choice Scarf',
'Heat Rock', 'King\'s Rock', 'Baton Pass', 'Tailwind',
],
},
{
name: "[Gen 9] Inheritance",
desc: `Pokémon may use the ability and moves of another, as long as they forfeit their own learnset.`,
threads: [
`• Inheritance`,
],
mod: 'gen9',
searchShow: false,
ruleset: ['Standard OMs', 'Ability Clause = 2', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: ['Koraidon', 'Miraidon', 'Slaking', 'Arena Trap', 'Huge Power', 'Imposter', 'Pure Power', 'Shadow Tag', 'King\'s Rock', 'Baton Pass', 'Last Respects', 'Shed Tail', 'Shell Smash'],
getEvoFamily(speciesid) {
let species = Dex.species.get(speciesid);
while (species.prevo) {
species = Dex.species.get(species.prevo);
}
return species.id;
},
validateSet(set, teamHas) {
const unreleased = (pokemon: Species) => pokemon.tier === "Unreleased" && pokemon.isNonstandard === "Unobtainable";
if (!teamHas.abilityMap) {
teamHas.abilityMap = Object.create(null);
for (const pokemon of Dex.species.all()) {
if (pokemon.isNonstandard || (unreleased(pokemon) && !this.ruleTable.has('+unobtainable'))) continue;
if (pokemon.requiredAbility || pokemon.requiredItem || pokemon.requiredMove) continue;
if (this.ruleTable.isBannedSpecies(pokemon)) continue;
for (const key of Object.values(pokemon.abilities)) {
const abilityId = this.dex.toID(key);
if (abilityId in teamHas.abilityMap) {
teamHas.abilityMap[abilityId][pokemon.evos ? 'push' : 'unshift'](pokemon.id);
} else {
teamHas.abilityMap[abilityId] = [pokemon.id];
}
}
}
}
const problem = this.validateForme(set);
if (problem.length) return problem;
const species = this.dex.species.get(set.species);
if (!species.exists || species.num < 1) return [`The Pok\u00e9mon "${set.species}" does not exist.`];
if (species.isNonstandard || (unreleased(species) && !this.ruleTable.has('+unobtainable'))) {
return [`${species.name} is not obtainable in Generation ${this.dex.gen}.`];
}
const name = set.name;
if (this.ruleTable.isBannedSpecies(species)) {
return this.validateSet(set, teamHas);
}
const ability = this.dex.abilities.get(set.ability);
if (!ability.exists || ability.isNonstandard) return [`${name} needs to have a valid ability.`];
const pokemonWithAbility = teamHas.abilityMap[ability.id];
if (!pokemonWithAbility) return [`${ability.name} is not available on a legal Pok\u00e9mon.`];
(this.format as any).debug = true;
if (!teamHas.abilitySources) teamHas.abilitySources = Object.create(null);
const validSources: string[] = teamHas.abilitySources[this.dex.toID(set.species)] = []; // Evolution families
let canonicalSource = ''; // Specific for the basic implementation of Donor Clause (see onValidateTeam).
for (const donor of pokemonWithAbility) {
const donorSpecies = this.dex.species.get(donor);
let format = this.format;
if (!format.getEvoFamily) format = this.dex.formats.get('gen9inheritance');
const evoFamily = format.getEvoFamily!(donorSpecies.id);
if (validSources.includes(evoFamily)) continue;
set.species = donorSpecies.name;
set.name = donorSpecies.baseSpecies;
const problems = this.validateSet(set, teamHas) || [];
if (!problems.length) {
validSources.push(evoFamily);
canonicalSource = donorSpecies.name;
}
// Specific for the basic implementation of Donor Clause (see onValidateTeam).
if (validSources.length > 1) break;
}
(this.format as any).debug = false;
set.name = name;
set.species = species.name;
if (!validSources.length) {
if (pokemonWithAbility.length > 1) return [`${name}'s set is illegal.`];
return [`${name} has an illegal set with an ability from ${this.dex.species.get(pokemonWithAbility[0]).name}.`];
}
// Protocol: Include the data of the donor species in the `ability` data slot.
// Afterwards, we are going to reset the name to what the user intended.
set.ability = `${set.ability}0${canonicalSource}`;
return null;
},
onValidateTeam(team, f, teamHas) {
if (this.ruleTable.has('abilityclause')) {
const abilityTable = new Map();
const base: {[k: string]: string} = {
airlock: 'cloudnine',
armortail: 'queenlymajesty',
battlearmor: 'shellarmor',
clearbody: 'whitesmoke',
dazzling: 'queenlymajesty',
emergencyexit: 'wimpout',
filter: 'solidrock',
gooey: 'tanglinghair',
insomnia: 'vitalspirit',
ironbarbs: 'roughskin',
libero: 'protean',
minus: 'plus',
moxie: 'chillingneigh',
powerofalchemy: 'receiver',
propellertail: 'stalwart',
teravolt: 'moldbreaker',
turboblaze: 'moldbreaker',
};
const num = parseInt(this.ruleTable.valueRules.get('abilityclause')!);
for (const set of team) {
let ability = this.toID(set.ability.split('0')[0]);
if (!ability) continue;
if (ability in base) ability = base[ability] as ID;
if ((abilityTable.get(ability) || 0) >= num) {
return [
`You are limited to ${num} of each ability by ${num} Ability Clause.`,
`(You have more than ${num} ${this.dex.abilities.get(ability).name} variants)`,
];
}
abilityTable.set(ability, (abilityTable.get(ability) || 0) + 1);
}
}
// Donor Clause
const evoFamilyLists = [];
for (const set of team) {
const abilitySources = teamHas.abilitySources?.[this.dex.toID(set.species)];
if (!abilitySources) continue;
let format = this.format;
if (!format.getEvoFamily) format = this.dex.formats.get('gen9inheritance');
evoFamilyLists.push(abilitySources.map(format.getEvoFamily!));
}
// Checking actual full incompatibility would require expensive algebra.
// Instead, we only check the trivial case of multiple Pokémon only legal for exactly one family. FIXME?
const requiredFamilies = Object.create(null);
for (const evoFamilies of evoFamilyLists) {
if (evoFamilies.length !== 1) continue;
const [familyId] = evoFamilies;
if (!(familyId in requiredFamilies)) {
requiredFamilies[familyId] = 1;
} else {
requiredFamilies[familyId]++;
}
if (requiredFamilies[familyId] > 1) {
return [
`You are limited to up to one inheritance from each evolution family by the Donor Clause.`,
`(You inherit more than once from ${this.dex.species.get(familyId).name}).`,
];
}
}
},
onBegin() {
for (const pokemon of this.getAllPokemon()) {
if (pokemon.baseAbility.includes('0')) {
const donor = pokemon.baseAbility.split('0')[1];
pokemon.m.donor = this.toID(donor);
pokemon.baseAbility = this.toID(pokemon.baseAbility.split('0')[0]);
pokemon.ability = pokemon.baseAbility;
}
}
},
onSwitchIn(pokemon) {
if (!pokemon.m.donor) return;
const donorTemplate = this.dex.species.get(pokemon.m.donor);
if (!donorTemplate.exists) return;
// Place volatiles on the Pokémon to show the donor details.
this.add('-start', pokemon, donorTemplate.name, '[silent]');
},
},
{
name: "[Gen 9] Pokebilities",
desc: `Pokémon have all of their released abilities simultaneously.`,
threads: [
`• Pokébilities`,
],
mod: 'pokebilities',
searchShow: false,
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
banlist: ['Flutter Mane', 'Houndstone', 'Iron Bundle', 'Koraidon', 'Miraidon', 'Palafin', 'Arena Trap', 'Moody', 'Shadow Tag', 'King\'s Rock', 'Baton Pass'],
onValidateSet(set) {
const species = this.dex.species.get(set.species);
const unSeenAbilities = Object.keys(species.abilities)
.filter(key => key !== 'S' && (key !== 'H' || !species.unreleasedHidden))
.map(key => species.abilities[key as "0" | "1" | "H" | "S"])
.filter(ability => ability !== set.ability);
if (unSeenAbilities.length && this.toID(set.ability) !== this.toID(species.abilities['S'])) {
for (const abilityName of unSeenAbilities) {
const banReason = this.ruleTable.check('ability:' + this.toID(abilityName));
if (banReason) {
return [`${set.name}'s ability ${abilityName} is ${banReason}.`];
}
}
}
},
onBegin() {
for (const pokemon of this.getAllPokemon()) {
if (pokemon.ability === this.toID(pokemon.species.abilities['S'])) {
continue;
}
pokemon.m.innates = Object.keys(pokemon.species.abilities)
.filter(key => key !== 'S' && (key !== 'H' || !pokemon.species.unreleasedHidden))
.map(key => this.toID(pokemon.species.abilities[key as "0" | "1" | "H" | "S"]))
.filter(ability => ability !== pokemon.ability);
}
},
onBeforeSwitchIn(pokemon) {
// Abilities that must be applied before both sides trigger onSwitchIn to correctly
// handle switch-in ability-to-ability interactions, e.g. Intimidate counters
const neededBeforeSwitchInIDs = [
'clearbody', 'competitive', 'contrary', 'defiant', 'fullmetalbody', 'hypercutter', 'innerfocus',
'mirrorarmor', 'oblivious', 'owntempo', 'rattled', 'scrappy', 'simple', 'whitesmoke',
];
if (pokemon.m.innates) {
for (const innate of pokemon.m.innates) {
if (!neededBeforeSwitchInIDs.includes(innate)) continue;
if (pokemon.hasAbility(innate)) continue;
pokemon.addVolatile("ability:" + innate, pokemon);
}
}
},
onSwitchInPriority: 2,
onSwitchIn(pokemon) {
if (pokemon.m.innates) {
for (const innate of pokemon.m.innates) {
if (pokemon.hasAbility(innate)) continue;
pokemon.addVolatile("ability:" + innate, pokemon);
}
}
},
onSwitchOut(pokemon) {
for (const innate of Object.keys(pokemon.volatiles).filter(i => i.startsWith('ability:'))) {
pokemon.removeVolatile(innate);
}
},
onFaint(pokemon) {
for (const innate of Object.keys(pokemon.volatiles).filter(i => i.startsWith('ability:'))) {
const innateEffect = this.dex.conditions.get(innate) as Effect;
this.singleEvent('End', innateEffect, null, pokemon);
}
},
onAfterMega(pokemon) {
for (const innate of Object.keys(pokemon.volatiles).filter(i => i.startsWith('ability:'))) {
pokemon.removeVolatile(innate);
}
pokemon.m.innates = undefined;
},
},
{
name: "[Gen 9] Pure Hackmons",
desc: `Anything directly hackable onto a set (EVs, IVs, forme, ability, item, and move) and is usable in local battles is allowed.`,
threads: [
`• Pure Hackmons`,
],
mod: 'gen9',
searchShow: false,
ruleset: ['-Nonexistent', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause'],
},
{
name: "[Gen 9] Shared Power",
desc: `Once a Pokémon switches in, its ability is shared with the rest of the team.`,
threads: [
`• Shared Power`,
],
mod: 'sharedpower',
searchShow: false,
ruleset: ['Standard OMs', 'Evasion Abilities Clause', 'Evasion Items Clause', 'Sleep Moves Clause', 'Min Source Gen = 9'],
banlist: [
'Chien-Pao', 'Gholdengo', 'Koraidon', 'Komala', 'Miraidon', 'Ting-Lu', 'Anger Shell', 'Arena Trap', 'Armor Tail', 'Contrary', 'Dazzling',
'Drought', 'Electric Surge', 'Guts', 'Huge Power', 'Imposter', 'Magic Bounce', 'Magnet Pull', 'Mold Breaker', 'Moody', 'Poison Heal',
'Prankster', 'Pure Power', 'Purifying Salt', 'Queenly Majesty', 'Quick Draw', 'Quick Feet', 'Regenerator', 'Sand Rush', 'Shadow Tag',
'Simple', 'Slush Rush', 'Speed Boost', 'Stakeout', 'Stench', 'Sturdy', 'Swift Swim', 'Tinted Lens', 'Unaware', 'Unburden', 'Starf Berry',
'King\'s Rock', 'Baton Pass',
],
getSharedPower(pokemon) {
const sharedPower = new Set();
for (const ally of pokemon.side.pokemon) {
if (ally.previouslySwitchedIn > 0) {
if (pokemon.battle.dex.currentMod !== 'sharedpower' && ['trace', 'mirrorarmor'].includes(ally.baseAbility)) {
sharedPower.add('noability');
continue;
}
sharedPower.add(ally.baseAbility);
}
}
sharedPower.delete(pokemon.baseAbility);
return sharedPower;
},
onBeforeSwitchIn(pokemon) {
let format = this.format;
if (!format.getSharedPower) format = this.dex.formats.get('gen9sharedpower');
for (const ability of format.getSharedPower!(pokemon)) {
const effect = 'ability:' + ability;
pokemon.volatiles[effect] = {id: this.toID(effect), target: pokemon};
if (!pokemon.m.abils) pokemon.m.abils = [];
if (!pokemon.m.abils.includes(effect)) pokemon.m.abils.push(effect);
}
},
onSwitchInPriority: 2,
onSwitchIn(pokemon) {
let format = this.format;
if (!format.getSharedPower) format = this.dex.formats.get('gen9sharedpower');
for (const ability of format.getSharedPower!(pokemon)) {
if (ability === 'noability') {
this.hint(`Mirror Armor and Trace break in Shared Power formats that don't use Shared Power as a base, so they get removed from non-base users.`);
}
const effect = 'ability:' + ability;
delete pokemon.volatiles[effect];
pokemon.addVolatile(effect);
}
},
},
{
name: "[Gen 8] Linked",
desc: `The first two moves in a Pokémon's moveset are used simultaneously.`,
threads: [
`• Linked`,
],
mod: 'gen8linked',
searchShow: false,
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Cloyster', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina',
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram',
'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Volcarona', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned',
'Zekrom', 'Zygarde-Base', 'Zygarde-Complete', 'Arena Trap', 'Chlorophyll', 'Moody', 'Power Construct', 'Sand Rush', 'Sand Veil', 'Shadow Tag',
'Slush Rush', 'Snow Cloak', 'Speed Boost', 'Surge Surfer', 'Swift Swim', 'Unburden', 'Bright Powder', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
],
restricted: [
'Baneful Bunker', 'Bounce', 'Protect', 'Detect', 'Dig', 'Dive', 'Fly', 'King\'s Shield', 'Nature\'s Madness', 'Night Shade',
'Obstruct', 'Phantom Force', 'Seismic Toss', 'Shadow Force', 'Sky Drop', 'Spiky Shield', 'Super Fang', 'Trick Room',
],
onValidateSet(set) {
const problems = [];
for (const [i, moveid] of set.moves.entries()) {
const move = this.dex.moves.get(moveid);
if ([0, 1].includes(i) && this.ruleTable.isRestricted(`move:${move.id}`)) {
problems.push(`${set.name || set.species}'s move ${move.name} cannot be linked.`);
}
}
return problems;
},
},
{
name: "[Gen 8] Multibility",
desc: `Run a second ability at the cost of giving up a Pokémon's item slot.`,
threads: [
`• Multibility`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['Standard OMs', 'Ability Clause = 2', 'Sleep Moves Clause'],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragonite', 'Eternatus',
'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White',
'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane',
'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Shedinja', 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas',
'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Arena Trap',
'Chlorophyll', 'Magnet Pull', 'Moody', 'Power Construct', 'Sand Rush', 'Shadow Tag', 'Slush Rush', 'Swift Swim',
'Stench', 'Trace', 'King\'s Rock', 'Baton Pass',
],
restricted: [
'Comatose', 'Contrary', 'Fluffy', 'Fur Coat', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out',
'Intrepid Sword', 'Libero', 'Neutralizing Gas', 'Parental Bond', 'Protean', 'Pure Power', 'Simple', 'Speed Boost',
'Stakeout', 'Tinted Lens', 'Unaware', 'Water Bubble', 'Wonder Guard',
'Emergency Exit + Regenerator', 'Wimp Out + Regenerator',
],
validateSet(set, teamHas) {
const ability = this.dex.abilities.get(set.ability);
const item = this.dex.abilities.get(set.item);
if (!item.exists) return this.validateSet(set, teamHas);
const problems = [];
if (item.isNonstandard && !this.ruleTable.has(`+ability:${item.id}`)) {
problems.push(`${item.name} is banned.`);
}
if (ability.id === item.id) {
problems.push(`${set.species} has ${ability.name} as an ability and as an item.`);
}
if (this.ruleTable.isRestricted(`ability:${item.id}`) || this.ruleTable.isBanned(`ability:${item.id}`)) {
problems.push(`${set.species}'s second ability (${item.name}) can only be used as an ability.`);
}
if ((ability.id === 'regenerator' && ['emergencyexit', 'wimpout'].includes(item.id)) ||
(item.id === 'regenerator' && ['emergencyexit', 'wimpout'].includes(ability.id))) {
problems.push(`${ability.name} and ${item.name} are banned together.`);
}
const itemStr = set.item;
set.item = '';
const problem = this.validateSet(set, teamHas);
if (problem?.length) problems.push(...problem);
set.item = itemStr;
return problems;
},
onValidateTeam(team) {
if (!this.ruleTable.has('abilityclause')) return;
const abilityTable = new Map();
const base: {[k: string]: string} = {
airlock: 'cloudnine',
battlearmor: 'shellarmor',
clearbody: 'whitesmoke',
dazzling: 'queenlymajesty',
emergencyexit: 'wimpout',
filter: 'solidrock',
gooey: 'tanglinghair',
insomnia: 'vitalspirit',
ironbarbs: 'roughskin',
libero: 'protean',
minus: 'plus',
moxie: 'chillingneigh',
powerofalchemy: 'receiver',
propellertail: 'stalwart',
teravolt: 'moldbreaker',
turboblaze: 'moldbreaker',
};
const num = parseInt(this.ruleTable.valueRules.get('abilityclause')!);
const abilities: [string, string][] = [];
for (const set of team) {
abilities.push([set.ability, set.item].map((abil) => {
const id = this.toID(abil);
return base[id] || id;
}) as [string, string]);
}
for (const [abilityid, itemid] of abilities) {
const ability = this.dex.abilities.get(abilityid);
const item = this.dex.abilities.get(itemid);
if (ability.exists) abilityTable.set(ability.id, (abilityTable.get(ability.id) || 0) + 1);
if (item.exists) abilityTable.set(item.id, (abilityTable.get(item.id) || 0) + 1);
}
for (const [abilityid, size] of abilityTable) {
if (size > num) {
return [
`You are limited to ${num} of each ability by ${num} Ability Clause.`,
`(You have more than ${num} ${this.dex.abilities.get(abilityid).name} variants)`,
];
}
}
},
onSwitchOut(pokemon) {
const item = this.dex.abilities.get(pokemon.item);
if (item.exists) {
this.singleEvent('End', item, pokemon.itemState, pokemon);
}
},
onFaint(pokemon) {
const item = this.dex.abilities.get(pokemon.item);
if (item.exists) {
this.singleEvent('End', item, pokemon.itemState, pokemon);
}
},
field: {
suppressingWeather() {
for (const pokemon of this.battle.getAllActive()) {
const item = this.battle.dex.abilities.get(pokemon.item);
if (pokemon && !pokemon.ignoringAbility() &&
(pokemon.getAbility().suppressWeather || (item.exists && item.suppressWeather))) {
return true;
}
}
return false;
},
},
pokemon: {
getItem() {
const ability = this.battle.dex.abilities.get(this.item);
if (!ability.exists) return Object.getPrototypeOf(this).getItem.call(this);
return {...ability, ignoreKlutz: true, onTakeItem: false};
},
hasItem(item) {
const ownItem = this.item;
if (this.battle.dex.abilities.get(ownItem).exists) return false;
if (this.ignoringItem()) return false;
if (!Array.isArray(item)) return ownItem === this.battle.toID(item);
return item.map(this.battle.toID).includes(ownItem);
},
hasAbility(ability) {
if (this.ignoringAbility()) return false;
if (Array.isArray(ability)) return ability.some(abil => this.hasAbility(abil));
const abilityid = this.battle.toID(ability);
const item = this.battle.dex.abilities.get(this.item);
return this.ability === abilityid || (item.exists && item.id === abilityid);
},
ignoringAbility() {
// Check if any active pokemon have the ability Neutralizing Gas
let neutralizinggas = false;
for (const pokemon of this.battle.getAllActive()) {
// can't use hasAbility because it would lead to infinite recursion
if ((pokemon.ability === ('neutralizinggas' as ID) || pokemon.item === ('neutralizinggas' as ID)) &&
!pokemon.volatiles['gastroacid'] && !pokemon.abilityState.ending) {
neutralizinggas = true;
break;
}
}
return !!(
(this.battle.gen >= 5 && !this.isActive) ||
((this.volatiles['gastroacid'] || (neutralizinggas && this.ability !== ('neutralizinggas' as ID) &&
this.item !== ('neutralizinggas' as ID))) && !this.getAbility().isPermanent));
},
ignoringItem() {
let nGas = false;
for (const pokemon of this.battle.getAllActive()) {
// can't use hasAbility because it would lead to infinite recursion
if (((pokemon.ability === ('neutralizinggas' as ID) && !pokemon.abilityState.ending) ||
(pokemon.item === ('neutralizinggas' as ID) && !pokemon.itemState.ending)) &&
!pokemon.volatiles['gastroacid'] && !pokemon.abilityState.ending) {
nGas = true;
break;
}
}
const item = this.battle.dex.abilities.get(this.item);
return !!((this.battle.gen >= 5 && !this.isActive) ||
(this.hasAbility('klutz') && !this.getItem().ignoreKlutz) ||
this.volatiles['embargo'] || this.battle.field.pseudoWeather['magicroom'] ||
(item.exists && item.id !== 'neutralizinggas' && (nGas || this.volatiles['gastroacid'])));
},
takeItem(source) {
if (!this.isActive) return false;
if (!this.item) return false;
if (this.battle.dex.abilities.get(this.item).exists) return false;
if (!source) source = this;
if (this.battle.gen === 4) {
if (this.battle.toID(this.ability) === 'multitype') return false;
if (source && this.battle.toID(source.ability) === 'multitype') return false;
}
const item = this.getItem();
if (this.battle.runEvent('TakeItem', this, source, null, item)) {
this.item = '';
this.itemState = {id: '', target: this};
this.pendingStaleness = undefined;
return item;
}
return false;
},
},
},
{
name: "[Gen 8] Nature Swap",
desc: `Pokémon have their base stats swapped depending on their nature.`,
threads: [
`• Nature Swap`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
banlist: [
'Blissey', 'Calyrex-Ice', 'Calyrex-Shadow', 'Chansey', 'Cloyster', 'Dialga', 'Eternatus', 'Genesect', 'Giratina',
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
'Marshadow', 'Melmetal', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza', 'Reshiram',
'Solgaleo', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base',
'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'Baton Pass',
],
battle: {
spreadModify(baseStats, set) {
const modStats: SparseStatsTable = {atk: 10, def: 10, spa: 10, spd: 10, spe: 10};
const tr = this.trunc;
const nature = this.dex.natures.get(set.nature);
let statName: keyof StatsTable;
for (statName in modStats) {
const stat = baseStats[statName];
let usedStat = statName;
if (nature.plus) {
if (statName === nature.minus) {
usedStat = nature.plus;
} else if (statName === nature.plus) {
usedStat = nature.minus!;
}
}
modStats[statName] = tr(tr(2 * stat + set.ivs[usedStat] + tr(set.evs[usedStat] / 4)) * set.level / 100 + 5);
}
if ('hp' in baseStats) {
const stat = baseStats['hp'];
modStats['hp'] = tr(tr(2 * stat + set.ivs['hp'] + tr(set.evs['hp'] / 4) + 100) * set.level / 100 + 10);
}
return this.natureModify(modStats as StatsTable, set);
},
natureModify(stats, set) {
const tr = this.trunc;
const nature = this.dex.natures.get(set.nature);
let s: StatIDExceptHP;
if (nature.plus) {
s = nature.minus!;
const stat = this.ruleTable.has('overflowstatmod') ? Math.min(stats[s], 595) : stats[s];
stats[s] = this.ruleTable.has('overflowstatmod') ? Math.min(stats[nature.plus], 728) : stats[nature.plus];
stats[nature.plus] = tr(tr(stat * 110, 16) / 100);
}
return stats;
},
},
},
{
name: "[Gen 8] Tag Team Singles",
desc: `Bring four Pokémon to Team Preview and choose two to battle in a singles battle.`,
threads: [
`• Tag Team Singles`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['Picked Team Size = 2', 'Max Team Size = 4', 'Standard OMs', 'Sleep Moves Clause', 'Evasion Abilities Clause'],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Dialga', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem-Black',
'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia',
'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned',
'Zekrom', 'Moody', 'Power Construct', 'Bright Powder', 'Focus Sash', 'King\'s Rock', 'Lax Incense', 'Final Gambit',
],
},
{
name: "[Gen 8] Trademarked",
desc: `Sacrifice your Pokémon's ability for a status move that activates on switch-in.`,
threads: [
`• Trademarked`,
],
mod: 'gen8',
// While bugs are being fixed
searchShow: false,
challengeShow: false,
tournamentShow: false,
ruleset: ['Standard OMs', 'Sleep Clause Mod'],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragapult', 'Eternatus', 'Kyurem-Black', 'Kyurem-White', 'Giratina',
'Giratina-Origin', 'Genesect', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Lugia', 'Lunala', 'Magearna', 'Marowak-Alola', 'Marshadow', 'Melmetal',
'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier',
'Urshifu-Base', 'Victini', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base',
'Arena Trap', 'Moody', 'Neutralizing Gas', 'Power Construct', 'Shadow Tag', 'Baton Pass',
],
restricted: [
'Baneful Bunker', 'Block', 'Copycat', 'Corrosive Gas', 'Detect', 'Destiny Bond', 'Disable', 'Encore', 'Fairy Lock', 'Hypnosis', 'Ingrain',
'Instruct', 'Lovely Kiss', 'King\'s Shield', 'Mat Block', 'Mean Look', 'Memento', 'move:Metronome', 'Obstruct', 'Octolock', 'Nature Power',
'Parting Shot', 'Psycho Shift', 'Protect', 'Roar', 'Sing', 'Skill Swap', 'Sleep Powder', 'Sleep Talk', 'Spiky Shield', 'Spore', 'Substitute',
'Switcheroo', 'Teleport', 'Trick', 'Whirlwind', 'Wish', 'Yawn',
],
onValidateTeam(team, format, teamHas) {
const problems = [];
for (const trademark in teamHas.trademarks) {
if (teamHas.trademarks[trademark] > 1) {
problems.push(`You are limited to 1 of each Trademark.`, `(You have ${teamHas.trademarks[trademark]} Pok\u00e9mon with ${trademark} as a Trademark.)`);
}
}
return problems;
},
validateSet(set, teamHas) {
const dex = this.dex;
const ability = dex.moves.get(set.ability);
if (!ability.exists) { // Not even a real move
return this.validateSet(set, teamHas);
}
// Absolute trademark bans
if (ability.category !== 'Status') {
return [`${ability.name} is not a status move, and cannot be used as a trademark.`];
}
if (ability.forceSwitch || ability.selfSwitch) {
return [
`Force-switching and self-switching moves are banned from being used as trademarks.`,
`(${ability.name} is a ${ability.forceSwitch ? 'force' : 'self'}-switching move.)`,
];
}
const irrevokablyRestricted = [
'Assist', 'Copycat', 'Metronome', 'Mirror Move', 'Sleep Talk', // Could call another unsafe trademark
'Recycle', 'Trace', // Causes endless turns
'Skill Swap', // Self-propagates indefinitely
];
for (const m of set.moves) {
const move = dex.moves.get(m);
if (irrevokablyRestricted.includes(move.name)) {
return [`${move.name} is banned from Trademark, irrespective of custom rules, because it can cause endless turns.`];
}
}
if (irrevokablyRestricted.includes(ability.name)) {
return [`${ability.name} cannot safely function as a trademark.`];
}
// Contingent trademark bans
if (this.ruleTable.isRestricted(`move:${ability.id}`)) {
return [`${ability.name} is restricted from being used as a trademark.`];
}
if (set.moves.map(this.toID).includes(ability.id)) {
return [`${set.name} may not use ${ability.name} as both a trademark and one of its moves simultaneously.`];
}
const customRules = this.format.customRules || [];
if (!customRules.includes('!obtainableabilities')) customRules.push('!obtainableabilities');
const TeamValidator: typeof import('../sim/team-validator').TeamValidator =
require('../sim/team-validator').TeamValidator;
const validator = new TeamValidator(dex.formats.get(`${this.format.id}@@@${customRules.join(',')}`));
const moves = set.moves;
set.moves = [ability.id];
set.ability = dex.species.get(set.species).abilities['0'];
let problems = validator.validateSet(set, {}) || [];
if (problems.length) return problems;
set.moves = moves;
set.ability = dex.species.get(set.species).abilities['0'];
problems = problems.concat(validator.validateSet(set, teamHas) || []);
set.ability = ability.id;
if (!teamHas.trademarks) teamHas.trademarks = {};
teamHas.trademarks[ability.name] = (teamHas.trademarks[ability.name] || 0) + 1;
return problems.length ? problems : null;
},
pokemon: {
getAbility() {
const move = this.battle.dex.moves.get(this.battle.toID(this.ability));
if (!move.exists) return Object.getPrototypeOf(this).getAbility.call(this);
return {
id: move.id,
name: move.name,
onStart(this: Battle, pokemon: Pokemon) {
this.add('-activate', pokemon, 'ability: ' + move.name);
this.actions.useMove(move, pokemon);
},
toString() {
return "";
},
};
},
},
},
{
name: "[Gen 8] The Loser's Game",
desc: `The first player to lose all of their Pokémon wins.`,
threads: [
`• The Loser's Game`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['Standard OMs', 'Sleep Clause Mod', '!OHKO Clause', 'Picked Team Size = 6', 'Adjust Level = 100'],
banlist: [
'Sandshrew-Alola', 'Shedinja', 'Infiltrator', 'Magic Guard', 'Choice Scarf',
'Explosion', 'Final Gambit', 'Healing Wish', 'Lunar Dance', 'Magic Room', 'Memento', 'Misty Explosion', 'Self-Destruct',
],
onValidateTeam(team) {
const familyTable = new Set();
for (const set of team) {
let species = this.dex.species.get(set.species);
while (species.prevo) {
species = this.dex.species.get(species.prevo);
}
if (familyTable.has(species.id)) {
return [
`You are limited to one Pokémon from each family by the Family Clause.`,
`(You have more than one evolution of ${species.name}.)`,
];
}
familyTable.add(species.id);
}
},
battle: {
tiebreak() {
if (this.ended) return false;
this.inputLog.push(`>tiebreak`);
this.add('message', "Time's up! Going to tiebreaker...");
const notFainted = this.sides.map(side => (
side.pokemon.filter(pokemon => !pokemon.fainted).length
));
this.add('-message', this.sides.map((side, i) => (
`${side.name}: ${notFainted[i]} Pokemon left`
)).join('; '));
const maxNotFainted = Math.max(...notFainted);
let tiedSides = this.sides.filter((side, i) => notFainted[i] === maxNotFainted);
if (tiedSides.length <= 1) {
return this.win(tiedSides[1]);
}
const hpPercentage = tiedSides.map(side => (
side.pokemon.map(pokemon => pokemon.hp / pokemon.maxhp).reduce((a, b) => a + b) * 100 / 6
));
this.add('-message', tiedSides.map((side, i) => (
`${side.name}: ${Math.round(hpPercentage[i])}% total HP left`
)).join('; '));
const maxPercentage = Math.max(...hpPercentage);
tiedSides = tiedSides.filter((side, i) => hpPercentage[i] === maxPercentage);
if (tiedSides.length <= 1) {
return this.win(tiedSides[1]);
}
const hpTotal = tiedSides.map(side => (
side.pokemon.map(pokemon => pokemon.hp).reduce((a, b) => a + b)
));
this.add('-message', tiedSides.map((side, i) => (
`${side.name}: ${Math.round(hpTotal[i])} total HP left`
)).join('; '));
const maxTotal = Math.max(...hpTotal);
tiedSides = tiedSides.filter((side, i) => hpTotal[i] === maxTotal);
if (tiedSides.length <= 1) {
return this.win(tiedSides[1]);
}
return this.tie();
},
faintMessages(lastFirst) {
if (this.ended) return;
const length = this.faintQueue.length;
if (!length) return false;
if (lastFirst) {
this.faintQueue.unshift(this.faintQueue[this.faintQueue.length - 1]);
this.faintQueue.pop();
}
let faintData;
while (this.faintQueue.length) {
faintData = this.faintQueue.shift()!;
const pokemon: Pokemon = faintData.target;
if (!pokemon.fainted &&
this.runEvent('BeforeFaint', pokemon, faintData.source, faintData.effect)) {
this.add('faint', pokemon);
pokemon.side.pokemonLeft--;
if (pokemon.side.totalFainted < 100) pokemon.side.totalFainted++;
this.runEvent('Faint', pokemon, faintData.source, faintData.effect);
this.singleEvent('End', pokemon.getAbility(), pokemon.abilityState, pokemon);
pokemon.clearVolatile(false);
pokemon.fainted = true;
pokemon.isActive = false;
pokemon.isStarted = false;
pokemon.side.faintedThisTurn = pokemon;
}
}
if (this.gen <= 1) {
// in gen 1, fainting skips the rest of the turn
// residuals don't exist in gen 1
this.queue.clear();
// Fainting clears accumulated Bide damage
for (const pokemon of this.getAllActive()) {
if (pokemon.volatiles['bide'] && pokemon.volatiles['bide'].damage) {
pokemon.volatiles['bide'].damage = 0;
this.hint("Desync Clause Mod activated!");
this.hint("In Gen 1, Bide's accumulated damage is reset to 0 when a Pokemon faints.");
}
}
} else if (this.gen <= 3 && this.gameType === 'singles') {
// in gen 3 or earlier, fainting in singles skips to residuals
for (const pokemon of this.getAllActive()) {
if (this.gen <= 2) {
// in gen 2, fainting skips moves only
this.queue.cancelMove(pokemon);
} else {
// in gen 3, fainting skips all moves and switches
this.queue.cancelAction(pokemon);
}
}
}
if (!this.p1.pokemonLeft && !this.p2.pokemonLeft) {
this.win(faintData ? faintData.target.side.foe : null);
return true;
}
if (!this.p1.pokemonLeft) {
this.win(this.p1);
return true;
}
if (!this.p2.pokemonLeft) {
this.win(this.p2);
return true;
}
if (faintData) {
this.runEvent('AfterFaint', faintData.target, faintData.source, faintData.effect, length);
}
return false;
},
},
},
// Retro Other Metagames
///////////////////////////////////////////////////////////////////
{
section: "Retro Other Metagames",
column: 2,
},
{
name: "[Gen 7] Mix and Mega",
desc: `Mega Stones and Primal Orbs can be used on almost any Pokémon with no Mega Evolution limit.`,
threads: [
`• USM Mix and Mega`,
],
mod: 'gen7mixandmega',
ruleset: ['Standard OMs', 'Mega Rayquaza Clause', 'Sleep Clause Mod'],
banlist: ['Shadow Tag', 'Gengarite', 'Baton Pass', 'Electrify'],
restricted: [
'Arceus', 'Deoxys', 'Dialga', 'Dragonite', 'Giratina', 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Landorus-Therian', 'Lugia',
'Lunala', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma', 'Palkia', 'Pheromosa', 'Rayquaza', 'Regigigas', 'Reshiram', 'Shuckle',
'Slaking', 'Solgaleo', 'Xerneas', 'Yveltal', 'Zekrom',
'Beedrillite', 'Blazikenite', 'Kangaskhanite', 'Mawilite', 'Medichamite', 'Pidgeotite', 'Ultranecrozium Z',
],
unbanlist: ['Deoxys-Defense', 'Kyurem-Base', 'Necrozma-Base'],
onValidateTeam(team) {
const itemTable = new Set();
for (const set of team) {
const item = this.dex.items.get(set.item);
if (!item.exists) continue;
if (itemTable.has(item.id) && (item.megaStone || item.onPrimal)) {
return [
`You are limited to one of each Mega Stone and Primal Orb.`,
`(You have more than one ${item.name}.)`,
];
}
itemTable.add(item.id);
}
},
onValidateSet(set) {
const species = this.dex.species.get(set.species);
const item = this.dex.items.get(set.item);
if (!item.megaEvolves && !item.onPrimal && item.id !== 'ultranecroziumz') return;
if (species.baseSpecies === item.megaEvolves || (item.onPrimal && item.itemUser?.includes(species.baseSpecies)) ||
(species.name.startsWith('Necrozma-') && item.id === 'ultranecroziumz')) {
return;
}
if (this.ruleTable.isRestricted(`item:${item.id}`) || this.ruleTable.isRestrictedSpecies(species) ||
set.ability === 'Power Construct') {
return [`${set.species} is not allowed to hold ${item.name}.`];
}
},
onBegin() {
for (const pokemon of this.getAllPokemon()) {
pokemon.m.originalSpecies = pokemon.baseSpecies.name;
}
},
onSwitchIn(pokemon) {
// @ts-ignore
const oMegaSpecies = this.dex.species.get(pokemon.species.originalMega);
if (oMegaSpecies.exists && pokemon.m.originalSpecies !== oMegaSpecies.baseSpecies) {
this.add('-start', pokemon, oMegaSpecies.requiredItem || oMegaSpecies.requiredMove, '[silent]');
const oSpecies = this.dex.species.get(pokemon.m.originalSpecies);
if (oSpecies.types.length !== pokemon.species.types.length || oSpecies.types[1] !== pokemon.species.types[1]) {
this.add('-start', pokemon, 'typechange', pokemon.species.types.join('/'), '[silent]');
}
}
},
onSwitchOut(pokemon) {
// @ts-ignore
const oMegaSpecies = this.dex.species.get(pokemon.species.originalMega);
if (oMegaSpecies.exists && pokemon.m.originalSpecies !== oMegaSpecies.baseSpecies) {
this.add('-start', pokemon, oMegaSpecies.requiredItem || oMegaSpecies.requiredMove, '[silent]');
}
},
},
{
name: "[Gen 7] STABmons",
desc: `Pokémon can use any move of their typing, in addition to the moves they can normally learn.`,
threads: [
`• USM STABmons`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] OU', 'STABmons Move Legality'],
banlist: ['Aerodactyl', 'Aerodactyl-Mega', 'Araquanid', 'Blacephalon', 'Kartana', 'Komala', 'Kyurem-Black', 'Porygon-Z', 'Silvally', 'Tapu Koko', 'Tapu Lele', 'Thundurus', 'Thundurus-Therian', 'King\'s Rock', 'Razor Fang'],
restricted: ['Acupressure', 'Belly Drum', 'Chatter', 'Extreme Speed', 'Geomancy', 'Lovely Kiss', 'Shell Smash', 'Shift Gear', 'Spore', 'Thousand Arrows'],
},
{
name: "[Gen 6] Almost Any Ability",
desc: `Pokémon have access to almost any ability.`,
threads: [
`• ORAS Almost Any Ability`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] OU', 'Ability Clause = 2', 'AAA Restricted Abilities', '!Obtainable Abilities'],
banlist: ['Archeops', 'Bisharp', 'Chatot', 'Dragonite', 'Keldeo', 'Kyurem-Black', 'Mamoswine', 'Regigigas', 'Shedinja', 'Slaking', 'Smeargle', 'Snorlax', 'Suicune', 'Terrakion', 'Weavile', 'Dynamic Punch', 'Zap Cannon'],
unbanlist: ['Aegislash', 'Blaziken', 'Deoxys-Defense', 'Deoxys-Speed', 'Genesect', 'Greninja', 'Landorus'],
restricted: ['Arena Trap', 'Contrary', 'Fur Coat', 'Huge Power', 'Illusion', 'Imposter', 'Parental Bond', 'Protean', 'Pure Power', 'Simple', 'Speed Boost', 'Wonder Guard'],
},
{
name: "[Gen 6] Pure Hackmons",
desc: `Anything that can be hacked in-game and is usable in local battles is allowed.`,
threads: [
`• ORAS Pure Hackmons`,
],
mod: 'gen6',
ruleset: ['-Nonexistent', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause', 'EV limit = 510'],
},
// Randomized Format Spotlight
///////////////////////////////////////////////////////////////////
{
section: "Randomized Format Spotlight",
column: 3,
},
{
name: "[Gen 1] Random Battle (Blitz)",
desc: `[Gen 1] Random Battle with a shortened timer.`,
mod: 'gen1',
team: 'random',
ruleset: ['[Gen 1] Random Battle', 'Blitz'],
},
// Randomized Metas
///////////////////////////////////////////////////////////////////
{
section: "Randomized Metas",
column: 3,
},
{
name: "[Gen 9] Monotype Random Battle",
mod: 'gen9',
team: 'random',
ruleset: ['Obtainable', 'Same Type Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 9] Random Battle Mayhem",
desc: `[Gen 9] Random Battle with Team Preview and elements of Camomons, Inverse, Scalemons, and Shared Power.`,
mod: 'sharedpower',
team: 'random',
ruleset: ['[Gen 9] Random Battle', 'Team Preview', 'Camomons Mod', 'Inverse Mod', 'Scalemons Mod'],
onBeforeSwitchIn(pokemon) {
let format = this.format;
if (!format.getSharedPower) format = this.dex.formats.get('gen9sharedpower');
for (const ability of format.getSharedPower!(pokemon)) {
const effect = 'ability:' + ability;
pokemon.volatiles[effect] = {id: this.toID(effect), target: pokemon};
if (!pokemon.m.abils) pokemon.m.abils = [];
if (!pokemon.m.abils.includes(effect)) pokemon.m.abils.push(effect);
}
},
onSwitchInPriority: 2,
onSwitchIn(pokemon) {
let format = this.format;
if (!format.getSharedPower) format = this.dex.formats.get('gen9sharedpower');
for (const ability of format.getSharedPower!(pokemon)) {
if (ability === 'noability') {
this.hint(`Mirror Armor and Trace break in Shared Power formats that don't use Shared Power as a base, so they get removed from non-base users.`);
}
const effect = 'ability:' + ability;
delete pokemon.volatiles[effect];
pokemon.addVolatile(effect);
}
},
},
{
name: "[Gen 9] Computer-Generated Teams",
desc: `Teams generated automatically based on heuristics (rules), with levels based on previous success/failure in battle. ` +
`Not affiliated with Random Battles formats. Some sets will by nature be worse than others, but you can report egregiously bad sets ` +
`with this form.`,
mod: 'gen9',
team: 'computerGenerated',
ruleset: ['Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 9] Hackmons Cup",
desc: `Randomized teams of level-balanced Pokémon with absolutely any ability, moves, and item.`,
mod: 'gen9',
team: 'randomHC',
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
banlist: ['Nonexistent'],
},
{
name: "[Gen 9] Doubles Hackmons Cup",
desc: `Randomized teams of level-balanced Pokémon with absolutely any ability, moves, and item. Now with TWICE the Pokémon per side!`,
mod: 'gen9',
team: 'randomHC',
searchShow: false,
gameType: 'doubles',
ruleset: ['[Gen 9] Hackmons Cup'],
},
{
name: "[Gen 9] Challenge Cup 1v1",
mod: 'gen9',
team: 'randomCC',
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod', 'Team Preview', 'Terastal Clause', 'Picked Team Size = 1'],
},
{
name: "[Gen 9] Challenge Cup 2v2",
mod: 'gen9',
team: 'randomCC',
gameType: 'doubles',
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod', 'Team Preview', 'Picked Team Size = 2'],
},
{
name: "[Gen 9] Challenge Cup 6v6",
mod: 'gen9',
team: 'randomCC',
searchShow: false,
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 8] Random Battle",
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
threads: [
`• Random Battle Suggestions`,
],
mod: 'gen8',
team: 'random',
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 8] Random Doubles Battle",
mod: 'gen8',
gameType: 'doubles',
team: 'random',
ruleset: ['PotD', 'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 8] Free-For-All Random Battle",
mod: 'gen8',
team: 'random',
gameType: 'freeforall',
// searchShow: false,
tournamentShow: false,
rated: false,
ruleset: ['Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 8] Multi Random Battle",
mod: 'gen8',
team: 'random',
gameType: 'multi',
searchShow: false,
tournamentShow: false,
rated: false,
ruleset: [
'Max Team Size = 3',
'Obtainable', 'Species Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod',
],
},
{
name: "[Gen 8] Battle Factory",
desc: `Randomized teams of Pokémon for a generated Smogon tier with sets that are competitively viable.`,
mod: 'gen8',
team: 'randomFactory',
ruleset: ['Standard', 'Dynamax Clause'],
},
{
name: "[Gen 8] BSS Factory",
desc: `Randomized 3v3 Singles featuring Pokémon and movesets popular in Battle Stadium Singles.`,
threads: [
`• Information and Suggestions Thread`,
],
mod: 'gen8',
team: 'randomBSSFactory',
ruleset: ['Flat Rules'],
},
{
name: "[Gen 8] Super Staff Bros 4",
desc: "The fourth iteration of Super Staff Bros is here! Battle with a random team of pokemon created by the sim staff.",
threads: [
`• Introduction & Roster`,
`• Discussion Thread`,
],
mod: 'ssb',
team: 'randomStaffBros',
ruleset: ['Dynamax Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
onBegin() {
if (!this.ruleTable.has('dynamaxclause')) {
// Old joke format we're bringing back
for (const side of this.sides) {
side.dynamaxUsed = true;
}
this.add('message', 'Delphox only');
this.add('message', 'No items');
this.add('message', 'Final Destination');
return;
}
// TODO look into making an event to put this right after turn|1
// https://discordapp.com/channels/630837856075513856/630845310033330206/716126469528485909
// Requires client change
this.add(`raw|Wondering what all these custom moves, abilities, and items do?
Check out the Super Staff Bros 4 Guide or use /ssb to find out! `);
this.add('message', [
'THE BATTLE FOR SURVIVAL BEGINS!', 'WHO WILL SURVIVE?', 'GET READY TO KEEP UP!', 'GET READY!', 'DARE TO BELIEVE YOU CAN SURVIVE!', 'THERE CAN BE ONLY ONE WINNER!', 'GET READY FOR THE FIGHT OF YOUR LIFE!', 'WHO WILL PREVAIL?', 'ONLY ONE TEAM WILL BE LEFT STANDING!', 'BATTLE WITHOUT LIMITS!',
][this.random(10)]);
this.add('message', 'FIGHT!');
},
onSwitchInPriority: 100,
onSwitchIn(pokemon) {
let name: string = this.toID(pokemon.illusion ? pokemon.illusion.name : pokemon.name);
if (this.dex.species.get(name).exists || this.dex.moves.get(name).exists || this.dex.abilities.get(name).exists) {
// Certain pokemon have volatiles named after their id
// To prevent overwriting those, and to prevent accidentaly leaking
// that a pokemon is on a team through the onStart even triggering
// at the start of a match, users with pokemon names will need their
// statuses to end in "user".
name = name + 'user';
}
// Add the mon's status effect to it as a volatile.
const status = this.dex.conditions.get(name);
if (status?.exists) {
pokemon.addVolatile(name, pokemon);
}
if (pokemon.m.hasBounty) this.add('-start', pokemon, 'bounty', '[silent]');
const details = pokemon.species.name + (pokemon.level === 100 ? '' : ', L' + pokemon.level) +
(pokemon.gender === '' ? '' : ', ' + pokemon.gender) + (pokemon.set.shiny ? ', shiny' : '');
if (pokemon.m.nowShiny) this.add('replace', pokemon, details);
},
onFaint(target, source, effect) {
if (effect?.effectType !== 'Move') return;
if (!target.m.hasBounty) return;
if (source) {
this.add('-message', `${source.name} received the bounty!`);
this.boost({atk: 1, def: 1, spa: 1, spd: 1, spe: 1}, source, target, effect);
}
},
},
{
name: "[Gen 8] Hackmons Cup",
desc: `Randomized teams of level-balanced Pokémon with absolutely any ability, moves, and item.`,
mod: 'gen8',
team: 'randomHC',
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
banlist: ['Nonexistent'],
},
{
name: "[Gen 8] CAP 1v1",
desc: `Randomly generated 1v1-style teams only including Pokémon made by the Create-A-Pokémon Project.`,
threads: [
`• CAP 1v1`,
],
mod: 'gen8',
searchShow: false,
team: 'randomCAP1v1',
ruleset: [
'Picked Team Size = 1',
'Max Team Size = 3',
'Species Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod', 'Dynamax Clause',
],
},
{
name: "[Gen 8 BDSP] Random Battle",
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
threads: [
`• BDSP Random Battle Set Discussion`,
],
mod: 'gen8bdsp',
team: 'random',
searchShow: false,
ruleset: ['[Gen 8] Random Battle', '!PotD'],
},
{
name: "[Gen 7] Random Battle",
desc: `Randomized teams of level-balanced Pokémon with sets that are generated to be competitively viable.`,
threads: [
`• Sets and Suggestions`,
`• Role Compendium`,
],
mod: 'gen7',
team: 'random',
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
},
{
name: "[Gen 7] Random Doubles Battle",
threads: [`• Sets and Suggestions`],
mod: 'gen7',
gameType: 'doubles',
team: 'random',
searchShow: false,
challengeShow: false,
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 7] Battle Factory",
desc: `Randomized teams of Pokémon for a generated Smogon tier with sets that are competitively viable.`,
mod: 'gen7',
team: 'randomFactory',
ruleset: ['Obtainable', 'Sleep Clause Mod', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
},
{
name: "[Gen 7] BSS Factory",
desc: `Randomized 3v3 Singles featuring Pokémon and movesets popular in Battle Spot Singles.`,
threads: [
`• Information and Suggestions Thread`,
],
mod: 'gen7',
team: 'randomBSSFactory',
searchShow: false,
ruleset: ['Flat Rules'],
},
{
name: "[Gen 7] Hackmons Cup",
desc: `Randomized teams of level-balanced Pokémon with absolutely any ability, moves, and item.`,
mod: 'gen7',
team: 'randomHC',
searchShow: false,
ruleset: ['HP Percentage Mod', 'Cancel Mod'],
banlist: ['Nonexistent'],
},
{
name: "[Gen 7 Let's Go] Random Battle",
mod: 'gen7letsgo',
team: 'random',
searchShow: false,
ruleset: ['Obtainable', 'Allow AVs', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
},
{
name: "[Gen 6] Random Battle",
mod: 'gen6',
team: 'random',
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
},
{
name: "[Gen 6] Battle Factory",
desc: `Randomized teams of Pokémon for a generated Smogon tier with sets that are competitively viable.`,
mod: 'gen6',
team: 'randomFactory',
searchShow: false,
challengeShow: false,
ruleset: ['Obtainable', 'Sleep Clause Mod', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
},
{
name: "[Gen 5] Random Battle",
mod: 'gen5',
team: 'random',
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 4] Random Battle",
mod: 'gen4',
team: 'random',
ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 3] Random Battle",
mod: 'gen3',
team: 'random',
ruleset: ['Standard'],
},
{
name: "[Gen 2] Random Battle",
mod: 'gen2',
team: 'random',
ruleset: ['Standard'],
},
{
name: "[Gen 1] Random Battle",
mod: 'gen1',
team: 'random',
ruleset: ['Standard'],
},
{
name: "[Gen 1] Challenge Cup",
mod: 'gen1',
team: 'randomCC',
searchShow: false,
challengeShow: false,
ruleset: ['Obtainable', 'HP Percentage Mod', 'Cancel Mod', 'Desync Clause Mod', 'Sleep Clause Mod', 'Freeze Clause Mod'],
},
{
name: "[Gen 1] Hackmons Cup",
desc: `Randomized teams of level-balanced Pokémon with absolutely any moves, types, and stats.`,
mod: 'gen1',
team: 'randomHC',
searchShow: false,
challengeShow: false,
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Desync Clause Mod', 'Sleep Clause Mod', 'Freeze Clause Mod', 'Team Type Preview'],
banlist: ['Nonexistent'],
onModifySpecies(species, target, source, effect) {
if (!target) return;
return {...species, ...(target.set as any).hc};
},
onSwitchIn(pokemon) {
this.add('-start', pokemon, 'typechange', pokemon.getTypes(true).join('/'), '[silent]');
for (const i in pokemon.species.baseStats) {
if (i === 'spd') continue;
this.add('-start', pokemon, `${pokemon.species.baseStats[i as keyof StatsTable]}${i === 'spa' ? 'spc' : i}`, '[silent]');
}
},
},
// Metronome Battle
///////////////////////////////////////////////////////////////////
{
section: "Metronome Battle",
column: 3,
},
{
name: '[Gen 9] Metronome Battle',
threads: [
`• Metronome Battle`,
],
mod: 'gen9',
gameType: 'doubles',
ruleset: ['Max Team Size = 2', 'HP Percentage Mod', 'Cancel Mod'],
banlist: [
'Pokestar Spirit', 'Shedinja + Sturdy', 'Cheek Pouch', 'Commander', 'Cursed Body', 'Dry Skin', 'Earth Eater', 'Fur Coat', 'Gorilla Tactics',
'Grassy Surge', 'Huge Power', 'Ice Body', 'Iron Barbs', 'Moody', 'Neutralizing Gas', 'Opportunist', 'Parental Bond', 'Perish Body', 'Poison Heal',
'Power Construct', 'Pressure', 'Pure Power', 'Rain Dish', 'Rough Skin', 'Sand Spit', 'Sand Stream', 'Seed Sower', 'Stamina',
'Volt Absorb', 'Water Absorb', 'Wonder Guard', 'Aguav Berry', 'Assault Vest', 'Berry', 'Berry Juice', 'Berserk Gene',
'Black Sludge', 'Enigma Berry', 'Figy Berry', 'Gold Berry', 'Iapapa Berry', 'Kangaskhanite', 'Leftovers', 'Mago Berry', 'Medichamite',
'Steel Memory', 'Oran Berry', 'Rocky Helmet', 'Shell Bell', 'Sitrus Berry', 'Wiki Berry', 'Harvest + Jaboca Berry',
'Harvest + Rowap Berry',
],
onValidateSet(set) {
const species = this.dex.species.get(set.species);
if (species.types.includes('Steel')) {
return [`${species.name} is a Steel-type, which is banned from Metronome Battle.`];
}
if (set.teraType === 'Steel') {
return [`${species.name} has Steel as its Tera type, which is banned from Metronome Battle.`];
}
if (species.bst > 625) {
return [`${species.name} is banned.`, `(Pok\u00e9mon with a BST higher than 625 are banned)`];
}
const item = this.dex.items.get(set.item);
if (set.item && item.megaStone) {
const megaSpecies = this.dex.species.get(item.megaStone);
if (species.baseSpecies === item.megaEvolves && megaSpecies.bst > 625) {
return [
`${set.name || set.species}'s item ${item.name} is banned.`, `(Pok\u00e9mon with a BST higher than 625 are banned)`,
];
}
}
if (set.moves.length !== 1 || this.dex.moves.get(set.moves[0]).id !== 'metronome') {
return [`${set.name || set.species} has illegal moves.`, `(Pok\u00e9mon can only have one Metronome in their moveset)`];
}
},
},
{
name: '[Gen 8] Metronome Battle',
threads: [
`• Metronome Battle`,
],
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['Max Team Size = 2', 'HP Percentage Mod', 'Cancel Mod'],
banlist: [
'Pokestar Spirit', 'Shedinja + Sturdy', 'Battle Bond', 'Cheek Pouch', 'Cursed Body', 'Dry Skin', 'Fur Coat', 'Gorilla Tactics',
'Grassy Surge', 'Huge Power', 'Ice Body', 'Iron Barbs', 'Libero', 'Moody', 'Neutralizing Gas', 'Parental Bond', 'Perish Body', 'Poison Heal',
'Power Construct', 'Pressure', 'Protean', 'Pure Power', 'Rain Dish', 'Rough Skin', 'Sand Spit', 'Sand Stream', 'Snow Warning', 'Stamina',
'Volt Absorb', 'Water Absorb', 'Wonder Guard', 'Abomasite', 'Aguav Berry', 'Assault Vest', 'Berry', 'Berry Juice', 'Berserk Gene',
'Black Sludge', 'Enigma Berry', 'Figy Berry', 'Gold Berry', 'Iapapa Berry', 'Kangaskhanite', 'Leftovers', 'Mago Berry', 'Medichamite',
'Steel Memory', 'Oran Berry', 'Rocky Helmet', 'Shell Bell', 'Sitrus Berry', 'Wiki Berry', 'Harvest + Jaboca Berry', 'Harvest + Rowap Berry',
],
onValidateSet(set) {
const species = this.dex.species.get(set.species);
if (species.gen > 8) {
return [`${species.name} is from gen 9, which is banned from [Gen 8] Metronome Battle.`];
}
if (species.types.includes('Steel')) {
return [`${species.name} is a Steel-type, which is banned from Metronome Battle.`];
}
if (species.bst > 625) {
return [`${species.name} is banned.`, `(Pok\u00e9mon with a BST higher than 625 are banned)`];
}
const item = this.dex.items.get(set.item);
if (item.gen > 8) {
return [`${species.name} is from gen 9, which is banned from [Gen 8] Metronome Battle.`];
}
if (set.item && item.megaStone) {
const megaSpecies = this.dex.species.get(item.megaStone);
if (species.baseSpecies === item.megaEvolves && megaSpecies.bst > 625) {
return [
`${set.name || set.species}'s item ${item.name} is banned.`, `(Pok\u00e9mon with a BST higher than 625 are banned)`,
];
}
}
const ability = this.dex.abilities.get(set.ability);
if (ability.gen > 8) {
return [`${species.name} is from gen 9, which is banned from [Gen 8] Metronome Battle.`];
}
if (set.moves.length !== 1 || this.dex.moves.get(set.moves[0]).id !== 'metronome') {
return [`${set.name || set.species} has illegal moves.`, `(Pok\u00e9mon can only have one Metronome in their moveset)`];
}
},
},
// RoA Spotlight
///////////////////////////////////////////////////////////////////
{
section: "RoA Spotlight",
column: 4,
},
{
name: "[Gen 2] UU",
threads: [`• GSC UU`],
mod: 'gen2',
// searchShow: false,
ruleset: ['[Gen 2] OU'],
banlist: ['OU', 'UUBL', 'Agility + Baton Pass'],
unbanlist: ['Mean Look + Baton Pass', 'Spider Web + Baton Pass'],
},
{
name: "[Gen 4] ZU",
threads: [
`• DPP ZU`,
],
mod: 'gen4',
// searchShow: false,
ruleset: ['[Gen 4] PU'],
banlist: [
'Ampharos', 'Armaldo', 'Bellossom', 'Dragonair', 'Electabuzz', 'Gabite', 'Gastrodon', 'Glaceon', 'Glalie',
'Golduck', 'Gorebyss', 'Hippopotas', 'Kadabra', 'Kingler', 'Lapras', 'Machoke', 'Magmar', 'Mantine', 'Marowak',
'Metang', 'Misdreavus', 'Monferno', 'Mr. Mime', 'Muk', 'Murkrow', 'Pinsir', 'Politoed', 'Purugly', 'Quagsire',
'Raichu', 'Rampardos', 'Rapidash', 'Regigigas', 'Relicanth', 'Rhydon', 'Scyther', 'Sneasel', 'Snover',
'Solrock', 'Tangela', 'Torkoal', 'Victreebel', 'Xatu', 'Walrein', 'Zangoose', 'Damp Rock',
],
},
{
name: "[Gen 6] LC",
threads: [
`• ORAS LC Banlist`,
`• ORAS LC Viability Rankings`,
],
mod: 'gen6',
// searchShow: false,
ruleset: ['Standard', 'Little Cup'],
banlist: [
'Drifloon', 'Gligar', 'Meditite', 'Misdreavus', 'Murkrow', 'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Yanma',
'Baton Pass', 'Dragon Rage', 'Sonic Boom', 'Swagger',
],
},
// Past Gens OU
///////////////////////////////////////////////////////////////////
{
section: "Past Gens OU",
column: 4,
},
{
name: "[Gen 8] OU",
threads: [
`• SS OU Metagame Discussion`,
`• SS OU Sample Teams`,
`• SS OU Viability Rankings`,
],
mod: 'gen8',
ruleset: ['Standard', 'Dynamax Clause'],
banlist: ['Uber', 'AG', 'Arena Trap', 'Moody', 'Power Construct', 'Sand Veil', 'Shadow Tag', 'Snow Cloak', 'King\'s Rock', 'Baton Pass'],
},
{
name: "[Gen 7] OU",
threads: [
`• USM OU Banlist`,
`• USM OU Sample Teams`,
`• USM OU Viability Rankings`,
],
mod: 'gen7',
ruleset: ['Standard'],
banlist: ['Uber', 'Arena Trap', 'Power Construct', 'Shadow Tag', 'Baton Pass'],
},
{
name: "[Gen 6] OU",
threads: [
`• ORAS OU Banlist`,
`• ORAS OU Sample Teams`,
`• ORAS OU Viability Rankings`,
],
mod: 'gen6',
ruleset: ['Standard', 'Swagger Clause'],
banlist: ['Uber', 'Arena Trap', 'Shadow Tag', 'Soul Dew', 'Baton Pass'],
},
{
name: "[Gen 5] OU",
threads: [
`• BW2 Sample Teams`,
`• BW2 OU Viability Rankings`,
],
mod: 'gen5',
ruleset: ['Standard', 'Evasion Abilities Clause', 'Sleep Moves Clause', 'Swagger Clause', 'Gems Clause', 'Baton Pass Stat Clause'],
banlist: ['Uber', 'Arena Trap', 'Drizzle ++ Swift Swim', 'Drought ++ Chlorophyll', 'Sand Rush', 'Shadow Tag', 'King\'s Rock', 'Razor Fang', 'Soul Dew', 'Assist'],
},
{
name: "[Gen 4] OU",
threads: [
`• DPP OU Metagame Discussion`,
`• DPP Sample Teams`,
`• DPP OU Viability Rankings`,
],
mod: 'gen4',
ruleset: ['Standard', 'Freeze Clause Mod'],
banlist: ['AG', 'Uber', 'Arena Trap', 'Sand Veil', 'Swinub + Snow Cloak', 'Piloswine + Snow Cloak', 'Mamoswine + Snow Cloak', 'Soul Dew', 'Baton Pass', 'Swagger'],
},
{
name: "[Gen 3] OU",
threads: [
`• ADV Sample Teams`,
`• ADV OU Viability Rankings`,
],
mod: 'gen3',
ruleset: ['Standard', 'One Boost Passer Clause', 'Freeze Clause Mod'],
banlist: ['Uber', 'Sand Veil', 'Soundproof', 'Assist', 'Baton Pass + Block', 'Baton Pass + Mean Look', 'Baton Pass + Spider Web', 'Smeargle + Ingrain'],
},
{
name: "[Gen 2] OU",
threads: [
`• GSC Sample Teams`,
`• GSC OU Viability Rankings`,
],
mod: 'gen2',
ruleset: ['Standard'],
banlist: ['Uber', 'Mean Look + Baton Pass', 'Spider Web + Baton Pass'],
},
{
name: "[Gen 1] OU",
threads: [
`• RBY Sample Teams`,
`• RBY OU Viability Rankings`,
],
mod: 'gen1',
ruleset: ['Standard'],
banlist: ['Uber'],
},
// Past Gens Doubles OU
///////////////////////////////////////////////////////////////////
{
section: "Past Gens Doubles OU",
column: 4,
},
{
name: "[Gen 8] Doubles OU",
threads: [
`• SS Doubles OU Metagame Discussion`,
`• SS Doubles OU Sample Teams`,
`• SS Doubles OU Viability Rankings`,
],
mod: 'gen8',
gameType: 'doubles',
ruleset: ['Standard Doubles', 'Dynamax Clause', 'Swagger Clause'],
banlist: ['DUber', 'Power Construct', 'Shadow Tag'],
},
{
name: "[Gen 7] Doubles OU",
threads: [
`• USUM Doubles OU Metagame Discussion`,
`• USUM Doubles OU Viability Rankings`,
`• USUM Doubles OU Sample Teams`,
],
mod: 'gen7',
gameType: 'doubles',
ruleset: ['Standard Doubles', 'Swagger Clause'],
banlist: ['DUber', 'Power Construct', 'Eevium Z', 'Dark Void'],
},
{
name: "[Gen 6] Doubles OU",
threads: [
`• ORAS Doubles OU Discussion`,
`• ORAS Doubles OU Viability Rankings`,
`• ORAS Doubles OU Sample Teams`,
],
mod: 'gen6',
gameType: 'doubles',
ruleset: ['Standard Doubles', 'Swagger Clause'],
banlist: ['DUber', 'Soul Dew', 'Dark Void'],
},
{
name: "[Gen 5] Doubles OU",
threads: [
`• BW2 Doubles Metagame Discussion`,
`• BW2 Doubles Viability Rankings`,
`• BW2 Doubles Sample Teams`,
],
mod: 'gen5',
gameType: 'doubles',
searchShow: false,
ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
banlist: ['DUber', 'Soul Dew', 'Dark Void', 'Gravity'],
},
{
name: "[Gen 4] Doubles OU",
threads: [`• DPP Doubles`],
mod: 'gen4',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 4] OU', '!Freeze Clause Mod'],
banlist: ['Explosion'],
unbanlist: ['Garchomp', 'Latias', 'Latios', 'Manaphy', 'Mew', 'Salamence', 'Wobbuffet', 'Wynaut', 'Swagger'],
},
{
name: "[Gen 3] Doubles OU",
threads: [
`• ADV Doubles OU`,
],
mod: 'gen3',
gameType: 'doubles',
searchShow: false,
ruleset: ['Standard', '!Switch Priority Clause Mod'],
banlist: ['Uber', 'Soul Dew', 'Swagger'],
unbanlist: ['Deoxys-Defense', 'Latias', 'Wobbuffet', 'Wynaut'],
},
// Sw/Sh Singles
///////////////////////////////////////////////////////////////////
{
section: "Sw/Sh Singles",
column: 4,
},
{
name: "[Gen 8] Ubers",
threads: [
`• SS Ubers Metagame Discussion`,
`• SS Ubers Sample Teams`,
`• SS Ubers Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['Standard', 'Dynamax Clause'],
banlist: ['AG', 'Shadow Tag', 'Baton Pass'],
},
{
name: "[Gen 8] UU",
threads: [
`• UU Metagame Discussion`,
`• UU Sample Teams`,
`• UU Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['[Gen 8] OU'],
banlist: ['OU', 'UUBL', 'Light Clay'],
},
{
name: "[Gen 8] RU",
threads: [
`• RU Metagame Discussion`,
`• RU Sample Teams`,
`• RU Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['[Gen 8] UU'],
banlist: ['UU', 'RUBL'],
},
{
name: "[Gen 8] NU",
threads: [
`• NU Metagame Discussion`,
`• NU Sample Teams`,
`• NU Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['[Gen 8] RU'],
banlist: ['RU', 'NUBL', 'Drizzle', 'Drought', 'Slush Rush'],
},
{
name: "[Gen 8] PU",
threads: [
`• PU Metagame Discussion`,
`• PU Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['[Gen 8] NU'],
banlist: ['NU', 'PUBL'],
},
{
name: "[Gen 8] LC",
threads: [
`• SS LC Metagame Discussion`,
`• SS LC Sample Teams`,
`• SS LC Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['Little Cup', 'Standard', 'Dynamax Clause'],
banlist: [
'Corsola-Galar', 'Cutiefly', 'Drifloon', 'Gastly', 'Gothita', 'Magby', 'Rufflet', 'Scraggy', 'Scyther', 'Sneasel', 'Swirlix',
'Tangela', 'Vullaby', 'Vulpix-Alola', 'Woobat', 'Zigzagoon-Base', 'Chlorophyll', 'Moody', 'Baton Pass', 'Sticky Web',
],
},
{
name: "[Gen 8] Monotype",
desc: `All the Pokémon on a team must share a type.`,
threads: [
`• SS Monotype Metagame Discussion`,
`• SS Monotype Sample Teams`,
`• SS Monotype Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['Same Type Clause', 'Standard', 'Dynamax Clause'],
banlist: [
'Blaziken', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh',
'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel',
'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Urshifu-Base', 'Xerneas', 'Yveltal',
'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Moody', 'Power Construct', 'Shadow Tag', 'Damp Rock',
'Focus Band', 'King\'s Rock', 'Quick Claw', 'Smooth Rock', 'Terrain Extender', 'Acupressure', 'Baton Pass',
],
},
{
name: "[Gen 8] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• SS 1v1 Metagame Discussion`,
`• SS 1v1 Sample Teams`,
`• SS 1v1 Viability Rankings`,
],
mod: 'gen8',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'Obtainable', 'Species Clause', 'Nickname Clause', 'OHKO Clause', 'Evasion Moves Clause', 'Accuracy Moves Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Dynamax Clause', 'Endless Battle Clause',
],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Dialga', 'Dragonite', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Jirachi',
'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mew', 'Mewtwo', 'Mimikyu', 'Necrozma', 'Necrozma-Dawn-Wings',
'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza', 'Reshiram', 'Sableye', 'Snorlax', 'Solgaleo', 'Victini', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned',
'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Moody', 'Power Construct', 'Bright Powder', 'Focus Band', 'Focus Sash', 'Lax Incense', 'Quick Claw',
'Acupressure', 'Hypnosis', 'Perish Song', 'Sing',
],
},
{
name: "[Gen 8] Anything Goes",
threads: [
`• AG Metagame Discussion`,
`• AG Sample Teams`,
`• AG Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['Obtainable', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause'],
},
{
name: "[Gen 8] ZU",
desc: `The unofficial usage-based tier below PU.`,
threads: [
`• ZU Metagame Discussion`,
`• ZU Sample Teams`,
`• ZU Viability Rankings`,
],
mod: 'gen8',
// searchShow: false,
ruleset: ['[Gen 8] PU'],
banlist: [
'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Glastrier', 'Haunter', 'Magmortar', 'Magneton',
'Malamar', 'Ninjask', 'Omastar', 'Perrserker', 'Rotom-Frost', 'Turtonator', 'Vanilluxe', 'Vikavolt', 'Silvally-Dragon', 'Silvally-Ground', 'Sneasel',
'Damp Rock', 'Grassy Seed',
],
},
{
name: "[Gen 8] CAP",
threads: [
`• CAP Metagame Discussion`,
`• CAP Sample Teams`,
`• CAP Viability Rankings`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['[Gen 8] OU', '+CAP'],
banlist: ['Crucibellite'],
},
{
name: "[Gen 8] National Dex",
threads: [
`• SS National Dex Metagame Discussion`,
`• SS National Dex Sample Teams`,
`• SS National Dex Viability Rankings`,
],
mod: 'gen8',
ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Clause', 'Species Clause', 'Dynamax Clause', 'Sleep Clause Mod'],
banlist: ['ND Uber', 'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Razor Fang', 'Quick Claw', 'Baton Pass'],
},
{
name: "[Gen 8] National Dex UU",
threads: [
`• National Dex UU Metagame Discussion`,
`• National Dex UU Sample Teams`,
`• National Dex UU Viability Rankings`,
],
mod: 'gen8',
searchShow: false,
ruleset: ['[Gen 8] National Dex'],
banlist: ['ND OU', 'ND UUBL', 'Drizzle', 'Drought', 'Light Clay', 'Slowbronite'],
},
{
name: "[Gen 8] Free-For-All",
threads: [
`• SS Free-For-All`,
],
mod: 'gen8',
gameType: 'freeforall',
rated: false,
tournamentShow: false,
ruleset: ['Standard Doubles', 'Sleep Clause Mod', 'Dynamax Clause', '!Gravity Sleep Clause'],
banlist: [
'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre',
'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza',
'Reshiram', 'Solgaleo', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom',
'Zygarde-Complete', 'Moody', 'Power Construct', 'Shadow Tag', 'Acupressure', 'Aromatic Mist', 'Baton Pass', 'Coaching', 'Court Change',
'Decorate', 'Final Gambit', 'Flatter', 'Floral Healing', 'Flower Shield', 'Follow Me', 'Heal Pulse', 'Rage Powder', 'Swagger',
],
},
{
name: "[Gen 8 BDSP] OU",
threads: [
`• BDSP OU Metagame Discussion`,
`• BDSP OU Sample Teams`,
`• BDSP OU Viability Rankings`,
],
mod: 'gen8bdsp',
ruleset: ['Standard'],
banlist: ['Uber', 'Arena Trap', 'Drizzle', 'Moody', 'Sand Veil', 'Shadow Tag', 'Snow Cloak', 'King\'s Rock', 'Razor Fang', 'Baton Pass'],
},
{
name: "[Gen 8] Battle Stadium Singles",
mod: 'gen8',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer', 'Limit Two Restricted'],
restricted: ['Restricted Legendary'],
},
{
name: "[Gen 8] Custom Game",
mod: 'gen8',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// Sw/Sh Doubles
///////////////////////////////////////////////////////////////////
{
section: "Sw/Sh Doubles",
column: 5,
},
{
name: "[Gen 8] Doubles Ubers",
threads: [
`• Doubles Ubers`,
],
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['Standard Doubles', '!Gravity Sleep Clause'],
banlist: [],
},
{
name: "[Gen 8] Doubles UU",
threads: [
`• Doubles UU`,
],
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 8] Doubles OU'],
banlist: ['DOU', 'DBL'],
},
{
name: "[Gen 8] VGC 2022",
threads: [
`• VGC 2022 Metagame Discussion`,
`• VGC 2022 Sample Teams`,
`• VGC 2022 Viability Rankings`,
],
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer', 'Limit Two Restricted'],
restricted: ['Restricted Legendary'],
},
{
name: "[Gen 8] VGC 2021",
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer'],
},
{
name: "[Gen 8] VGC 2020",
mod: 'gen8dlc1',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'VGC Timer'],
},
{
name: "[Gen 8 BDSP] Doubles OU",
threads: [
`• BDSP Doubles OU`,
],
mod: 'gen8bdsp',
gameType: 'doubles',
searchShow: false,
ruleset: ['Standard Doubles'],
banlist: ['DUber', 'Dark Void'],
},
{
name: "[Gen 8 BDSP] Battle Festival Doubles",
threads: [
`• Battle Festival Doubles`,
],
mod: 'gen8bdsp',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 8'],
},
{
name: "[Gen 8] Doubles Custom Game",
mod: 'gen8',
gameType: 'doubles',
searchShow: false,
battle: {trunc: Math.trunc},
debug: true,
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// US/UM Singles
///////////////////////////////////////////////////////////////////
{
section: "US/UM Singles",
column: 5,
},
{
name: "[Gen 7] Ubers",
threads: [
`• USM Ubers`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['Standard', 'Mega Rayquaza Clause'],
banlist: ['Baton Pass'],
},
{
name: "[Gen 7] UU",
threads: [
`• USM UU Sample Teams`,
`• USM UU Viability Rankings`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] OU'],
banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
},
{
name: "[Gen 7] RU",
threads: [
`• USM RU Sample Teams`,
`• USM RU Viability Rankings`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] UU'],
banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
unbanlist: ['Drought'],
},
{
name: "[Gen 7] NU",
threads: [
`• USM NU Sample Teams`,
`• USM NU Viability Rankings`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] RU'],
banlist: ['RU', 'NUBL', 'Drought'],
},
{
name: "[Gen 7] PU",
threads: [
`• USM PU Sample Teams`,
`• USM PU Viability Rankings`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] NU'],
banlist: ['NU', 'PUBL'],
},
{
name: "[Gen 7] LC",
threads: [
`• USM LC Banlist`,
`• USM LC Sample Teams`,
`• USM LC Viability Rankings`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['Little Cup', 'Standard', 'Swagger Clause'],
banlist: [
'Aipom', 'Cutiefly', 'Drifloon', 'Gligar', 'Gothita', 'Meditite', 'Misdreavus', 'Murkrow', 'Porygon',
'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Trapinch', 'Vulpix-Base', 'Wingull', 'Yanma',
'Eevium Z', 'Baton Pass', 'Dragon Rage', 'Sonic Boom', 'Sticky Web',
],
},
{
name: "[Gen 7] Monotype",
desc: `All the Pokémon on a team must share a type.`,
threads: [
`• USM Monotype`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['Same Type Clause', 'Standard', 'Swagger Clause'],
banlist: [
'Aegislash', 'Arceus', 'Blaziken', 'Darkrai', 'Deoxys-Base', 'Deoxys-Attack', 'Dialga', 'Genesect', 'Gengar-Mega', 'Giratina', 'Giratina-Origin',
'Groudon', 'Ho-Oh', 'Hoopa-Unbound', 'Kangaskhan-Mega', 'Kartana', 'Kyogre', 'Kyurem-White', 'Lucario-Mega', 'Lugia', 'Lunala', 'Magearna',
'Marshadow', 'Mawile-Mega', 'Medicham-Mega', 'Metagross-Mega', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia',
'Pheromosa', 'Rayquaza', 'Reshiram', 'Salamence-Mega', 'Shaymin-Sky', 'Solgaleo', 'Tapu Lele', 'Xerneas', 'Yveltal', 'Zekrom', 'Zygarde',
'Battle Bond', 'Shadow Tag', 'Damp Rock', 'Focus Band', 'King\'s Rock', 'Quick Claw', 'Razor Fang', 'Smooth Rock', 'Terrain Extender', 'Baton Pass',
],
},
{
name: "[Gen 7] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• USUM 1v1`,
],
mod: 'gen7',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'Obtainable', 'Species Clause', 'Nickname Clause', 'OHKO Clause', 'Swagger Clause', 'Evasion Moves Clause', 'Accuracy Moves Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause',
],
banlist: [
'Arceus', 'Darkrai', 'Deoxys-Base', 'Deoxys-Attack', 'Deoxys-Defense', 'Dialga', 'Giratina', 'Giratina-Origin', 'Groudon',
'Ho-Oh', 'Kangaskhan-Mega', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Marshadow', 'Mew', 'Mewtwo',
'Mimikyu', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza', 'Reshiram', 'Salamence-Mega', 'Shaymin-Sky',
'Snorlax', 'Solgaleo', 'Tapu Koko', 'Xerneas', 'Yveltal', 'Zekrom', 'Moody', 'Focus Sash', 'Grass Whistle', 'Hypnosis',
'Perish Song', 'Sing', 'Detect + Fightinium Z',
],
},
{
name: "[Gen 7] Anything Goes",
threads: [
`• Anything Goes Metagame Discussion`,
`• Anything Goes Viability Rankings`,
`• Anything Goes Sample Teams`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['Obtainable', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause'],
},
{
name: "[Gen 7] ZU",
desc: `The unofficial usage-based tier below PU.`,
threads: [
`• ZU Metagame Discussion`,
`• ZU Viability Rankings`,
`• ZU Sample Teams`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] PU'],
banlist: [
'PU', 'Carracosta', 'Crabominable', 'Exeggutor-Base', 'Gorebyss', 'Jynx', 'Raticate-Alola',
'Shiftry', 'Throh', 'Turtonator', 'Type: Null', 'Ursaring', 'Victreebel',
],
},
{
name: "[Gen 7] CAP",
threads: [
`• USUM CAP Metagame Discussion`,
`• USUM CAP Viability Rankings`,
`• USUM CAP Sample Teams`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['[Gen 7] OU', '+CAP'],
},
{
name: "[Gen 7] Battle Spot Singles",
threads: [
`• Introduction to Battle Spot Singles`,
`• Battle Spot Singles Viability Rankings`,
`• Battle Spot Singles Role Compendium`,
`• Battle Spot Singles Sample Teams`,
],
mod: 'gen7',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
banlist: ['Battle Bond'],
},
{
name: "[Gen 7 Let's Go] OU",
threads: [
`• LGPE OU Metagame Discussion`,
`• LGPE OU Viability Rankings`,
],
mod: 'gen7letsgo',
searchShow: false,
ruleset: ['Adjust Level = 50', 'Obtainable', 'Species Clause', 'Nickname Clause', 'OHKO Clause', 'Evasion Moves Clause', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
banlist: ['Uber'],
},
{
name: "[Gen 7] Custom Game",
mod: 'gen7',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// US/UM Doubles
///////////////////////////////////////////////////////////////////
{
section: "US/UM Doubles",
column: 5,
},
{
name: "[Gen 7] Doubles UU",
threads: [`• Doubles UU Metagame Discussion`],
mod: 'gen7',
gameType: 'doubles',
searchShow: false,
ruleset: ['[Gen 7] Doubles OU'],
banlist: ['DOU', 'DBL'],
},
{
name: "[Gen 7] VGC 2019",
threads: [
`• VGC 2019 Discussion`,
`• VGC 2019 Viability Rankings`,
],
mod: 'gen7',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 7', 'VGC Timer', 'Limit Two Restricted'],
restricted: ['Restricted Legendary'],
banlist: ['Unown', 'Battle Bond'],
},
{
name: "[Gen 7] VGC 2018",
threads: [
`• VGC 2018 Discussion`,
`• VGC 2018 Viability Rankings`,
`• VGC 2018 Sample Teams`,
],
mod: 'gen7',
gameType: 'doubles',
searchShow: false,
timer: {
starting: 5 * 60,
addPerTurn: 0,
maxPerTurn: 55,
maxFirstTurn: 90,
grace: 90,
timeoutAutoChoose: true,
dcTimerBank: false,
},
ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 7'],
banlist: ['Oranguru + Symbiosis', 'Passimian + Defiant', 'Unown', 'Custap Berry', 'Enigma Berry', 'Jaboca Berry', 'Micle Berry', 'Rowap Berry', 'Battle Bond'],
},
{
name: "[Gen 7] VGC 2017",
threads: [
`• VGC 2017 Discussion`,
`• VGC 2017 Viability Rankings`,
`• VGC 2017 Sample Teams`,
],
mod: 'gen7sm',
gameType: 'doubles',
searchShow: false,
timer: {
starting: 15 * 60,
addPerTurn: 0,
maxPerTurn: 55,
maxFirstTurn: 90,
grace: 90,
timeoutAutoChoose: true,
dcTimerBank: false,
},
ruleset: ['Flat Rules', 'Old Alola Pokedex', '!! Adjust Level = 50', 'Min Source Gen = 7'],
banlist: ['Mega', 'Custap Berry', 'Enigma Berry', 'Jaboca Berry', 'Micle Berry', 'Rowap Berry'],
},
{
name: "[Gen 7] Battle Spot Doubles",
threads: [
`• Battle Spot Doubles Discussion`,
`• Battle Spot Doubles Viability Rankings`,
`• Battle Spot Doubles Sample Teams`,
],
mod: 'gen7',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
banlist: ['Battle Bond'],
},
{
name: "[Gen 7] Doubles Custom Game",
mod: 'gen7',
gameType: 'doubles',
searchShow: false,
battle: {trunc: Math.trunc},
debug: true,
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// OR/AS Singles
///////////////////////////////////////////////////////////////////
{
section: "OR/AS Singles",
column: 6,
},
{
name: "[Gen 6] Ubers",
threads: [
`• ORAS Ubers`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['Standard', 'Swagger Clause', 'Mega Rayquaza Clause'],
},
{
name: "[Gen 6] UU",
threads: [
`• ORAS UU Banlist`,
`• ORAS UU Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] OU'],
banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
},
{
name: "[Gen 6] RU",
threads: [
`• ORAS RU Banlist`,
`• ORAS RU Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] UU'],
banlist: ['UU', 'RUBL'],
},
{
name: "[Gen 6] NU",
threads: [
`• ORAS NU Banlist`,
`• ORAS NU Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] RU'],
banlist: ['RU', 'NUBL'],
},
{
name: "[Gen 6] PU",
threads: [
`• ORAS PU Banlist`,
`• ORAS PU Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] NU'],
banlist: ['NU', 'PUBL', 'Chatter'],
},
{
name: "[Gen 6] Monotype",
desc: `All the Pokémon on a team must share a type.`,
threads: [
`• ORAS Monotype`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['Standard', 'Swagger Clause', 'Same Type Clause'],
banlist: [
'Aegislash', 'Altaria-Mega', 'Arceus', 'Blaziken', 'Darkrai', 'Deoxys-Base', 'Deoxys-Attack', 'Deoxys-Speed', 'Dialga', 'Genesect',
'Gengar-Mega', 'Giratina', 'Giratina-Origin', 'Greninja', 'Groudon', 'Ho-Oh', 'Hoopa-Unbound', 'Kangaskhan-Mega', 'Kyogre', 'Kyurem-White',
'Lucario-Mega', 'Lugia', 'Mawile-Mega', 'Medicham-Mega', 'Metagross-Mega', 'Mewtwo', 'Palkia', 'Rayquaza', 'Reshiram', 'Sableye-Mega',
'Salamence-Mega', 'Shaymin-Sky', 'Slowbro-Mega', 'Talonflame', 'Xerneas', 'Yveltal', 'Zekrom',
'Shadow Tag', 'Damp Rock', 'Focus Band', 'King\'s Rock', 'Quick Claw', 'Razor Fang', 'Smooth Rock', 'Soul Dew', 'Baton Pass',
],
},
{
name: "[Gen 6] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• ORAS 1v1`,
],
mod: 'gen6',
searchShow: false,
ruleset: [
'Max Team Size = 3', 'Picked Team Size = 1', 'Obtainable', 'Nickname Clause', 'Moody Clause', 'OHKO Clause',
'Evasion Moves Clause', 'Accuracy Moves Clause', 'Swagger Clause', 'Endless Battle Clause', 'HP Percentage Mod',
'Cancel Mod', 'Team Preview',
],
banlist: [
'Arceus', 'Blaziken', 'Darkrai', 'Deoxys-Base', 'Deoxys-Attack', 'Deoxys-Defense', 'Dialga', 'Giratina',
'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kangaskhan-Mega', 'Kyogre', 'Kyurem-White', 'Lugia', 'Mewtwo',
'Palkia', 'Rayquaza', 'Reshiram', 'Salamence-Mega', 'Shaymin-Sky', 'Snorlax', 'Xerneas', 'Yveltal',
'Zekrom', 'Focus Sash', 'Soul Dew', 'Grass Whistle', 'Hypnosis', 'Perish Song', 'Sing', 'Yawn',
],
},
{
name: "[Gen 6] Anything Goes",
threads: [
`• ORAS Anything Goes`,
`• ORAS AG Resources`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['Obtainable', 'Team Preview', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 6] ZU",
threads: [
`• ORAS ZU Banlist`,
`• ORAS ZU Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] PU'],
banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
},
{
name: "[Gen 6] CAP",
threads: [
`• ORAS CAP Metagame Discussion`,
`• ORAS CAP Sample Teams`,
`• ORAS CAP Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['[Gen 6] OU', '+CAP'],
banlist: ['Cawmodore'],
},
{
name: "[Gen 6] Battle Spot Singles",
threads: [
`• ORAS Battle Spot Singles`,
`• ORAS BSS Viability Rankings`,
],
mod: 'gen6',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
banlist: ['Soul Dew'],
},
{
name: "[Gen 6] Custom Game",
mod: 'gen6',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// OR/AS Doubles/Triples
///////////////////////////////////////////////////////////////////
{
section: "OR/AS Doubles/Triples",
column: 6,
},
{
name: "[Gen 6] VGC 2016",
threads: [
`• VGC 2016 Rules`,
`• VGC 2016 Viability Rankings`,
],
mod: 'gen6',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6', 'Limit Two Restricted'],
restricted: ['Restricted Legendary'],
banlist: ['Soul Dew'],
},
{
name: "[Gen 6] VGC 2015",
threads: [
`• VGC 2015 Rules`,
`• ORAS Battle Spot Doubles Discussion`,
`• VGC 2015 Viability Rankings`,
],
mod: 'gen6',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
banlist: ['Soul Dew', 'Articuno + Snow Cloak', 'Zapdos + Static', 'Moltres + Flame Body', 'Dragonite + Barrier'],
},
{
name: "[Gen 6] VGC 2014",
threads: [
`• VGC 2014 Rules`,
`• VGC 2014 Viability Rankings`,
],
mod: 'gen6xy',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Kalos Pokedex', 'Min Source Gen = 6'],
},
{
name: "[Gen 6] Battle Spot Doubles",
threads: [
`• ORAS Battle Spot Doubles Discussion`,
`• ORAS BSD Viability Rankings`,
],
mod: 'gen6',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
banlist: ['Soul Dew'],
},
{
name: "[Gen 6] Doubles Custom Game",
mod: 'gen6',
gameType: 'doubles',
searchShow: false,
battle: {trunc: Math.trunc},
debug: true,
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
{
name: "[Gen 6] Battle Spot Triples",
threads: [
`• ORAS Battle Spot Triples Discussion`,
`• ORAS BST Viability Rankings`,
],
mod: 'gen6',
gameType: 'triples',
searchShow: false,
ruleset: ['Flat Rules', 'Min Source Gen = 6'],
},
{
name: "[Gen 6] Triples Custom Game",
mod: 'gen6',
gameType: 'triples',
searchShow: false,
battle: {trunc: Math.trunc},
debug: true,
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// B2/W2 Singles
///////////////////////////////////////////////////////////////////
{
section: "B2/W2 Singles",
column: 6,
},
{
name: "[Gen 5] Ubers",
threads: [
`• BW2 Ubers`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['Standard', 'Sleep Clause Mod'],
},
{
name: "[Gen 5] UU",
threads: [
`• BW2 UU Viability Rankings`,
`• BW2 Sample Teams`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
banlist: ['Uber', 'OU', 'UUBL', 'Arena Trap', 'Drought', 'Sand Stream', 'Snow Warning', 'Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
},
{
name: "[Gen 5] RU",
threads: [
`• BW2 Sample Teams`,
`• BW2 RU Viability Rankings`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] UU', 'Baton Pass Clause', '!Sleep Clause Mod', 'Sleep Moves Clause'],
banlist: ['UU', 'RUBL', 'Shadow Tag', 'Shell Smash + Baton Pass'],
unbanlist: ['Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
},
{
name: "[Gen 5] NU",
threads: [
`• BW2 Sample Teams`,
`• BW2 NU Viability Rankings`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] RU', '!Sleep Moves Clause', 'Sleep Clause Mod'],
banlist: ['RU', 'NUBL', 'Assist', 'Copycat'],
},
{
name: "[Gen 5] PU",
threads: [
`• BW2 PU`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] NU', 'Sleep Moves Clause'],
banlist: ['NU', 'PUBL', 'Damp Rock'],
},
{
name: "[Gen 5] LC",
threads: [
`• BW2 Sample Teams`,
`• BW2 LC Viability Rankings`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['Standard', 'Little Cup', 'Sleep Moves Clause'],
banlist: [
'Gligar', 'Meditite', 'Misdreavus', 'Murkrow', 'Scraggy', 'Scyther', 'Sneasel', 'Tangela', 'Vulpix', 'Yanma',
'Sand Rush', 'Sand Veil', 'Berry Juice', 'Soul Dew', 'Baton Pass', 'Dragon Rage', 'Sonic Boom', 'Swagger',
],
},
{
name: "[Gen 5] Monotype",
desc: `All the Pokémon on a team must share a type.`,
threads: [
`• BW2 Monotype`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] OU', 'Same Type Clause', '!Gems Clause'],
banlist: ['Latios'],
},
{
name: "[Gen 5] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• BW2 1v1`,
],
mod: 'gen5',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'Standard', 'Baton Pass Clause', 'Swagger Clause', 'Accuracy Moves Clause', 'Sleep Moves Clause',
],
banlist: ['Uber', 'Cottonee', 'Dragonite', 'Jirachi', 'Kyurem-Black', 'Mew', 'Togekiss', 'Whimsicott', 'Victini', 'Focus Band', 'Focus Sash', 'Quick Claw', 'Soul Dew', 'Perish Song'],
unbanlist: ['Genesect', 'Landorus', 'Manaphy', 'Thundurus', 'Tornadus-Therian'],
},
{
name: "[Gen 5] ZU",
threads: [
`• BW2 ZU`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] PU'],
banlist: ['PU', 'Articuno', 'Dragonair', 'Glalie', 'Machoke', 'Marowak', 'Omanyte', 'Regigigas', 'Trubbish', 'Whirlipede', 'Baton Pass'],
unbanlist: ['Damp Rock'],
},
{
name: "[Gen 5] CAP",
threads: [
`• BW2 CAP Viability Rankings`,
`• BW2 CAP Sample Teams`,
],
mod: 'gen5',
searchShow: false,
ruleset: ['[Gen 5] OU', '+CAP'],
banlist: ['Aurumoth', 'Cawmodore'],
},
{
name: "[Gen 5] GBU Singles",
mod: 'gen5',
searchShow: false,
ruleset: ['Flat Rules'],
banlist: ['Dark Void', 'Sky Drop', 'Soul Dew'],
},
{
name: "[Gen 5] Custom Game",
mod: 'gen5',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// B2/W2 Doubles
///////////////////////////////////////////////////////////////////
{
section: 'B2/W2 Doubles',
column: 6,
},
{
name: "[Gen 5] VGC 2013",
mod: 'gen5',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules'],
banlist: ['Chatot', 'Dark Void', 'Sky Drop', 'Soul Dew'],
},
{
name: "[Gen 5] VGC 2012",
mod: 'gen5bw1',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules'],
banlist: ['Dark Void', 'Sky Drop'],
},
{
name: "[Gen 5] VGC 2011",
mod: 'gen5bw1',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Old Unova Pokedex'],
banlist: ['Sky Drop', 'Belue Berry', 'Durin Berry', 'Nomel Berry', 'Rabuta Berry', 'Spelon Berry', 'Watmel Berry'],
},
{
name: "[Gen 5] Doubles Custom Game",
mod: 'gen5',
gameType: 'doubles',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
{
name: "[Gen 5] Triples Custom Game",
mod: 'gen5',
gameType: 'triples',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions, for serious (other than team preview)
ruleset: ['Team Preview', 'Cancel Mod'],
},
// DPP Singles
///////////////////////////////////////////////////////////////////
{
section: "DPP Singles",
column: 7,
},
{
name: "[Gen 4] Ubers",
threads: [
`• DPP Ubers`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['Standard'],
banlist: ['AG'],
},
{
name: "[Gen 4] UU",
threads: [
`• DPP UU Metagame Discussion`,
`• DPP UU Viability Rankings`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['[Gen 4] OU', '!Freeze Clause Mod'],
banlist: ['OU', 'UUBL'],
unbanlist: ['Arena Trap', 'Swagger'],
},
{
name: "[Gen 4] NU",
threads: [
`• DPP NU Metagame Discussion`,
`• DPP NU Viability Rankings`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['[Gen 4] UU', 'Baton Pass Clause'],
banlist: ['UU', 'NUBL'],
unbanlist: ['Sand Veil', 'Baton Pass'],
},
{
name: "[Gen 4] PU",
threads: [
`• DPP PU`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['[Gen 4] NU'],
banlist: [
'Articuno', 'Cacturne', 'Charizard', 'Cradily', 'Dodrio', 'Drifblim', 'Dusclops', 'Electrode',
'Floatzel', 'Gardevoir', 'Gligar', 'Golem', 'Grumpig', 'Haunter', 'Hitmonchan', 'Hypno', 'Jumpluff',
'Jynx', 'Lickilicky', 'Linoone', 'Magmortar', 'Magneton', 'Manectric', 'Medicham', 'Meganium', 'Nidoqueen',
'Ninetales', 'Piloswine', 'Poliwrath', 'Porygon2', 'Regice', 'Regirock', 'Roselia', 'Sandslash',
'Sharpedo', 'Shiftry', 'Skuntank', 'Slowking', 'Tauros', 'Typhlosion', 'Venomoth', 'Vileplume',
],
},
{
name: "[Gen 4] LC",
threads: [
`• DPP LC Guide`,
`• DPP LC Viability Rankings`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['Standard', 'Little Cup', 'Sleep Moves Clause'],
banlist: [
'Meditite', 'Misdreavus', 'Murkrow', 'Scyther', 'Sneasel', 'Tangela', 'Yanma',
'Berry Juice', 'Deep Sea Tooth', 'Dragon Rage', 'Sonic Boom', 'Swagger',
],
},
{
name: "[Gen 4] Anything Goes",
mod: 'gen4',
searchShow: false,
ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
},
{
name: "[Gen 4] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• DPP 1v1`,
],
mod: 'gen4',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'[Gen 4] OU', 'Accuracy Moves Clause', 'Sleep Moves Clause', 'Team Preview', '!Freeze Clause Mod',
],
banlist: ['Latias', 'Machamp', 'Porygon-Z', 'Shaymin', 'Snorlax', 'Togekiss', 'Focus Sash', 'Destiny Bond', 'Explosion', 'Perish Song', 'Self-Destruct'],
unbanlist: ['Wobbuffet', 'Wynaut', 'Sand Veil', 'Swagger'],
},
{
name: "[Gen 4] CAP",
threads: [
`• DPP CAP Viability Rankings`,
`• DPP CAP Sample Teams`,
],
mod: 'gen4',
searchShow: false,
ruleset: ['[Gen 4] OU', '+CAP'],
},
{
name: "[Gen 4] Custom Game",
mod: 'gen4',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions
ruleset: ['Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// DPP Doubles
///////////////////////////////////////////////////////////////////
{
section: "DPP Doubles",
column: 7,
},
{
name: "[Gen 4] VGC 2010",
mod: 'gen4',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', 'Max Team Size = 4', 'Limit Two Restricted'],
restricted: ['Restricted Legendary'],
banlist: ['Soul Dew'],
},
{
name: "[Gen 4] VGC 2009",
mod: 'gen4pt',
gameType: 'doubles',
searchShow: false,
ruleset: ['Flat Rules', '! Adjust Level Down', 'Max Level = 50', 'Max Team Size = 4'],
banlist: ['Tyranitar', 'Rotom', 'Judgment', 'Soul Dew'],
},
{
name: "[Gen 4] Doubles Custom Game",
mod: 'gen4',
gameType: 'doubles',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
// no restrictions
ruleset: ['Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
// Past Generations
///////////////////////////////////////////////////////////////////
{
section: "Past Generations",
column: 7,
},
{
name: "[Gen 3] Ubers",
threads: [
`• ADV Ubers`,
],
mod: 'gen3',
searchShow: false,
ruleset: ['Standard', 'Deoxys Camouflage Clause', 'One Baton Pass Clause'],
banlist: ['Wobbuffet + Leftovers'],
},
{
name: "[Gen 3] UU",
threads: [
`• ADV UU Metagame Discussion`,
`• ADV UU Viability Rankings`,
],
mod: 'gen3',
searchShow: false,
ruleset: ['Standard'],
banlist: ['Uber', 'OU', 'UUBL', 'Smeargle + Ingrain', 'Arena Trap', 'Baton Pass', 'Swagger'],
},
{
name: "[Gen 3] NU",
threads: [
`• ADV NU Viability Rankings`,
],
mod: 'gen3',
searchShow: false,
ruleset: ['Standard'],
banlist: ['Uber', 'OU', 'UUBL', 'UU', 'Smeargle + Ingrain'],
},
{
name: "[Gen 3] PU",
threads: [
`• ADV PU`,
],
mod: 'gen3',
searchShow: false,
ruleset: ['Standard'],
banlist: ['Uber', 'OU', 'UUBL', 'UU', 'NUBL', 'NU'],
},
{
name: "[Gen 3] 1v1",
desc: `Bring three Pokémon to Team Preview and choose one to battle.`,
threads: [
`• ADV 1v1`,
],
mod: 'gen3',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'[Gen 3] OU', 'Accuracy Moves Clause', 'Sleep Moves Clause', 'Team Preview', '!Freeze Clause Mod',
],
banlist: [
'Clefable', 'Slaking', 'Snorlax', 'Suicune', 'Zapdos', 'Destiny Bond', 'Explosion', 'Ingrain', 'Perish Song',
'Self-Destruct', 'Focus Band', 'King\'s Rock', 'Quick Claw',
],
unbanlist: ['Mr. Mime', 'Wobbuffet', 'Wynaut', 'Sand Veil', 'Soundproof'],
},
{
name: "[Gen 3] Custom Game",
mod: 'gen3',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
{
name: "[Gen 3] Doubles Custom Game",
mod: 'gen3',
gameType: 'doubles',
searchShow: false,
debug: true,
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
{
name: "[Gen 2] Ubers",
threads: [
`• GSC Ubers`,
],
mod: 'gen2',
searchShow: false,
ruleset: ['Standard'],
},
{
name: "[Gen 2] NU",
threads: [`• GSC NU`],
mod: 'gen2',
searchShow: false,
ruleset: ['[Gen 2] UU'],
banlist: ['UU', 'NUBL'],
unbanlist: ['Agility + Baton Pass'],
},
{
name: "[Gen 2] 1v1",
threads: [`• GSC 1v1`],
mod: 'gen2',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'[Gen 2] OU', 'Accuracy Moves Clause', 'Sleep Moves Clause', 'Team Preview',
],
banlist: [
'Alakazam', 'Clefable', 'Snorlax', 'Zapdos', 'Berserk Gene', 'Focus Band', 'King\'s Rock', 'Quick Claw',
'Attract', 'Destiny Bond', 'Explosion', 'Perish Song', 'Present', 'Self-Destruct', 'Swagger',
],
},
{
name: "[Gen 2] Nintendo Cup 2000",
threads: [
`• Nintendo Cup 2000 Resource Hub`,
`• Differences between Nintendo Cup 2000 and GSC OU`,
],
mod: 'gen2stadium2',
searchShow: false,
ruleset: [
'Picked Team Size = 3', 'Min Level = 50', 'Max Level = 55', 'Max Total Level = 155',
'Obtainable', 'Stadium Sleep Clause', 'Freeze Clause Mod', 'Species Clause', 'Item Clause', 'Endless Battle Clause', 'Cancel Mod', 'Event Moves Clause', 'Nickname Clause', 'Team Preview', 'Nintendo Cup 2000 Move Legality',
],
banlist: ['Uber'],
},
{
name: "[Gen 2] Stadium OU",
threads: [
`• Placeholder`,
],
mod: 'gen2stadium2',
searchShow: false,
ruleset: ['Standard'],
banlist: ['Uber'],
},
{
name: "[Gen 2] Custom Game",
mod: 'gen2',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
{
name: "[Gen 1] Ubers",
threads: [
`• RBY Ubers`,
],
mod: 'gen1',
searchShow: false,
ruleset: ['Standard'],
},
{
name: "[Gen 1] UU",
threads: [
`• RBY UU Metagame Discussion`,
`• RBY UU Viability Rankings`,
],
mod: 'gen1',
searchShow: false,
ruleset: ['[Gen 1] OU', 'APT Clause', 'Sleep Moves Clause'],
banlist: ['OU', 'UUBL'],
},
{
name: "[Gen 1] NU",
threads: [
`• RBY NU Metagame Discussion & Resources`,
],
mod: 'gen1',
searchShow: false,
ruleset: ['[Gen 1] UU', '!APT Clause', '!Sleep Moves Clause'],
banlist: ['UU', 'NUBL'],
},
{
name: "[Gen 1] PU",
threads: [
`• RBY PU Metagame Discussion & Resources`,
],
mod: 'gen1',
searchShow: false,
ruleset: ['[Gen 1] NU'],
banlist: ['NU', 'PUBL'],
},
{
name: "[Gen 1] 1v1",
threads: [
`• RBY 1v1`,
],
mod: 'gen1',
searchShow: false,
ruleset: [
'Picked Team Size = 1', 'Max Team Size = 3',
'[Gen 1] OU', 'Accuracy Moves Clause', 'Sleep Moves Clause', 'Team Preview',
],
banlist: ['Bind', 'Clamp', 'Explosion', 'Fire Spin', 'Self-Destruct', 'Wrap'],
},
{
name: "[Gen 1] Japanese OU",
desc: `Generation 1 with Japanese battle mechanics.`,
mod: 'gen1jpn',
searchShow: false,
ruleset: ['Standard'],
banlist: ['Uber'],
},
{
name: "[Gen 1] Nintendo Cup 1997",
threads: [
`• Nintendo Cup 1997 Discussion & Resources`,
],
mod: 'gen1jpn',
searchShow: false,
ruleset: [
'Picked Team Size = 3', 'Min Level = 50', 'Max Level = 55', 'Max Total Level = 155',
'Obtainable', 'Team Preview', 'Stadium Sleep Clause', 'Species Clause', 'Nickname Clause', 'HP Percentage Mod', 'Cancel Mod', 'Nintendo Cup 1997 Move Legality',
],
banlist: ['Uber'],
},
{
name: "[Gen 1] Stadium OU",
threads: [
`• Stadium OU Viability Rankings`,
],
mod: 'gen1stadium',
searchShow: false,
ruleset: ['Standard', 'Team Preview'],
banlist: ['Uber',
'Nidoking + Fury Attack + Thrash', 'Exeggutor + Poison Powder + Stomp', 'Exeggutor + Sleep Powder + Stomp',
'Exeggutor + Stun Spore + Stomp', 'Jolteon + Focus Energy + Thunder Shock', 'Flareon + Focus Energy + Ember',
],
},
{
name: "[Gen 1] Tradebacks OU",
desc: `RBY OU with movepool additions from the Time Capsule.`,
threads: [
`• RBY Tradebacks OU`,
],
mod: 'gen1',
searchShow: false,
ruleset: ['[Gen 1] OU', 'Allow Tradeback'],
},
{
name: "[Gen 1] Custom Game",
mod: 'gen1',
searchShow: false,
debug: true,
battle: {trunc: Math.trunc},
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Desync Clause Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
},
];