if the opponent is shiny, shiny ditto will transform into shiny. if the opponent is not shiny, shiny ditto will transform into normal coloration.