diff --git a/src/data/ability.ts b/src/data/ability.ts index 5a3f1d7b2cd..9cb4cae9db9 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2484,6 +2484,9 @@ function getSheerForceHitDisableAbCondition(): AbAttrCondition { function getWeatherCondition(...weatherTypes: WeatherType[]): AbAttrCondition { return (pokemon: Pokemon) => { + if (!pokemon.scene?.arena) { + return false; + } if (pokemon.scene.arena.weather?.isEffectSuppressed(pokemon.scene)) { return false; }