fix syntax err

This commit is contained in:
Evan 2021-01-10 09:02:06 -07:00
parent bb540b6236
commit 6a3266a265

View file

@ -1136,7 +1136,7 @@ bool32 AI_WeatherHasEffect(void)
for (i = 0; i < gBattlersCount; i++) for (i = 0; i < gBattlersCount; i++)
{ {
if (IsBattlerAlive(i) if (IsBattlerAlive(i)
&& (AI_GetAbility(i) == ABILITY_AIR_LOCK || AI_GetAbility(i) == ABILITY_CLOUD_NINE) && (AI_GetAbility(i) == ABILITY_AIR_LOCK || AI_GetAbility(i) == ABILITY_CLOUD_NINE))
return TRUE; return TRUE;
} }
return FALSE; return FALSE;