Aurora Veil now only works in Hail

This commit is contained in:
DizzyEggg 2019-12-23 17:50:13 +01:00
parent 63621da46c
commit ea9109943d

View file

@ -7640,7 +7640,8 @@ static void Cmd_various(void)
}
break;
case VARIOUS_SET_AURORA_VEIL:
if (gSideStatuses[GET_BATTLER_SIDE(gActiveBattler)] & SIDE_STATUS_AURORA_VEIL)
if (gSideStatuses[GET_BATTLER_SIDE(gActiveBattler)] & SIDE_STATUS_AURORA_VEIL
|| !(WEATHER_HAS_EFFECT && gBattleWeather & WEATHER_HAIL_ANY))
{
gMoveResultFlags |= MOVE_RESULT_MISSED;
gBattleCommunication[MULTISTRING_CHOOSER] = 0;