Skip to content

Commit

Permalink
Fixes Round doubling it's BP if previous Round failed (#5907)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Dec 30, 2024
1 parent 9d30299 commit 13dcd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 13dcd35

Please sign in to comment.