mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-22 18:47:39 -05:00
* 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. |
||
|---|---|---|
| .. | ||
| conditions.ts | ||
| moves.ts | ||
| scripts.ts | ||