Update src/data/move.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
AJ Fontaine 2024-10-11 14:07:47 -04:00 committed by GitHub
parent 3ef2684c9c
commit d0a6f87328
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5505,7 +5505,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
// Don't allow wild mons to flee with U-turn et al // Don't allow wild mons to flee with U-turn et al
if (this.selfSwitch && !user.isPlayer() && move.category !== MoveCategory.STATUS) { if (this.selfSwitch && !user.isPlayer() && move.category !== MoveCategory.STATUS) {
return true; return false;
} }
// Switch out logic for everything else (eg: WILD battles) // Switch out logic for everything else (eg: WILD battles)