With the perfect prediction, Azelf uses Psyshock on the switch in. The calcs for Azelf appear to be wrong it is a guaranteed 3HKO, I checked. Since Azelf is faster than Rotom-Heat, it then proceeds to survive a dark pulse and then defeat Rotom-Heat, without even needing Stealth Rock. Note that...