I believe what @BowTheDeceitful says, and it is true, but I've noticed that the game seems to dictate when I can use an ally in a match or not. Maybe it's just coincidence, but I thought the game decides (scripted) and just gives you the option pre-fight.