Professor Kukui and Rotom Dex are big fans of the TV show Alolan Detective Laki, and Rotom even has a blond wig so it can pretend to be the star. When Ash’s Electrium Z goes missing, Rotom excitedly takes the case!
Through video replay, Rotom tracks the Z-Crystal’s last known whereabouts to the schoolyard, where Ash and Kiawe were training. Rotom suspects Kiawe ended up with the crystal, but Lillie has another explanation: the video shows Ash putting it in his pocket. Ash remembers that he put the crystal on his nightstand before going to bed—and Pikachu triumphantly finds the missing Electrium Z caught in Rotom’s wig!