Technical Machine: Devolution
I found a bug with TM Devolution where if a Pokemon with a HP modifier such as heroes cape and has damage counters on it equal to or more than the HP of the newly Devolved Pokemon with out the additional HP it will be knocked out before the game registers the tool card.