fix (hazards): ghosty used rapid spin! ghosty blew the semicolon away! (#8433)

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
This commit is contained in:
ghostyboyy97 2025-12-04 12:41:39 -05:00 committed by GitHub
parent 99372b9c1e
commit fafd66e207
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5855,7 +5855,7 @@ static s32 AI_CalcAdditionalEffectScore(u32 battlerAtk, u32 battlerDef, u32 move
ADJUST_SCORE(DECENT_EFFECT);
break;
case MOVE_EFFECT_STEALTH_ROCK:
if (AI_ShouldSetUpHazards(battlerAtk, battlerDef, move, aiData));
if (AI_ShouldSetUpHazards(battlerAtk, battlerDef, move, aiData))
{
if (gDisableStructs[battlerAtk].isFirstTurn)
ADJUST_SCORE(BEST_EFFECT);