Return whether two battler indices are considered allies. To instead check with Pokemon objects, use Pokemon.isOpponent.
Pokemon
Pokemon.isOpponent
First battler index
Second battler index
Whether the two battler indices are allies. Always false if either index is ATTACKER.
false
ATTACKER
Return whether two battler indices are considered allies. To instead check with
Pokemon
objects, usePokemon.isOpponent
.