I don't have any replays to show what I'm saying, but I don't think they would help anyway.
In triple battles, if you have a Pokemon that cannot target an opposing Pokemon because they are out of range, you have to target your own Pokemon.
Example:
P1 = Pokemon 1
# = Blank slot
P1 # #
#...