这句话的后半部分如何翻译,且在整个句子中做什么成份?

问题描述:

这句话的后半部分如何翻译,且在整个句子中做什么成份?
They drew the flags of all the countries that would take part in the World Cup in Japan and South Korea wishing each football team good luck.从这个地方起:in Japan and South Korea wishing each football team good luck.这一段在整个句子中如何翻译,且在这个句子中充当什么成份?

in Japanese and South Korea是前一句的,wishing each football team good luck的主语为They ,他们希望每个足球队好运