Pokémon battle simulator.
Go to file
Kris Johnson d97a17e4ce
Add Super Staff Bros: Ultimate (#10279)
* Add Phoopes (#16)

* Add Scotteh (#17)

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

* Add Mad Monty (#18)

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

* don't be lazy

* add snake_rattler (#11)

* Add Irpachuza (#14)

* Add sharp_claw (#19)

* Add zee (#20)

* Add ironwater (#21)

* Remove problematic code

Honestly we might just need to remake this later

* Add Kolochu and Rumia (#23)

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

* Add deftinwolf (#22)

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

* Create getRoomauth function (#3)

* Add Coolcodename (#26)

* Fix Anfield Atmosphere crash (#25)

* Update moves.ts

* Fix Sire Switch not protecting (#28)

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

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

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

* Rumia's Custom Stats (#33)

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

* Add Mex (#27)

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

* Add violet (#24)

* Add havi (#34)

* Add Krytocon (#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 (#35)

* Add Zalm (#36)

* Add Eli (#37)

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

* Add hsy (#38)

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

* Add Lumari (#41)

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

* Add spoo (#40)

* Fix some alphabetization

* Add Cake (#39)

* Add ReturnToMonkey (#42)

* Add smely socks (#43)

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

* Add Theia (#45)

* Add HisuianZoroark to codeowners for ssb

* Add Yellow Paint (#44)

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

* Add Peary (#46)

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

* Add in the hills (#48)

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

* Add Blitz (#49)

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

* Add HoeenHero (#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 (#47)

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

* Fix Blitz, update sun

* Add Dawn of Artemis (#54)

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

* Add Swiffix (#53)

* Add Pyro (#52)

* Add enemyStaff function (#57)

* Fix animation

* Update conditions.ts

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

* Add Chloe (#59)

* Add Lalaya (#56)

* Add Venous (#55)

* Add WigglyTree (#61)

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

* Add Ganjafin (#62)

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

* Add Archas (#64)

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

* Add neycwang (#63)

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

* Krytocon fixes (#65)

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

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

* Add DaWoblefet (#67)

* Add Aelita (#66)

* Rename mod to gen9ssb

* Fix file for ssb in codeowners

* Swiffix: Fix typo in description (#70)

* Make some changes for client support down the line (#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 (#80)

* Rename users

* Add Meteordash

* Add WarriorGallade

* Add Notater517

* Add HiZo (#81)

* Add Isaiah + tweak Ney

* Add berry

* Add kenn

* Add Lasen

* Fix move type

* Add aQrator (#82)

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

* Add Teclis (#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 e15eef6a025af42d1d090d7c958513586b494a28.

* properly make quote less hacky

* Add Alex

* I am a dumbass

* Redo Violet (#84)

* Add Sulo (#90)

* Add Quite Quiet (#89)

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

* Add Hydrostatics (#87)

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

* Add Lunell (#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 (#96)

* Add Siegfried (#93)

* Add PartMan (#86)

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

* Add YveltalNL (#97)

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

* Add Arya (#94)

* Fix things

* Add Kiwi (#91)

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

* Add zoro (#101)

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

* Add J0rdy004 (#103)

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

* Add Artemis (#102)

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

* Add Frozoid (#100)

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

* Add Monkey (#98)

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

* Add Two of Roses (#95)

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

* Add Emboar02 (#99)

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

* Add Appletun a la Mode (#92)

* Add ptoad

* Add Lionyx (#104)

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

* Add chaos (#105)

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

* Add Ransei (#106)

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

* Add Karthik (#107)

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

* Add Zarel (#108)

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

* Add Corthius (#111)

* Add Fame (#109)

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

* Add Alexander489 (#110)

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

* Add Alpha (#114)

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

* Add Tico (#115)

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

* Add skies (#113)

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

* Add Valerian (#116)

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

* Add Klmondo (#117)

* Add xy01 (#118)

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

* Add Lets go shuckles (#119)

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

* Add Pissog (#120)

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

* Add Kalalokki (#121)

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

* Add Solaros & Lunaris (#122)

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

* Add AuzBat (#124)

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

* Add Soft Flex (#123)

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

* Add Struchni (#125)

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

* Add autumn (#126)

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

* Update move name

* Update random-teams.ts

* Add Elliot (#129)

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

* Add Akir (#127)

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

* Add Arsenal (#128)

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

* Add Billo (#130)

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

* Add Frostyicelad (#131)

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

* Add kingbaruk (#132)

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

* Add maroon (#133)

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

* Add avarice (#136)

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

* Tweak HiZo, Update Irpachuza

* fix vio anim

* fix crash

* Add Clouds (#134)

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

* Add Clefable (#135)

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

* Add za (#140)

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

* Add Haste Inky (#138)

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

* Add Nyx (#137)

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

* Update Emboar02 (#141)

* Add Froggeh (#139)

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

* Add Cake (#142)

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

* Add ken (#143)

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

* Add ausma (#144)

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

* Add Tenshi (#146)

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

* Add spoo (#148)

* Add Arcueid (#147)

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

* Add nya (#152)

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

* Add RSB (#149)

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

* Add Kaede (#151)

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

* Add Beowulf (#150)

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

* Add pokemonvortex (#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 (#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 (#157)

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

* Add MyPearl (#154)

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

* Add marillvibes (#156)

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

* Add R8 (#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 (#158)

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

* Add PenQuin / update Sificon (#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 (#160)

* Add blazeofvictory (#165)

* Add Rainshaft (#166)

* Add vmnunes (#164)

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

* Add SexyMalasada (#167)

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

* Add quziel (#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 (#169)

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

* Add Pulse_kS (#171)

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

* Add Aethernum (#172)

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

* Add DianaNicole (#170)

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

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

* Update ausma, MadMonty (#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 (#161)

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

* Add Lyna (#173)

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

* Add Vistar (#174)

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

* Bugfixes vol. 1 (#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 (#176)

* Fix bug with Scapegoat

* More Bugfixes/QoL changes (#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 (#178)

* Add Hidden Format and fix aesthetics (#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 (#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>
2024-05-04 12:01:51 -06:00
.github/workflows CI: Force pull requests to fetch history (#9720) 2023-09-24 19:29:51 -07:00
.vscode Turn off Format on Save in VS Code (#7807) 2020-12-24 09:44:24 -08:00
config Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
data Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
databases Add offline messaging (#8440) 2023-11-04 14:45:18 -05:00
lib Utils: Ensure require cache clearing is exhaustive 2024-04-22 15:41:54 -05:00
logs Restore READMEs for logs/ subdirs 2021-10-06 16:55:39 -05:00
server Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
sim Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
test Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
tools Fix tools/set-import/index.js (#9865) 2023-10-30 12:59:33 -05:00
translations Update Japanese translations (#9792) 2023-09-24 19:28:46 -07:00
.editorconfig Editorconfig: Increase indent size to 3 spaces (#4090) 2017-10-29 13:21:55 -05:00
.eslintrc-no-types.json Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
.eslintrc.json Fix ESLint errors 2022-02-14 20:42:09 -08:00
.gitattributes Normalize file endings when committing. 2015-12-31 19:10:53 +01:00
.gitignore Add package-lock.json 2023-02-16 19:42:58 -05:00
.mocharc.json Random Battles: Add basic unit test framework 2021-03-18 18:17:25 -07:00
.npmignore Include config-example.js in npm package 2023-04-14 03:47:01 +09:00
.npmrc Add package-lock.json 2023-02-16 19:42:58 -05:00
ARCHITECTURE.md Fix dead links in docs (#10097) 2024-01-10 05:50:18 -08:00
build Don't rebuild if installed by NPM package 2023-04-14 11:44:52 +09:00
CODEOWNERS Add Super Staff Bros: Ultimate (#10279) 2024-05-04 12:01:51 -06:00
COMMANDLINE.md fix sim/README.md hyperlink (#9896) 2023-11-12 22:49:50 -06:00
CONTRIBUTING.md Explain how to access localhost.psim.us 2022-11-10 18:25:53 -08:00
LICENSE Update LICENSE year (#10216) 2024-03-19 23:59:10 -04:00
old-simulator-doc.txt Change weight units to hectograms (#5765) 2019-10-03 14:00:16 +10:00
package-lock.json Bump mysql2 version 2024-04-24 00:41:15 -05:00
package.json Bump mysql2 version 2024-04-24 00:41:15 -05:00
pokemon-showdown Use source maps in pokemon-showdown validate-team 2023-12-08 23:29:54 -05:00
Procfile Update Procfile (#4937) 2018-10-29 23:27:24 -05:00
PROTOCOL.md PROTOCOL.md: New API! New API! 2023-03-26 15:26:18 -07:00
README.md README: Update line about supported generations (#9848) 2023-10-19 09:43:18 -05:00
simulator-doc.txt Fix bugs with secondary/ability order 2020-02-08 08:07:39 -08:00
tsconfig.json Remove unlinkUser (#10101) 2024-01-08 20:49:34 -08:00

Pokémon Showdown

Navigation: Website | Server repository | Client repository | Dex repository

Build Status Dependency Status

Introduction

Pokémon Showdown is many things:

Pokémon Showdown simulates singles, doubles and triples battles in all the games out so far (Generations 1 through 9).

  • PROTOCOL.md - How the client and server communicate with each other.

  • sim/SIM-PROTOCOL.md - The part of the protocol used for battles and battle messages.

  • CONTRIBUTING.md - Useful code standards to understand if you want to send pull requests to PS (not necessary if you're just using the code and not planning to contribute back).

  • ARCHITECTURE.md - A high-level overview of how the code works.

  • Bot FAQ - An FAQ compiled by Kaiepi regarding making Pokemon Showdown bots - mainly chatbots and battle bots.

Community

PS has a built-in chat service. Join our main server to talk to us!

You can also visit the Pokémon Showdown forums for discussion and help.

If you'd like to contribute to programming and don't know where to start, feel free to check out Ideas for New Developers.

License

Pokémon Showdown's server is distributed under the terms of the MIT License.

Credits

Owner

  • Guangcong Luo [Zarel] - Development, Design, Sysadmin

Staff

  • Andrew Werner [HoeenHero] - Development
  • Annika L. [Annika] - Development
  • Chris Monsanto [chaos] - Development, Sysadmin
  • Kris Johnson [Kris] - Development
  • Leonard Craft III [DaWoblefet] - Research (game mechanics)
  • Mathieu Dias-Martins [Marty-D] - Research (game mechanics), Development
  • Mia A [Mia] - Development

Contributors