You're lucky. Because I found a shiny geodude in Pokémon Moon, and uses the self-distruct move and died instantly!