make getSwitchOutCondition public

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-01 10:29:08 -06:00 committed by GitHub
parent 6ef3003528
commit bad0494278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4818,7 +4818,7 @@ class ForceSwitchOutHelper {
* @param opponent The opponent Pokémon.
* @returns `true` if the switch-out condition is met
*/
getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
public getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
const switchOutTarget = pokemon;
const player = switchOutTarget instanceof PlayerPokemon;