I'm actually not too sure it checks Heatran, Dragonite, or Talonflame consistently. Sure, if Mega Diancie is at full health, she'll force Talonflame out, but if she comes in on a Brave Bird, she loses anywhere from 44% to 53%. If it does over 50%, it can just do Brave Bird again and kill her...