Skip to content

Commit

Permalink
Add Super Staff Bros: Ultimate (smogon#10279)
Browse files Browse the repository at this point in the history
* Add Phoopes (smogon#16)

* Add Scotteh (smogon#17)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Mad Monty (smogon#18)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* don't be lazy

* add snake_rattler (smogon#11)

* Add Irpachuza (smogon#14)

* Add sharp_claw (smogon#19)

* Add zee (smogon#20)

* Add ironwater (smogon#21)

* Remove problematic code

Honestly we might just need to remake this later

* Add Kolochu and Rumia (smogon#23)

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add deftinwolf (smogon#22)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Create getRoomauth function (smogon#3)

* Add Coolcodename (smogon#26)

* Fix Anfield Atmosphere crash (smogon#25)

* Update moves.ts

* Fix Sire Switch not protecting (smogon#28)

* Fix Hat-Trick not criting on 3rd hit (smogon#31)

* Properly display opponent's name for Irpachuza (smogon#29)

* Fix Cacophony making all sound moves fail (smogon#30)

* Rumia's Custom Stats (smogon#33)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Mex (smogon#27)

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>

* Add violet (smogon#24)

* Add havi (smogon#34)

* Add Krytocon (smogon#32)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add custom lines for BreadLoeuf vs Mad Monty
by request of BreadLoeuf

* Add Mathy (smogon#35)

* Add Zalm (smogon#36)

* Add Eli (smogon#37)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add hsy (smogon#38)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Lumari (smogon#41)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>

* Add spoo (smogon#40)

* Fix some alphabetization

* Add Cake (smogon#39)

* Add ReturnToMonkey (smogon#42)

* Add smely socks (smogon#43)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Theia (smogon#45)

* Add HisuianZoroark to codeowners for ssb

* Add Yellow Paint (smogon#44)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Peary (smogon#46)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add in the hills (smogon#48)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Blitz (smogon#49)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add HoeenHero (smogon#50)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Isaiah (smogon#47)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Fix Blitz, update sun

* Add Dawn of Artemis (smogon#54)

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>

* Add Swiffix (smogon#53)

* Add Pyro (smogon#52)

* Add enemyStaff function (smogon#57)

* Fix animation

* Update conditions.ts

* Fix debug teams not always having 6 pokemon (smogon#60)

* Add Chloe (smogon#59)

* Add Lalaya (smogon#56)

* Add Venous (smogon#55)

* Add WigglyTree (smogon#61)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Ganjafin (smogon#62)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Archas (smogon#64)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add neycwang (smogon#63)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Krytocon fixes (smogon#65)

* Refactor Sharp_Claw's forme change to an innate (smogon#58)

Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>

* Add DaWoblefet (smogon#67)

* Add Aelita (smogon#66)

* Rename mod to gen9ssb

* Fix file for ssb in codeowners

* Swiffix: Fix typo in description (smogon#70)

* Make some changes for client support down the line (smogon#75)

* Remove HisuianZoroark as a codeowner for Staff Bros.

Due to an unfortunately swamped college schedule and other IRL responsibilities, I do not have the time nor the energy to contribute to this format. Incredibly delayed commit as I mentioned this a while ago but better late than never.

* espacio

* Readd HiZo as CODEOWNER for SSB

* Remove questionable users

* Refactor a fuckton, prep for revival

* oops

* Add Loethalion (smogon#80)

* Rename users

* Add Meteordash

* Add WarriorGallade

* Add Notater517

* Add HiZo (smogon#81)

* Add Isaiah + tweak Ney

* Add berry

* Add kenn

* Add Lasen

* Fix move type

* Add aQrator (smogon#82)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Teclis (smogon#83)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Lily

* Add Xprienzo

* Add Aegii

* this fucking sucks lmao

* Revert "this fucking sucks lmao"

This reverts commit e15eef6.

* properly make quote less hacky

* Add Alex

* I am a dumbass

* Redo Violet (smogon#84)

* Add Sulo (smogon#90)

* Add Quite Quiet (smogon#89)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Hydrostatics (smogon#87)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Lunell (smogon#85)

Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Waves (smogon#96)

* Add Siegfried (smogon#93)

* Add PartMan (smogon#86)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add YveltalNL (smogon#97)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Arya (smogon#94)

* Fix things

* Add Kiwi (smogon#91)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add zoro (smogon#101)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add J0rdy004 (smogon#103)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Artemis (smogon#102)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Frozoid (smogon#100)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add Monkey (smogon#98)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Two of Roses (smogon#95)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Emboar02 (smogon#99)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Appletun a la Mode (smogon#92)

* Add ptoad

* Add Lionyx (smogon#104)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add chaos (smogon#105)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Ransei (smogon#106)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Karthik (smogon#107)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Zarel (smogon#108)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Corthius (smogon#111)

* Add Fame (smogon#109)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Alexander489 (smogon#110)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Alpha (smogon#114)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Tico (smogon#115)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add skies (smogon#113)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Valerian (smogon#116)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Klmondo (smogon#117)

* Add xy01 (smogon#118)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Lets go shuckles (smogon#119)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Pissog (smogon#120)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Kalalokki (smogon#121)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Solaros & Lunaris (smogon#122)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add AuzBat (smogon#124)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Soft Flex (smogon#123)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Struchni (smogon#125)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add autumn (smogon#126)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update move name

* Update random-teams.ts

* Add Elliot (smogon#129)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Akir (smogon#127)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Arsenal (smogon#128)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Billo (smogon#130)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Frostyicelad (smogon#131)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add kingbaruk (smogon#132)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add maroon (smogon#133)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add avarice (smogon#136)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Tweak HiZo, Update Irpachuza

* fix vio anim

* fix crash

* Add Clouds (smogon#134)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Clefable (smogon#135)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add za (smogon#140)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Haste Inky (smogon#138)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Nyx (smogon#137)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update Emboar02 (smogon#141)

* Add Froggeh (smogon#139)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Cake (smogon#142)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add ken (smogon#143)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add ausma (smogon#144)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Tenshi (smogon#146)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add spoo (smogon#148)

* Add Arcueid (smogon#147)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add nya (smogon#152)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add RSB (smogon#149)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Kaede (smogon#151)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Beowulf (smogon#150)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add pokemonvortex (smogon#112)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Rename Kris

* Add Ciran and keys and do tweaks

* Krytocon, eva, Clementine

* Fix initial bugs/crashes

* Fix Bugs, optimize stuff

* Some bugfixes

* Fix boost

* Tweak some cosmetics (smogon#153)

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Add protocol for vivi custom move

* teehee

* fug

* Tweaks

* Update Rumia, Artemis, UT and Kry (smogon#157)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add MyPearl (smogon#154)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add marillvibes (smogon#156)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add R8 (smogon#155)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Fix some bugs

* Update (s)poo

* Fix build

* Add Sificon/Goro Yagami, bugfixes

* EWPS!

* Fix Artemis crash

* Update /ssb

* Remove Alpha

* Add Felucia (smogon#158)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add PenQuin / update Sificon (smogon#159)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>

* Nuke image quotes (smogon#160)

* Add blazeofvictory (smogon#165)

* Add Rainshaft (smogon#166)

* Add vmnunes (smogon#164)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add SexyMalasada (smogon#167)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add quziel (smogon#163)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Live debugging me on prod

* Fix crash

* Fix bugs

* Fix typo

* Oops :-3

* im so stupid

* Add Opple (smogon#169)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Pulse_kS (smogon#171)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Aethernum (smogon#172)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add DianaNicole (smogon#170)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update Hizo + plenty of desc additions (smogon#168)

* Update ausma, MadMonty (smogon#162)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Nerf Waves

* Fix dhelmise x4

* Fix violet move accuracy

* Stop forcing my mon every time

* Fix build

* Add EasyOnTheHills / Update Valerian (smogon#161)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Lyna (smogon#173)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Add Vistar (smogon#174)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Bugfixes vol. 1 (smogon#175)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Re-add some stuff

* More bugfixes

* Update PartMan's messages to add aQrator (smogon#176)

* Fix bug with Scapegoat

* More Bugfixes/QoL changes (smogon#177)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Some buffs

* Put bite flag on RSB sig move

* Fix illusion master

* Fix storm surge desc

* FIX BUILD D:DPDODKEIKFIFWFDFSDF

* Fix meteordash agAIN

* Fix anfield

* Some fixes + temporary chat plugin

* meow

* Fix build

* kolohe namechange

* Update html script

* Super Staff Bros: Grammar & Polishing (smogon#178)

* Add Hidden Format and fix aesthetics (smogon#179)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Fix some bugs

* Fix stuff

* Temporarily remove Hidden format team generation

* Fix Arcueid quotes, remove leftover code

* uhh meow

* Adjust J0rdy's stats

* Move SSB chat stuff into its own plugin

* Add a command to disable sets (smogon#180)

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>

* Update article URL

---------

Co-authored-by: Hisuian Zoroark <96159984+HisuianZoroark@users.noreply.github.com>
Co-authored-by: TomOfTomKat <73961857+TomOfTomKat@users.noreply.github.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: ausmacon <107449244+ausmacon@users.noreply.github.com>
Co-authored-by: Alexander B <4866817+MathyFurret@users.noreply.github.com>
Co-authored-by: HoeenHero <HoeenCoder@users.noreply.github.com>
Co-authored-by: PartMan <47669599+PartMan7@users.noreply.github.com>
Co-authored-by: WarriorGallade <100499523+WarriorGallade@users.noreply.github.com>
Co-authored-by: ACakeWearingAHat <45981036+ACakeWearingAHat@users.noreply.github.com>
Co-authored-by: Mia <49593536+mia-pi-git@users.noreply.github.com>
  • Loading branch information
11 people committed May 21, 2024
1 parent fbb0723 commit f72c975
Show file tree
Hide file tree
Showing 28 changed files with 17,418 additions and 12,630 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config/formats.ts @KrisXV @Marty-D
data/mods/*/random-teams.ts @AnnikaCodes
data/mods/ssb/ @HoeenCoder @KrisXV
data/mods/gen9ssb/ @HoeenCoder @HisuianZoroark @KrisXV
data/random-sets.json @MathyFurret @ACakeWearingAHat @livid-washed @adrivrie
data/random-teams.ts @AnnikaCodes @KrisXV @MathyFurret @ACakeWearingAHat @livid-washed @adrivrie
data/text/ @Marty-D
Expand Down
115 changes: 53 additions & 62 deletions config/formats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2491,6 +2491,59 @@ export const Formats: FormatList = [
section: "Randomized Metas",
column: 3,
},
{
name: "[Gen 9] Super Staff Bros Ultimate",
desc: "The fifth iteration of Super Staff Bros is here! Battle with a random team of pokemon created by the sim staff.",
threads: [
`&bullet; <a href="https://www.smogon.com/articles/super-staff-bros-ultimate">Introduction &amp; Roster</a>`,
`&bullet; <a href="https://www.smogon.com/forums/threads/3741386/">Patch Notes</a>`,
`&bullet; <a href="https://www.smogon.com/forums/threads/3742599/">Discussion Thread</a>`,
],

mod: 'gen9ssb',
debug: true,
team: 'randomStaffBros',
ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
onBegin() {
// 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|<div class='broadcast-green'><b>Wondering what all these custom moves, abilities, and items do?<br />Check out the <a href="https://www.smogon.com/articles/super-staff-bros-ultimate" target="_blank">Super Staff Bros: Ultimate Guide</a> or use /ssb to find out!</b></div>`);
if (this.ruleTable.has('dynamaxclause')) {
// Old joke format we're bringing back
this.add('message', 'Fox only');
this.add('message', 'No items');
this.add('message', 'Final Destination');
return;
}

this.add('message', 'EVERYONE IS HERE!');
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 || name === 'blitz') {
// 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.illusion || pokemon).getTypes(true, true).join('/') !==
this.dex.forGen(9).species.get((pokemon.illusion || pokemon).species.name).types.join('/') &&
!pokemon.terastallized) {
this.add('-start', pokemon, 'typechange', (pokemon.illusion || pokemon).getTypes(true).join('/'), '[silent]');
}
},
},
{
name: "[Gen 9] Monotype Random Battle",

Expand Down Expand Up @@ -2814,68 +2867,6 @@ export const Formats: FormatList = [
searchShow: false,
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 Pok&eacute;mon created by the sim staff.`,
threads: [
`&bullet; <a href="https://www.smogon.com/articles/super-staff-bros-4">Introduction &amp; Roster</a>`,
`&bullet; <a href="https://www.smogon.com/forums/threads/super-staff-bros-4-discussion-thread.3675237/">Discussion Thread</a>`,
],

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|<div class='broadcast-green'><b>Wondering what all these custom moves, abilities, and items do?<br />Check out the <a href="https://www.smogon.com/articles/super-staff-bros-4" target="_blank">Super Staff Bros 4 Guide</a> or use /ssb to find out!</b></div>`);

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&eacute;mon with absolutely any ability, moves, and item.`,
Expand Down
2 changes: 1 addition & 1 deletion data/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
onBasePowerPriority: 19,
onBasePower(basePower, attacker, defender, move) {
if (move.flags['slicing']) {
this.debug('Shapness boost');
this.debug('Sharpness boost');
return this.chainModify(1.5);
}
},
Expand Down
4 changes: 2 additions & 2 deletions data/aliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const Aliases: {[alias: string]: string} = {
monorandom: "[Gen 8] Monotype Random Battle",
bf: "[Gen 7] Battle Factory",
bssf: "[Gen 8] BSS Factory",
ssb: "[Gen 8] Super Staff Bros 4",
ssb4: "[Gen 8] Super Staff Bros 4",
ssb: "[Gen 9] Super Staff Bros Ultimate",
ssbu: "[Gen 9] Super Staff Bros Ultimate",
lgrandom: "[Gen 7] Let's Go Random Battle",
gen6bf: "[Gen 6] Battle Factory",
gen7mono: "[Gen 7] Monotype",
Expand Down
Loading

0 comments on commit f72c975

Please sign in to comment.