Copied from the Trello card Make KOs caused by damage not happen until the attack is finished (label: engine). Created by starg09 on 2020-07-02; latest comment 2025-11-04; moved to In Progress by axpendix on 2026-02-26. This is an engine-wide change rather than a single card.
Description (starg09, 2020-07-02, edited up to 2020-07-05)
This affects a multitude of cards, but for a specific case most of those using whirlwind() post some amount of damage. Proper order would be:
Damage applied → afterDamage → Switch triggers (opponent is asked for new active) → switch happens → Attack finishes → KOs are checked
However, as of right now KOs are checked before afterDamage happens, for Pokémon damaged. Placing the switch events prior to afterDamage isn’t a solution either, as in that case the damage is placed once the active was benched (thus being subject to blockers such as Bench Barrier, Sky Pillar and Submerge). KOs should only be checked in the middle of an attack if explicitly asked, otherwise it should finish placing all damage, applying all effects and reactions to said attack, and only then checking for KOs.
Edit: This also affects retreating/switching: forum 10330
Edit 2: Another kind of ability that may be affected: currently sturdy-like powers (“If this Pokémon has full HP and would be Knocked Out by damage from an attack, this Pokémon is not Knocked Out, and its remaining HP becomes 10.”) do the following:
- Detect the damage before being finally applied.
- Is the sturdy card at full health, and receiving enough damage for it to be KO’d?
- If so, damage output is reduced so it stays at 10HP.
That last step is flawed: Pokémon should receive all the damage, be marked for KO, and only then be prevented from being KO’d and healed back to 10HP. Sounds trivial, but the difference matters for cards like Ninja Boy that allow use of other cards that count total damage applied the previous turn.
Still open (YZ, 2025-11-04)
Still bugged.
- The Whirlwind example: I came up with this scenario to test. Suppose the opponent has an Active Shedinja DX with Cessation Crystal attached, and one other mon (without Cess) on their Bench. You attack with Drifblim LA’s Whirlwind. What should happen is that Shedinja gets 60 damage put onto it, but gets sent to the Bench first, and only then are KOs checked. Since Shedinja is now Benched, Cessation Crystal has no effect, so you don’t get to take a Prize for the KO. Instead Shedinja is KOed when it is still Active and you get to take a Prize.
- The Primal Groudon-EX example (2020-08-21 comment below): The Sash-ed mon is KOed instead of surviving with 10 HP.
Comment history (oldest first)
starg09, 2020-07-05: added Edit 2 (sturdy abilities).
A since-deleted Trello user, 2020-08-21: another example:
Q. If Lysandre Labs is in play and I use Primal Groudon’s “Gaia Volcano” attack to discard the stadium and do enough damage for KO, what happens if the full HP Fighting-type Defending Pokemon has Focus Sash attached to it?
A. While Lysandre Labs is in play Focus Sash has no effect. However, Lysandre Labs is discarded as part of the attack before KO’s are checked. So the Focus Sash would be in effect and if all of its conditions are met the Defending Pokemon is not KO’d but has 10HP remaining. (May 31, 2018 TPCi Rules Team)
axpendix, 2020-10-26: “Would this be resolved if we simply removed some CheckFaint calls, such as the ones in DirectDamage, Retreat, CheckAbilities, Evolve, LevelUp, ApplyDamages?”
vcunningham, 2020-11-21: “Using the Japanese advanced rules manual at https://www.pokemon-card.com/assets/document/advanced_manual.pdf (Translation attempt: Pokémon TCG Knockout Handling - Pastebin.com). It’s complicated. I’m not actually sure that the Retreat/Switching one is actually incorrect behaviour based on the translations of that document though. If it asks you to choose the Pokémon to place as the active twice then I’d say checking fainting should happen after discarding and skip the selection in Retreat to resolve that. Since you do have to check fainting after other card effects, it probably makes more sense to block the CheckFaint during an attack or Pokémon Checkup (BetweenTurns), then check it at the end. I believe the engine is capable of doing this as well, correct? I assume the last bit is just a bug with those implementations that can be fixed for each of them. Donphan even has code commented out that seems to work as desired. I’m not actually sure why it isn’t being used currently.”
vcunningham, 2020-11-23: “Actually, testing the Switch/Whirlwind case, there is code explicitly preventing actually doing the switch if the Pokémon is knocked out which according to the commit was to fix Rapid Spin issues. Taking this out and doing the CheckFaint blocking in Attack seems to work to fix whirlwind, rapid spin, and retreating though.”
vcunningham, 2020-11-23: “Looks like the same should be true for Trainer cards.”
Q. Can Pokemon be Knocked Out partway through completing the Trainer card?
A. A Pokemon cannot be Knocked Out partway through the Trainer card. You must complete all of the actions of a Trainer card BEFORE you check for game state checks (to see if a Pokemon is Knocked out for example). (Mar 6, 2002 WotC Rules Team Update; Mar 7, 2002 WotC Chat, Q550)
axpendix, 2025-01-04: “I’ve recently pushed a change which removes the CheckFaint call in DirectDamage. I believe this should resolve some interactions and I’d like to have someone check conditions in the description again and update it.”
YZ, 2025-11-04: “Still bugged.” (the two scenarios quoted above)
Note (2026-10-27)
Knock Out checks were touched several times in October 2026 (git a32a08b29, d43ec8915, c9ce9f3c5: interrupted KO checks, Pokémon Checkup KOs). None of them moves the KO check to the end of the attack, so YZ’s two scenarios are presumably still open. This needs a design decision before any fix.