Skip to content

Commit

Permalink
Implement [Gen 9] Battle Factory (smogon#10689)
Browse files Browse the repository at this point in the history
* Implement Gen 9 Battle Factory

* Make OU mons female when possible for Cute Charm Enamorus

* delete yanmega

* Update data/random-battles/gen9/teams.ts

Co-authored-by: Kris Johnson <[email protected]>

* Apply suggestions from code review

Co-authored-by: Kris Johnson <[email protected]>

* Apply more suggestions from code review

* Simplify two lines

---------

Co-authored-by: ACakeWearingAHat <[email protected]>
Co-authored-by: Kris Johnson <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 5d08230 commit b107d77
Show file tree
Hide file tree
Showing 6 changed files with 9,674 additions and 21 deletions.
10 changes: 10 additions & 0 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2523,6 +2523,16 @@ export const Formats: import('../sim/dex-formats').FormatList = [
},

},
{
name: "[Gen 9] Battle Factory",
desc: `Randomized teams of Pok&eacute;mon for a generated Smogon tier with sets that are competitively viable.`,
mod: 'gen9',
team: 'randomFactory',
ruleset: ['Standard'],
onBegin() {
this.add(`raw|<div class="broadcast-blue"><b>Battle Factory Tier: ${this.teamGenerator.factoryTier}</b></div>`);
},
},
{
name: "[Gen 9] BSS Factory",
desc: `Randomized 3v3 Singles featuring Pok&eacute;mon and movesets popular in Battle Stadium Singles.`,
Expand Down
2 changes: 1 addition & 1 deletion data/random-battles/gen8/factory-sets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@
"ability": ["Sturdy"],
"evs": {"hp": 252, "atk": 4, "spd": 252},
"nature": "Careful",
"moves": [["Earthquake"], ["Heavy Slam"], ["Stealth Rock", "Stealth Rock", "Protect"], ["Toxic"]]
"moves": [["Earthquake"], ["Heavy Slam"], ["Stealth Rock", "Protect"], ["Toxic"]]
}]
},
"suicune": {
Expand Down
Loading

0 comments on commit b107d77

Please sign in to comment.