Zarel/Pokemon-Showdown — pull request #826 by Relados (2014-04-15 23:03:33+00:00)
Title: Prevent Memento and recovery together

If a Pokemon has recovery, it plans to survive in the long-term and having a move that sacrifices itself is unwanted.

(This was found on probably the worst set ever seen in Random Battles: Memento / Rest / Sleep Talk / Poison Jab)