mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +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) {
|
if (lapseType === BattlerTagLapseType.PRE_MOVE) {
|
||||||
return super.lapse(pokemon, lapseType) && source.isActive(true);
|
return super.lapse(pokemon, lapseType) && source.isActive(true);
|
||||||
} else {
|
} else {
|
||||||
return source.isActive(true) ?? false;
|
return source.isActive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user