Removed stray semi-colon in AI code (#6134)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-01-28 19:14:12 +01:00 committed by GitHub
parent c77cf8284c
commit 4041af0b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3668,7 +3668,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move)
case EFFECT_STEALTH_ROCK:
case EFFECT_STICKY_WEB:
case EFFECT_TOXIC_SPIKES:
if (AI_ShouldSetUpHazards(battlerAtk, battlerDef, aiData));
if (AI_ShouldSetUpHazards(battlerAtk, battlerDef, aiData))
{
if (gDisableStructs[battlerAtk].isFirstTurn)
ADJUST_SCORE(BEST_EFFECT);