322. When a Cleanup occurs, the following steps occur in order:

322.1. If a player has as many points as the Victory Score , that player wins.

322.2. Handle outstanding board state

322.3. All Units that have non-zero Damage marked on them equalling or exceeding their Might that have Deathknell abilities will trigger their Deathknell ability now, making note of their current location, attributes, and other information relevant to add the trigger as a Pending Item See rule 734 Deathknell for more information .

322.4. All Units that have non-zero Damage marked on them equalling or exceeding their Might are killed and placed in their owners' Trash.

322.5. Assign or Remove the Attacker or Defender designation from Units as needed if there is a Combat in progress

322.5.a. If there are Units present at the Battlefield the Combat is taking place at, but do not have a designation, they gain the same designation as their Controller now
322.5.b. If there are Units present at the Battlefield the Combat is taking place at, but have the opposite designation of their controller, they lose that designation, and gain the same designation as their controller now
322.5.c. If there are Units at locations other than the Battlefield that the Combat is taking place at, but have either Attacker or Defender designations, they lose those designations now

322.6. Battlefields with no Units occupying them and no Contested status become Uncontrolled.

322.7. Recall all Gear at Battlefields. Remove all Hidden cards from all Battlefields that are not controlled by the same player and place them in their owner's Trash.

322.8. Mark a Showdown as Staged at each Battlefield that Contested was applied to that is Uncontrolled .

322.8.a. The Showdown remains Staged at each Battlefield that is Contested and has only units present controlled by the player that applied Contested

322.9. If Units of an opposing player are present at a Battlefield that has a Showdown staged before it can be Opened, the Showdown will cease being Staged

322.10. Mark a Combat as Staged at each Battlefield that Contested was applied to that have Units present controlled by opposing players.

322.10.a. The Combat remains Staged at that Battlefield as long as there are Units present from two opposing players there.

322.11. If Units of two opposing players are no longer present at a Battlefield that has a Combat Staged before it has opened, the Combat will cease being Staged

322.12. Finalize any Pending Items on the Chain

322.13. If the current state is a Neutral Open State and one or more Showdowns are Staged , the Turn Player chooses one of those Battlefields. A Showdown begins there.

322.14. If the current state is a Neutral Open State and Combat is Staged at one or more Battlefields , the Turn Player chooses one of those Battlefields . Combat begins there.