In fact, Gengar inflicts damage upon itself at the same time. Wha-What has just transpired?!'Pain Split'.Pain Split divides the remaining HP of both combatants, then distributes it proportionally.To put things concretely, the damage sustained by Gengar has been transferred to your Pokémon.