When the ability holder faints, it deals damage to its opponent equal to the amount of HP it had left before being fainted through direct damage. Damage through weather, status conditions and field hazards do not trigger this ability.
The ability, Aftermath, functions similarly except it can prevented if the attack doesn't make contact or the user has Damp and is based off a quarter of max health instead of remaining health.