There's a bug relating to the move Grudge. I don't know if it can be really called a bug though. From Bulbapedia - When Grudge is used, if the user faints as the direct result of an attack, the move which causes the user to faint will lose all of its PP. But I noticed that after opponent faints...