Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaD173 committed Jul 1, 2024
2 parents 7d25ef1 + 77f6c9d commit d1c9c23
Show file tree
Hide file tree
Showing 33 changed files with 850 additions and 1,372 deletions.
24 changes: 12 additions & 12 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1160,15 +1160,15 @@ export const Formats: FormatList = [
mod: 'gen9',
ruleset: ['Standard OMs', 'Sleep Moves Clause', 'Godly Gift Mod'],
banlist: [
'Blissey', 'Calyrex-Shadow', 'Chansey', 'Deoxys-Attack', 'Koraidon', 'Miraidon', 'Zacian-Crowned', 'Arena Trap', 'Huge Power', 'Moody', 'Pure Power', 'Shadow Tag',
'Blissey', 'Calyrex-Shadow', 'Chansey', 'Deoxys-Attack', 'Koraidon', 'Kyurem-Black', 'Miraidon', 'Arena Trap', 'Huge Power', 'Moody', 'Pure Power', 'Shadow Tag',
'Swift Swim', 'Bright Powder', 'Focus Band', 'King\'s Rock', 'Quick Claw', 'Razor Fang', 'Baton Pass', 'Last Respects', 'Shed Tail',
],
restricted: [
'Annihilape', 'Arceus', 'Baxcalibur', 'Calyrex-Ice', 'Chi-Yu', 'Chien-Pao', 'Crawdaunt', 'Deoxys-Base', 'Deoxys-Speed', 'Dialga', 'Dialga-Origin', 'Dragapult',
'Espathra', 'Eternatus', 'Flutter Mane', 'Giratina', 'Giratina-Origin', 'Gliscor', 'Groudon', 'Hawlucha', 'Ho-Oh', 'Iron Bundle', 'Kingambit', 'Kyogre', 'Kyurem',
'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Ogerpon-Hearthflame', 'Palafin', 'Palkia',
'Palkia-Origin', 'Rayquaza', 'Regieleki', 'Reshiram', 'Shaymin-Sky', 'Smeargle', 'Solgaleo', 'Terapagos', 'Toxapex', 'Ursaluna', 'Ursaluna-Bloodmoon', 'Volcarona',
'Zacian', 'Zamazenta-Crowned', 'Zekrom',
'Annihilape', 'Arceus', 'Calyrex-Ice', 'Chi-Yu', 'Crawdaunt', 'Deoxys-Base', 'Deoxys-Speed', 'Dialga', 'Dialga-Origin', 'Dragapult', 'Espathra', 'Eternatus',
'Flutter Mane', 'Giratina', 'Giratina-Origin', 'Gliscor', 'Groudon', 'Hawlucha', 'Ho-Oh', 'Iron Bundle', 'Kingambit', 'Kyogre', 'Kyurem', 'Kyurem-White',
'Lugia', 'Lunala', 'Magearna', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Ogerpon-Hearthflame', 'Palafin', 'Palkia', 'Palkia-Origin', 'Rayquaza',
'Regieleki', 'Reshiram', 'Shaymin-Sky', 'Smeargle', 'Solgaleo', 'Terapagos', 'Toxapex', 'Ursaluna', 'Ursaluna-Bloodmoon', 'Volcarona', 'Zacian', 'Zacian-Crowned',
'Zamazenta-Crowned', 'Zekrom',
],
},

Expand Down Expand Up @@ -2120,11 +2120,11 @@ export const Formats: FormatList = [
ruleset: ['Standard OMs', 'Evasion Abilities Clause', 'Evasion Items Clause', 'Sleep Moves Clause', 'Terastal Clause'],
banlist: [
'Arceus', 'Calyrex-Ice', 'Calyrex-Shadow', 'Deoxys', 'Deoxys-Attack', 'Deoxys-Defense', 'Deoxys-Speed', 'Dialga', 'Dialga-Origin', 'Dragapult',
'Eternatus', 'Giratina', 'Giratina-Origin', 'Goodra-Hisui', 'Groudon', 'Ho-Oh', 'Iron Bundle', 'Koraidon', 'Kyogre', 'Kyurem-Black', 'Kyurem-White',
'Lugia', 'Lunala', 'Mewtwo', 'Miraidon', 'Necrozma-Dusk-Mane', 'Necrozma-Dawn-Wings', 'Palkia', 'Palkia-Origin', 'Rayquaza', 'Regieleki', 'Scream Tail',
'Shaymin-Sky', 'Spectrier', 'Solgaleo', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Arena Trap', 'Chlorophyll', 'Drought',
'Moody', 'Sand Rush', 'Shadow Tag', 'Slush Rush', 'Speed Boost', 'Surge Surfer', 'Swift Swim', 'Unburden', 'Booster Energy', 'Choice Scarf', 'Heat Rock',
'King\'s Rock', 'Razor Fang', 'Baton Pass', 'Shed Tail', 'Tailwind',
'Electrode-Hisui', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Goodra-Hisui', 'Groudon', 'Ho-Oh', 'Iron Bundle', 'Koraidon', 'Kyogre', 'Kyurem-Black',
'Kyurem-White', 'Lugia', 'Lunala', 'Mewtwo', 'Miraidon', 'Necrozma-Dusk-Mane', 'Necrozma-Dawn-Wings', 'Palkia', 'Palkia-Origin', 'Rayquaza', 'Regieleki',
'Scream Tail', 'Shaymin-Sky', 'Spectrier', 'Solgaleo', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Arena Trap', 'Chlorophyll',
'Drought', 'Moody', 'Sand Rush', 'Shadow Tag', 'Slush Rush', 'Speed Boost', 'Surge Surfer', 'Swift Swim', 'Unburden', 'Booster Energy', 'Choice Scarf',
'Heat Rock', 'King\'s Rock', 'Razor Fang', 'Baton Pass', 'Shed Tail', 'Tailwind',
],
},
{
Expand Down Expand Up @@ -5240,7 +5240,7 @@ export const Formats: FormatList = [
mod: 'gen3',
searchShow: false,
ruleset: ['Standard', 'Little Cup', 'Sleep Moves Clause', 'Accuracy Moves Clause'],
banlist: ['Chansey', 'Meditite', 'Omanyte', 'Scyther', 'Wynaut', 'Zigzagoon', 'Deep Sea Tooth', 'Baton Pass', 'Dragon Rage', 'Sonic Boom', 'Swagger'],
banlist: ['Chansey', 'Meditite', 'Omanyte', 'Scyther', 'Wynaut', 'Zigzagoon', 'Deep Sea Tooth', 'Baton Pass', 'Dragon Rage', 'Sonic Boom', 'Swagger', 'Thunder Wave'],
},
{
name: "[Gen 3] 1v1",
Expand Down
1 change: 1 addition & 0 deletions data/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ export const Aliases: {[alias: string]: string} = {
faintattack: "Feint Attack",
glowpunch: "Power-up Punch",
gterrain: "Grassy Terrain",
hhp: "High Horsepower",
hp: "Hidden Power",
hpbug: "Hidden Power Bug",
hpdark: "Hidden Power Dark",
Expand Down
4 changes: 2 additions & 2 deletions data/formats-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
tier: "NFE",
},
kingdra: {
tier: "ZU",
tier: "ZUBL",
doublesTier: "(DUU)",
natDexTier: "PU",
},
Expand Down Expand Up @@ -5681,7 +5681,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
pecharunt: {
tier: "UU",
doublesTier: "DUU",
natDexTier: "RU",
natDexTier: "RUBL",
},
missingno: {
isNonstandard: "Custom",
Expand Down
4 changes: 4 additions & 0 deletions data/random-battles/gen2/teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export class RandomGen2Teams extends RandomGen3Teams {
if (movePool.includes('rapidspin')) this.fastPop(movePool, movePool.indexOf('rapidspin'));
if (moves.size + movePool.length <= this.maxMoveCount) return;
}
if (teamDetails.statusCure) {
if (movePool.includes('healbell')) this.fastPop(movePool, movePool.indexOf('healbell'));
if (moves.size + movePool.length <= this.maxMoveCount) return;
}

// General incompatibilities
const incompatiblePairs = [
Expand Down
51 changes: 23 additions & 28 deletions data/random-battles/gen3/sets.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
]
},
"blastoise": {
"level": 83,
"level": 82,
"sets": [
{
"role": "Bulky Support",
Expand All @@ -50,7 +50,7 @@
]
},
"butterfree": {
"level": 95,
"level": 96,
"sets": [
{
"role": "Generalist",
Expand Down Expand Up @@ -180,7 +180,7 @@
]
},
"clefable": {
"level": 84,
"level": 85,
"sets": [
{
"role": "Bulky Support",
Expand Down Expand Up @@ -238,7 +238,7 @@
]
},
"venomoth": {
"level": 88,
"level": 87,
"sets": [
{
"role": "Generalist",
Expand Down Expand Up @@ -358,7 +358,7 @@
]
},
"victreebel": {
"level": 84,
"level": 85,
"sets": [
{
"role": "Fast Attacker",
Expand Down Expand Up @@ -424,7 +424,7 @@
]
},
"magneton": {
"level": 84,
"level": 85,
"sets": [
{
"role": "Staller",
Expand Down Expand Up @@ -513,7 +513,7 @@
"sets": [
{
"role": "Bulky Setup",
"movepool": ["batonpass", "calmmind", "firepunch", "protect", "psychic", "wish"]
"movepool": ["batonpass", "calmmind", "firepunch", "psychic"]
},
{
"role": "Bulky Support",
Expand Down Expand Up @@ -561,7 +561,7 @@
]
},
"marowak": {
"level": 82,
"level": 83,
"sets": [
{
"role": "Setup Sweeper",
Expand Down Expand Up @@ -702,7 +702,7 @@
]
},
"jynx": {
"level": 81,
"level": 80,
"sets": [
{
"role": "Setup Sweeper",
Expand All @@ -711,7 +711,7 @@
]
},
"electabuzz": {
"level": 83,
"level": 82,
"sets": [
{
"role": "Fast Attacker",
Expand All @@ -726,7 +726,7 @@
]
},
"magmar": {
"level": 84,
"level": 85,
"sets": [
{
"role": "Fast Attacker",
Expand Down Expand Up @@ -900,7 +900,7 @@
]
},
"zapdos": {
"level": 75,
"level": 74,
"sets": [
{
"role": "Staller",
Expand Down Expand Up @@ -955,7 +955,7 @@
]
},
"mew": {
"level": 73,
"level": 72,
"sets": [
{
"role": "Bulky Support",
Expand Down Expand Up @@ -1050,7 +1050,7 @@
]
},
"ariados": {
"level": 97,
"level": 98,
"sets": [
{
"role": "Setup Sweeper",
Expand Down Expand Up @@ -1087,7 +1087,7 @@
]
},
"togetic": {
"level": 95,
"level": 96,
"sets": [
{
"role": "Staller",
Expand Down Expand Up @@ -1156,12 +1156,12 @@
"sets": [
{
"role": "Bulky Attacker",
"movepool": ["encore", "hiddenpowergrass", "hypnosis", "icebeam", "rest", "surf", "toxic"],
"movepool": ["hiddenpowergrass", "hypnosis", "icebeam", "rest", "surf", "toxic"],
"preferredTypes": ["Ice"]
},
{
"role": "Staller",
"movepool": ["encore", "icebeam", "protect", "surf", "toxic"]
"movepool": ["icebeam", "protect", "surf", "toxic"]
},
{
"role": "Bulky Support",
Expand Down Expand Up @@ -1778,7 +1778,7 @@
]
},
"celebi": {
"level": 75,
"level": 74,
"sets": [
{
"role": "Bulky Setup",
Expand Down Expand Up @@ -1996,7 +1996,7 @@
]
},
"shedinja": {
"level": 97,
"level": 99,
"sets": [
{
"role": "Fast Attacker",
Expand Down Expand Up @@ -2032,7 +2032,7 @@
]
},
"nosepass": {
"level": 98,
"level": 99,
"sets": [
{
"role": "Bulky Attacker",
Expand Down Expand Up @@ -2255,7 +2255,7 @@
]
},
"spinda": {
"level": 98,
"level": 99,
"sets": [
{
"role": "Staller",
Expand Down Expand Up @@ -2313,7 +2313,7 @@
]
},
"zangoose": {
"level": 80,
"level": 79,
"sets": [
{
"role": "Fast Attacker",
Expand Down Expand Up @@ -2648,7 +2648,7 @@
]
},
"latios": {
"level": 66,
"level": 67,
"sets": [
{
"role": "Bulky Setup",
Expand Down Expand Up @@ -2687,11 +2687,6 @@
"movepool": ["dragondance", "earthquake", "hiddenpowerflying", "overheat", "rockslide"],
"preferredTypes": ["Ground"]
},
{
"role": "Bulky Setup",
"movepool": ["earthquake", "extremespeed", "hiddenpowerflying", "rockslide", "swordsdance"],
"preferredTypes": ["Ground"]
},
{
"role": "Wallbreaker",
"movepool": ["earthquake", "extremespeed", "hiddenpowerflying", "overheat", "rockslide"],
Expand Down
6 changes: 6 additions & 0 deletions data/random-battles/gen3/teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ export class RandomGen3Teams extends RandomGen4Teams {
if (movePool.includes('rapidspin')) this.fastPop(movePool, movePool.indexOf('rapidspin'));
if (moves.size + movePool.length <= this.maxMoveCount) return;
}
if (teamDetails.statusCure) {
if (movePool.includes('aromatherapy')) this.fastPop(movePool, movePool.indexOf('aromatherapy'));
if (movePool.includes('healbell')) this.fastPop(movePool, movePool.indexOf('healbell'));
if (moves.size + movePool.length <= this.maxMoveCount) return;
}

// Develop additional move lists
const badWithSetup = ['knockoff', 'rapidspin', 'toxic'];
Expand Down Expand Up @@ -772,6 +777,7 @@ export class RandomGen3Teams extends RandomGen4Teams {
if (set.ability === 'Drizzle' || set.moves.includes('raindance')) teamDetails.rain = 1;
if (set.ability === 'Drought' || set.moves.includes('sunnyday')) teamDetails.sun = 1;
if (set.ability === 'Sand Stream') teamDetails.sand = 1;
if (set.moves.includes('aromatherapy') || set.moves.includes('healbell')) teamDetails.statusCure = 1;
if (set.moves.includes('spikes')) teamDetails.spikes = 1;
if (set.moves.includes('rapidspin')) teamDetails.rapidSpin = 1;

Expand Down
Loading

0 comments on commit d1c9c23

Please sign in to comment.