diff --git a/config/formats.ts b/config/formats.ts index 23bbb09d1840..1e7741b3e6db 100644 --- a/config/formats.ts +++ b/config/formats.ts @@ -311,7 +311,7 @@ export const Formats: FormatList = [ `• VGC 2020 Sample Teams`, ], - mod: 'vgc20', + mod: 'gen8dlc1', gameType: 'doubles', forcedLevel: 50, teamLength: { diff --git a/data/mods/gen8dlc1/abilities.ts b/data/mods/gen8dlc1/abilities.ts new file mode 100644 index 000000000000..206e4b6a85a7 --- /dev/null +++ b/data/mods/gen8dlc1/abilities.ts @@ -0,0 +1,30 @@ +export const Abilities: {[k: string]: ModdedAbilityData} = { + asoneglastrier: { + inherit: true, + isNonstandard: "Unobtainable", + }, + asonespectrier: { + inherit: true, + isNonstandard: "Unobtainable", + }, + chillingneigh: { + inherit: true, + isNonstandard: "Unobtainable", + }, + curiousmedicine: { + inherit: true, + isNonstandard: "Unobtainable", + }, + dragonsmaw: { + inherit: true, + isNonstandard: "Unobtainable", + }, + grimneigh: { + inherit: true, + isNonstandard: "Unobtainable", + }, + transistor: { + inherit: true, + isNonstandard: "Unobtainable", + }, +}; diff --git a/data/mods/vgc20/formats-data.ts b/data/mods/gen8dlc1/formats-data.ts similarity index 100% rename from data/mods/vgc20/formats-data.ts rename to data/mods/gen8dlc1/formats-data.ts diff --git a/data/mods/gen8dlc1/items.ts b/data/mods/gen8dlc1/items.ts new file mode 100644 index 000000000000..4eb5814d867c --- /dev/null +++ b/data/mods/gen8dlc1/items.ts @@ -0,0 +1,50 @@ +export const Items: {[k: string]: ModdedItemData} = { + adamantorb: { + inherit: true, + isNonstandard: "Unobtainable", + }, + burndrive: { + inherit: true, + isNonstandard: "Unobtainable", + }, + chilldrive: { + inherit: true, + isNonstandard: "Unobtainable", + }, + custapberry: { + inherit: true, + isNonstandard: "Unobtainable", + }, + dousedrive: { + inherit: true, + isNonstandard: "Unobtainable", + }, + enigmaberry: { + inherit: true, + isNonstandard: "Unobtainable", + }, + griseousorb: { + inherit: true, + isNonstandard: "Unobtainable", + }, + jabocaberry: { + inherit: true, + isNonstandard: "Unobtainable", + }, + lustrousorb: { + inherit: true, + isNonstandard: "Unobtainable", + }, + rowapberry: { + inherit: true, + isNonstandard: "Unobtainable", + }, + shockdrive: { + inherit: true, + isNonstandard: "Unobtainable", + }, + souldew: { + inherit: true, + isNonstandard: "Unobtainable", + }, +}; diff --git a/data/mods/vgc20/learnsets.ts b/data/mods/gen8dlc1/learnsets.ts similarity index 100% rename from data/mods/vgc20/learnsets.ts rename to data/mods/gen8dlc1/learnsets.ts diff --git a/data/mods/gen8dlc1/moves.ts b/data/mods/gen8dlc1/moves.ts new file mode 100644 index 000000000000..0c45c7526e07 --- /dev/null +++ b/data/mods/gen8dlc1/moves.ts @@ -0,0 +1,138 @@ +export const Moves: {[k: string]: ModdedMoveData} = { + aeroblast: { + inherit: true, + isNonstandard: "Unobtainable", + }, + astralbarrage: { + inherit: true, + isNonstandard: "Unobtainable", + }, + coreenforcer: { + inherit: true, + isNonstandard: "Unobtainable", + }, + crushgrip: { + inherit: true, + isNonstandard: "Unobtainable", + }, + diamondstorm: { + inherit: true, + isNonstandard: "Unobtainable", + }, + dragonascent: { + inherit: true, + isNonstandard: "Unobtainable", + }, + dragonenergy: { + inherit: true, + isNonstandard: "Unobtainable", + }, + eeriespell: { + inherit: true, + isNonstandard: "Unobtainable", + }, + fierywrath: { + inherit: true, + isNonstandard: "Unobtainable", + }, + freezingglare: { + inherit: true, + isNonstandard: "Unobtainable", + }, + geomancy: { + inherit: true, + isNonstandard: "Unobtainable", + }, + glaciallance: { + inherit: true, + isNonstandard: "Unobtainable", + }, + landswrath: { + inherit: true, + isNonstandard: "Unobtainable", + }, + lovelykiss: { + inherit: true, + isNonstandard: "Unobtainable", + }, + lunardance: { + inherit: true, + isNonstandard: "Unobtainable", + }, + lusterpurge: { + inherit: true, + isNonstandard: "Unobtainable", + }, + magmastorm: { + inherit: true, + isNonstandard: "Unobtainable", + }, + mindblown: { + inherit: true, + isNonstandard: "Unobtainable", + }, + mistball: { + inherit: true, + isNonstandard: "Unobtainable", + }, + naturesmadness: { + inherit: true, + isNonstandard: "Unobtainable", + }, + oblivionwing: { + inherit: true, + isNonstandard: "Unobtainable", + }, + originpulse: { + inherit: true, + isNonstandard: "Unobtainable", + }, + precipiceblades: { + inherit: true, + isNonstandard: "Unobtainable", + }, + roaroftime: { + inherit: true, + isNonstandard: "Unobtainable", + }, + sacredfire: { + inherit: true, + isNonstandard: "Unobtainable", + }, + searingshot: { + inherit: true, + isNonstandard: "Unobtainable", + }, + shadowforce: { + inherit: true, + isNonstandard: "Unobtainable", + }, + spacialrend: { + inherit: true, + isNonstandard: "Unobtainable", + }, + steameruption: { + inherit: true, + isNonstandard: "Unobtainable", + }, + technoblast: { + inherit: true, + isNonstandard: "Unobtainable", + }, + thousandarrows: { + inherit: true, + isNonstandard: "Unobtainable", + }, + thousandwaves: { + inherit: true, + isNonstandard: "Unobtainable", + }, + thundercage: { + inherit: true, + isNonstandard: "Unobtainable", + }, + thunderouskick: { + inherit: true, + isNonstandard: "Unobtainable", + }, +}; diff --git a/data/mods/vgc20/pokedex.ts b/data/mods/gen8dlc1/pokedex.ts similarity index 100% rename from data/mods/vgc20/pokedex.ts rename to data/mods/gen8dlc1/pokedex.ts diff --git a/data/mods/vgc20/scripts.ts b/data/mods/gen8dlc1/scripts.ts similarity index 100% rename from data/mods/vgc20/scripts.ts rename to data/mods/gen8dlc1/scripts.ts diff --git a/sim/team-validator.ts b/sim/team-validator.ts index 493ebc3a4eda..3ffe035bf4f4 100644 --- a/sim/team-validator.ts +++ b/sim/team-validator.ts @@ -664,7 +664,7 @@ export class TeamValidator { // Ability Capsule allows this in Gen 6+ problems.push(`${name} has a Gen 4 ability and isn't evolved - it can't use moves from Gen 3.`); } - if (setSources.maxSourceGen() < 5 && setSources.isHidden && dex.gen <= 7) { + if (setSources.maxSourceGen() < 5 && setSources.isHidden && (dex.gen <= 7 || format.mod === 'gen8dlc1')) { problems.push(`${name} has a Hidden Ability - it can't use moves from before Gen 5.`); } if ( @@ -1627,7 +1627,8 @@ export class TeamValidator { if (species.abilities['H']) { const isHidden = (set.ability === species.abilities['H']); - if ((!isHidden && eventData.isHidden) || (isHidden && !eventData.isHidden && dex.gen <= 7)) { + if ((!isHidden && eventData.isHidden) || + (isHidden && !eventData.isHidden && (dex.gen <= 7 || this.format.mod === 'gen8dlc1'))) { if (fastReturn) return true; problems.push(`${name} must ${eventData.isHidden ? 'have' : 'not have'} its Hidden Ability${etc}.`); } @@ -1688,7 +1689,7 @@ export class TeamValidator { source => parseInt(source.charAt(0)) >= 5 ); if (setSources.sourcesBefore < 5) setSources.sourcesBefore = 0; - if (!setSources.sourcesBefore && !setSources.sources.length && dex.gen <= 7) { + if (!setSources.sourcesBefore && !setSources.sources.length && (dex.gen <= 7 || this.format.mod === 'gen8dlc1')) { problems.push(`${name} has a hidden ability - it can't have moves only learned before gen 5.`); return problems; } @@ -1844,7 +1845,7 @@ export class TeamValidator { if (learnedGen <= moveSources.sourcesBefore) continue; if ( - learnedGen < 7 && setSources.isHidden && dex.gen <= 7 && + learnedGen < 7 && setSources.isHidden && (dex.gen <= 7 || format.mod === 'gen8dlc1') && !dex.mod('gen' + learnedGen).getSpecies(baseSpecies.name).abilities['H'] ) { // check if the Pokemon's hidden ability was available