pokemon-showdown/data
Slayer95 96871d0fc9
Linked: Improvements to queue and targetting (#11935)
* Linked: Support dynamic turn order after megaevo

The original approach was a minimally invasive hack meant to support
the theoretical yet never playable Doubles/Triples Linked formats.

However, in the playable Singles formats, it had the effect of only
resorting the queue once, before the second player Pokémon moves.
Notably, in a custom format with megaevolutions allowed, the resorting
after mega evolutions are done but before they move was not omitted. In
fact, it could be said that any significant re-sorts were removed.

This commit adds support for proper turn ordering for newly mega-evolved
Pokémon, by implementing a flag specific to Actions for linked 2nd moves,
so that all standard re-sorts before moves are done, while linked 2nd moves
are exempt.

* Linked: Support tracking originalTarget

Implements Propeller Tail, Snipe Shot, and Stalwart,
for compatibility with non-Singles game types.
2026-04-14 13:20:40 -06:00
..
mods Linked: Improvements to queue and targetting (#11935) 2026-04-14 13:20:40 -06:00
random-battles Random Battles: March 2026 balance patch (#11865) 2026-04-02 00:48:33 -06:00
text Implement Champions (#11910) 2026-04-10 20:29:01 -06:00
abilities.ts Champions: Fix Piercing Drill and Unseen Fist (#11917) 2026-04-11 23:55:02 -06:00
aliases.ts FFA: Remove Species Clause 2026-04-11 02:37:34 -06:00
conditions.ts Champions: Encore, Mega Sol and validations fixes (#11914) 2026-04-11 10:07:58 -06:00
formats-data.ts Fix ZU by usage NFEs (#11906) 2026-04-11 02:29:37 -06:00
FORMES.md Implement CAP 36 (#11270) 2025-07-13 10:49:17 -04:00
items.ts Fix Max PP for copied moves (#11844) 2026-04-08 12:44:10 -06:00
learnsets.ts Fix Kubfu event data (#11940) 2026-04-14 13:17:04 -06:00
moves.ts Champions: Fix Piercing Drill and Unseen Fist (#11917) 2026-04-11 23:55:02 -06:00
natures.ts Refactor types for Lowercase<string> (#10377) 2024-07-01 15:57:14 -07:00
pokedex.ts Implement Champions (#11910) 2026-04-10 20:29:01 -06:00
pokemongo.ts Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
rulesets.ts Fix support for Best Of + Triples (#11927) 2026-04-12 23:56:29 -05:00
scripts.ts Add Gen 9 (#8997) 2022-11-17 20:46:29 -05:00
tags.ts Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
typechart.ts Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00