Pokémon Sun & Moon have been out for over two weeks now, and a glitch has now been noted to occur when players take part in a Battle Spot battle. [Thanks, Serebii.]
Currently, there is an issue regarding the item Rocky Helmet, which does a small amount of damage to the opposing Pokémon when they attack the wearer of this item. In a situation which ends with both team’s final Pokémon fainting, the Pokémon who landed the last attack would normally be decided the winner. However, with this glitch, the Pokémon holding the Rocky Helmet will be declared the winner instead. Game Freak has noted that they are currently looking into this glitch.
Pokémon Sun and Pokémon Moon are available for the Nintendo 3DS.