MrMasochism/Pixelmon — pull request #1087 by KaiBB (2013-07-07 21:28:43+00:00)
Title: 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!