In a 2v1 where the player has a partner trainer and they are facing one opponent, the raidcapture condition sometimes activates when the partner pokemon faints. It gives you the prompt to "capture" your partner's Pokemon, and your partner's Pokemon can even flee. How can I make it so that the raidcapture condition only activates if my opponent meets the conditions, and not my ally?