mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
Fixed a thing
This commit is contained in:
parent
572d08f332
commit
15a762d2c5
@ -250,8 +250,8 @@ export class MovePhase extends BattlePhase {
|
|||||||
|
|
||||||
switch (this.pokemon.status.effect) {
|
switch (this.pokemon.status.effect) {
|
||||||
case StatusEffect.PARALYSIS:
|
case StatusEffect.PARALYSIS:
|
||||||
activated = Overrides.STATUS_ACTIVATION_OVERRIDE ??
|
activated =
|
||||||
this.pokemon.randBattleSeedInt(4) === 0 || Overrides.STATUS_ACTIVATION_OVERRIDE === true) &&
|
(this.pokemon.randBattleSeedInt(4) === 0 || Overrides.STATUS_ACTIVATION_OVERRIDE === true) &&
|
||||||
Overrides.STATUS_ACTIVATION_OVERRIDE !== false;
|
Overrides.STATUS_ACTIVATION_OVERRIDE !== false;
|
||||||
break;
|
break;
|
||||||
case StatusEffect.SLEEP: {
|
case StatusEffect.SLEEP: {
|
||||||
|
Loading…
Reference in New Issue
Block a user