Skip to content

Commit

Permalink
Merge pull request scoopapa#851 from Lysio4/main
Browse files Browse the repository at this point in the history
Big one
  • Loading branch information
acasualmemelord authored Jan 29, 2025
2 parents 7266983 + 4837ef4 commit 05f3078
Show file tree
Hide file tree
Showing 9 changed files with 435 additions and 101 deletions.
80 changes: 40 additions & 40 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1039,46 +1039,6 @@ export const Formats: FormatList = [
}
},
},
{
name: "[Gen 8] Megas for All: Kalos",
desc: ["<b>Megas for All</b>: A Pet Mod that aims to create unique Mega Evolutions for every fully evolved Pokémon. Current season is focused on the Kalos dex!",
],
threads: [
`&bullet; <a href="https://www.smogon.com/forums/threads/3671140/">Megas for All v7 on Smogon Forums</a>`,
`&bullet; <a href="https://docs.google.com/spreadsheets/d/1TdeAUUtjh0f_tcIBllbF_imgepwV-dV2YomoTCRlPgI/edit?usp=sharing">Spreadsheet</a>`,
`&bullet; <a href="http://megasforall.wikidot.com/">Wiki</a>`
],
ruleset: ['Standard NatDex', 'Z-Move Clause', 'Dynamax Clause', 'Mega Data Mod'],
banlist: [
'AG', 'Uber',
'Aegislash', 'Hoopa-Unbound', 'Greninja',
'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag',
'Baton Pass',
'Bright Powder', 'Lax Incense', 'King\'s Rock', 'Razor Fang', 'Quick Claw',
],
onValidateTeam(team, format) {
/**@type {{[k: string]: true}} */
let speciesTable = {};
for (const set of team) {
let template = this.dex.species.get(set.species);
if (template.tier !== 'Mega' && template.tier !== 'Kalos' && template.tier !== 'Kalos (NFE)') {
return [set.species + ' is not a part of the Kalos Pokédex.'];
}
}
},
onValidateSet(set) {
const problems: string[] = [];
const setHas: {[k: string]: true} = {};
let species = this.dex.species.get(set.species);
let item = this.dex.items.get(set.item);
let tierSpecies = species;

if (item.megaEvolves === species.name) {
if (item.megaStone && this.dex.species.get(item.megaStone).tier !== 'Mega') return [item.name + ' is not a legal Mega Stone.'];
}
},
mod: 'm4akalos',
},
{
name: "[Gen 9] Megas for All: Paldea",
desc: ["<b>Megas for All</b>: A Pet Mod that aims to create unique Mega Evolutions for every fully evolved Pokémon. Current season is focused on the Paldea dex, pre DLC!",
Expand Down Expand Up @@ -2227,6 +2187,46 @@ export const Formats: FormatList = [
},
},
*/
{
name: "[Gen 8] Megas for All: Kalos",
desc: ["<b>Megas for All</b>: A Pet Mod that aims to create unique Mega Evolutions for every fully evolved Pokémon. Current season is focused on the Kalos dex!",
],
threads: [
`&bullet; <a href="https://www.smogon.com/forums/threads/3671140/">Megas for All v7 on Smogon Forums</a>`,
`&bullet; <a href="https://docs.google.com/spreadsheets/d/1TdeAUUtjh0f_tcIBllbF_imgepwV-dV2YomoTCRlPgI/edit?usp=sharing">Spreadsheet</a>`,
`&bullet; <a href="http://megasforall.wikidot.com/">Wiki</a>`
],
ruleset: ['Standard NatDex', 'Z-Move Clause', 'Dynamax Clause', 'Mega Data Mod'],
banlist: [
'AG', 'Uber',
'Aegislash', 'Hoopa-Unbound', 'Greninja',
'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag',
'Baton Pass',
'Bright Powder', 'Lax Incense', 'King\'s Rock', 'Razor Fang', 'Quick Claw',
],
onValidateTeam(team, format) {
/**@type {{[k: string]: true}} */
let speciesTable = {};
for (const set of team) {
let template = this.dex.species.get(set.species);
if (template.tier !== 'Mega' && template.tier !== 'Kalos' && template.tier !== 'Kalos (NFE)') {
return [set.species + ' is not a part of the Kalos Pokédex.'];
}
}
},
onValidateSet(set) {
const problems: string[] = [];
const setHas: {[k: string]: true} = {};
let species = this.dex.species.get(set.species);
let item = this.dex.items.get(set.item);
let tierSpecies = species;

if (item.megaEvolves === species.name) {
if (item.megaStone && this.dex.species.get(item.megaStone).tier !== 'Mega') return [item.name + ' is not a legal Mega Stone.'];
}
},
mod: 'm4akalos',
},
{
name: "[Gen 8] M4A Kalos VGC",
desc: ["<b>Megas for All</b>: A Pet Mod that aims to create unique Mega Evolutions for every fully evolved Pokémon. Current season is focused on the Kalos dex!",
Expand Down
13 changes: 6 additions & 7 deletions data/mods/agoldenexperience/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1940,14 +1940,13 @@ export const Abilities: { [abilityid: string]: ModdedAbilityData; } = {
},
gorillatactics: {
inherit: true,
onModifyAtkPriority: 1,
onModifyAtk(atk, pokemon) {
if (pokemon.volatiles['dynamax']) return;
// PLACEHOLDER
this.debug('Gorilla Tactics Atk Boost');
return this.chainModify(1.3);
onStart(pokemon) {
pokemon.abilityState.choiceLock = "";
if (pokemon.hasItem('choiceband') || pokemon.hasItem('choicescarf') || pokemon.hasItem('choicespecs')) {
pokemon.addVolatile('embargo');
}
},
shortDesc: "This Pokemon's Attack is 1.3x, but it can only select the first move it executes.",
shortDesc: "Pokemon's Atk is 1.5x, but it can only select one move. Choice items are disabled.",
},
quickdraw: {
inherit: true,
Expand Down
20 changes: 10 additions & 10 deletions data/mods/agoldenexperience/formats-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
tier: "NFE",
},
garchomp: {
tier: "UU",
tier: "OU",
doublesTier: "(DUU)",
},
garchompmega: {
Expand Down Expand Up @@ -3117,11 +3117,11 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
doublesTier: "DUber",
},
keldeo: {
tier: "OU",
tier: "UU",
doublesTier: "(DUU)",
},
keldeoresolute: {
tier: "OU",
tier: "UU",
doublesTier: "(DUU)",
},
meloetta: {
Expand All @@ -3145,7 +3145,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
doublesTier: "DOU",
},
genesectdouse: {
tier: "UU",
tier: "OU",
doublesTier: "DOU",
},
genesectshock: {
Expand Down Expand Up @@ -4315,7 +4315,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
doublesTier: "(DUU)",
},
dracovish: {
tier: "OU",
tier: "Uber",
doublesTier: "DOU",
},
arctovish: {
Expand Down Expand Up @@ -4349,7 +4349,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
doublesTier: "DUber",
},
zamazenta: {
tier: "OU",
tier: "UU",
doublesTier: "DOU",
},
zamazentacrowned: {
Expand All @@ -4368,7 +4368,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
tier: "NFE",
},
urshifu: {
tier: "OU",
tier: "Uber",
doublesTier: "DOU",
},
urshifurapidstrike: {
Expand Down Expand Up @@ -4600,15 +4600,15 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
doublesTier: "DUU",
},
verivavroomsegin: {
tier: "OU",
tier: "UU",
doublesTier: "DOU",
},
verivavroomschedar: {
tier: "OU",
doublesTier: "DOU",
},
verivavroomnavi: {
tier: "OU",
tier: "UU",
doublesTier: "DOU",
},
verivavroomruchbah: {
Expand Down Expand Up @@ -4942,7 +4942,7 @@ export const FormatsData: { [k: string]: SpeciesFormatsData; } = {
tier: "Illegal",
},
archaludon: {
tier: "OU",
tier: "UU",
doublesTier: "DOU",
},
hydrapple: {
Expand Down
34 changes: 17 additions & 17 deletions data/mods/agoldenexperience/moves.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1549,10 +1549,10 @@ export const Moves: { [k: string]: ModdedMoveData; } = {
desc: "Whether or not this move is successful and even if it would cause fainting, the user loses 1/2 of its maximum HP, rounded up, unless the user has the Magic Guard Ability. This move is prevented from executing and the user does not lose HP if any active Pokemon has the Damp Ability.",
shortDesc: "User loses 50% max HP.",
},
wickedblow: {
inherit: true,
basePower: 60,
},
// wickedblow: {
// inherit: true,
// basePower: 60,
// },
bouncybubble: {
inherit: true,
basePower: 90,
Expand Down Expand Up @@ -2861,19 +2861,19 @@ export const Moves: { [k: string]: ModdedMoveData; } = {
self: null,
shortDesc: "Cannot be selected the turn after it's used.",
},
fishiousrend: {
inherit: true,
basePowerCallback(pokemon, target, move) {
if (target.newlySwitched || !this.queue.willMove(target)) {
this.debug('Fishious Rend damage boost');
return move.basePower * 2;
}
this.debug('Fishious Rend NOT boosted');
return move.basePower;
},
desc: "Power doubles if the user moves after the target.",
shortDesc: "Power doubles if user moves after the target.",
},
// fishiousrend: {
// inherit: true,
// basePowerCallback(pokemon, target, move) {
// if (target.newlySwitched || !this.queue.willMove(target)) {
// this.debug('Fishious Rend damage boost');
// return move.basePower * 2;
// }
// this.debug('Fishious Rend NOT boosted');
// return move.basePower;
// },
// desc: "Power doubles if the user moves after the target.",
// shortDesc: "Power doubles if user moves after the target.",
// },
psyblade: {
inherit: true,
onBasePower(basePower, source) {
Expand Down
8 changes: 4 additions & 4 deletions data/mods/agoldenexperience/pokedex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3028,10 +3028,10 @@ export const Pokedex: {[k: string]: ModdedSpeciesData;} = {
baseStats: {hp: 122, atk: 130, def: 89, spa: 40, spd: 89, spe: 30},
abilities: {0: "Sheer Force", 1: "Dry Skin", H: "Heavy Metal"},
},
dracovish: {
inherit: true,
abilities: {0: "Water Absorb", 1: "Water Veil", H: "Sand Rush"},
},
// dracovish: {
// inherit: true,
// abilities: {0: "Water Absorb", 1: "Water Veil", H: "Sand Rush"},
// },
zacian: {
inherit: true,
abilities: {0: "Steadfast"},
Expand Down
1 change: 1 addition & 0 deletions data/mods/agoldenexperience/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,7 @@ export const Scripts: ModdedBattleScriptsData = {
this.modData('Learnsets', 'cacturne').learnset.pursuit = ['9L1'];
this.modData('Learnsets', 'cacturne').learnset.earthquake = ['9L1'];
this.modData('Learnsets', 'cacturne').learnset.scorchingsands = ['9L1'];
this.modData('Learnsets', 'altaria').learnset.calmmind = ['9L1'];
this.modData('Learnsets', 'claydol').learnset.recover = ['9L1'];
this.modData('Learnsets', 'whiscash').learnset.slackoff = ['9L1'];
this.modData('Learnsets', 'cradily').learnset.powergem = ['9L1'];
Expand Down
Loading

0 comments on commit 05f3078

Please sign in to comment.