Pokémon battle simulator.
Go to file
Slayer95 7bd04f470c
Linked: Remove m.lastMoveAbsolute in favor of lastMove (#11791)
* Fix Linked last move checks

At some point between af6affb and 045fe456, Linked's concept of
last absolute move changed from using the 2nd move in a link to
using the 1st move, likely in an attempt to preserve the 1st move
information that used to be stored for debugging purposes.

However, the redefinition has impacted the mechanics of Sketch, and
other moves for a long time.

This commit restores the original mechanics, and gets rid of the
last absolute move concept, in favor of the orthodox pokemon.lastMove.
In consequence, all modded data entries that now match gen9 are
also deleted.

* Linked: Fix Grassy Glide priority calculation
2026-03-03 09:50:30 -07:00
.github/workflows fix(workflow): remove extra brace in update_version.yml (#11395) 2025-08-24 13:18:27 -07:00
.vscode Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
config 4v4 Doubles UU: Add Best of checkbox for challenges 2026-03-02 19:55:47 -07:00
data Linked: Remove m.lastMoveAbsolute in favor of lastMove (#11791) 2026-03-03 09:50:30 -07:00
databases Remove inactive ladders 2025-08-31 23:57:15 -06:00
lib Fix visualize function Set case callback arguments (#11525) 2026-01-25 09:11:14 -05:00
logs Restore READMEs for logs/ subdirs 2021-10-06 16:55:39 -05:00
server Ladder tours: Cap deadline length 2026-03-01 01:11:09 -06:00
sim FIx lint 2026-03-02 21:15:53 -07:00
test Implement Zacian and Zamazenta transformations as species conditions (#11748) 2026-02-17 18:34:52 -07:00
tools Implement Mega Stones as {key: value} pairs (#11684) 2026-01-08 14:59:22 -07:00
translations Lint translations and tools 2025-03-01 22:40:58 -08:00
.editorconfig Editorconfig: Increase indent size to 3 spaces (#4090) 2017-10-29 13:21:55 -05:00
.gitattributes Normalize file endings when committing. 2015-12-31 19:10:53 +01:00
.gitignore Fully gitignore logs/ 2024-05-18 03:27:11 -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 Improve ARCHITECTURE.md more 2024-11-05 00:10:39 +09:00
build CLI: Update to use util.parseArgs (#11245) 2025-07-17 05:06:26 -07:00
CODEOWNERS Remove inactive ladders 2025-08-31 23:57:15 -06:00
COMMANDLINE.md fix sim/README.md hyperlink (#9896) 2023-11-12 22:49:50 -06:00
CONTRIBUTING.md Remove sucrase dependency 2025-07-23 22:13:33 -07:00
eslint-ps-standard.mjs Sync eslint with client 2025-05-06 22:13:03 -07:00
eslint.config.mjs Lint translations and tools 2025-03-01 22:40:58 -08:00
LICENSE Update LICENSE Year (#11689) 2026-01-11 13:57:14 -08:00
old-simulator-doc.txt Fix typos (#11200) 2025-06-19 04:10:12 -07:00
package-lock.json Remove sucrase dependency 2025-07-23 22:13:33 -07:00
package.json Remove sucrase dependency 2025-07-23 22:13:33 -07:00
pokemon-showdown Random Battles: August 2025 balance patch (#11411) 2025-08-31 23:39:28 -06:00
Procfile Update Procfile (#4937) 2018-10-29 23:27:24 -05:00
PROTOCOL.md Fix random typos (#11020) 2025-04-13 23:59:36 -07:00
README.md Update various instances of old author names 2024-07-01 12:23:44 -06:00
simulator-doc.txt Fix bugs with secondary/ability order 2020-02-08 08:07:39 -08:00
tsconfig.json TypeScript: Enable noImplicitOverride 2025-02-26 14:38:32 -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 [dhelmise] - Development
  • Leonard Craft III [DaWoblefet] - Research (game mechanics)
  • Mathieu Dias-Martins [Marty-D] - Research (game mechanics), Development
  • Mia A [Mia] - Development

Contributors