mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
just kidding
This commit is contained in:
parent
536227c628
commit
bb99bcac8d
@ -2602,7 +2602,7 @@ export class ImprisonTag extends MoveRestrictionBattlerTag {
|
||||
if (lapseType === BattlerTagLapseType.PRE_MOVE) {
|
||||
return super.lapse(pokemon, lapseType) && source.isActive(true);
|
||||
} else {
|
||||
return source.isActive(true) ?? false;
|
||||
return source.isActive(true);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user