The Flee effect no longer works during Trainer battles.

Also note that as a result, Dragon Tail flees Wild Pokemon battles but still does the damage to the Pokemon!