From bb185d984556159fca8874a11a26657199a62b19 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sat, 30 Mar 2024 17:11:34 -0400 Subject: [PATCH] Fix ice types immune to sleep --- src/field/pokemon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index e5f099488..1775e0677 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1608,6 +1608,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { case StatusEffect.SLEEP: if (this.isGrounded() && this.scene.arena.terrain?.terrainType === TerrainType.ELECTRIC) return false; + break; case StatusEffect.FREEZE: if (this.isOfType(Type.ICE)) return false;