-When you KO a Pokémon on the turn it would get healed by Wish, the Wish gets "stored" and will heal the Pokémon currently out if it doesn't get fainted immediately. If it is, the wish remains "stored".
-Using Soft-Boiled out of battle always takes away 20% of the user's Max HP. It's not supposed to drain more HP than it heals.