Fixes Round doubling it's BP if previous Round failed (#5907)

This commit is contained in:
Alex 2024-12-31 00:39:13 +01:00 committed by GitHub
parent 9d30299148
commit 13dcd35db0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9121,7 +9121,7 @@ static inline u32 CalcMoveBasePower(struct DamageCalculationData *damageCalcData
case EFFECT_ROUND:
for (i = 0; i < gBattlersCount; i++)
{
if (i != battlerAtk && IsBattlerAlive(i) && gLastMoves[i] == MOVE_ROUND)
if (i != battlerAtk && IsBattlerAlive(i) && gMovesInfo[gLastUsedMove].effect == EFFECT_ROUND)
{
basePower *= 2;
break;