Rewrite Pokémon 'D' script