mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
Update src/data/move.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
3ef2684c9c
commit
d0a6f87328
@ -5505,7 +5505,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
|
||||
|
||||
// Don't allow wild mons to flee with U-turn et al
|
||||
if (this.selfSwitch && !user.isPlayer() && move.category !== MoveCategory.STATUS) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// Switch out logic for everything else (eg: WILD battles)
|
||||
|
Loading…
Reference in New Issue
Block a user