From 8542e7fb1f0b633fbfa8a86a48e6de3eb3e129b4 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 5 Aug 2019 11:39:31 +0200 Subject: [PATCH] Blizzard 100% accuracy in hail --- src/battle_script_commands.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 7f34ef68db..f9ccb46385 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1181,7 +1181,9 @@ static bool32 AccuracyCalcHelper(u16 move) return TRUE; } - if ((WEATHER_HAS_EFFECT && (gBattleWeather & WEATHER_RAIN_ANY) && (gBattleMoves[move].effect == EFFECT_THUNDER || gBattleMoves[move].effect == EFFECT_HURRICANE)) + if ((WEATHER_HAS_EFFECT && + (((gBattleWeather & WEATHER_RAIN_ANY) && (gBattleMoves[move].effect == EFFECT_THUNDER || gBattleMoves[move].effect == EFFECT_HURRICANE)) + || (((gBattleWeather & WEATHER_HAIL_ANY) && move == MOVE_BLIZZARD)))) || (gBattleMoves[move].effect == EFFECT_VITAL_THROW) || (gBattleMoves[move].accuracy == 0)) {