Skip to content

Commit

Permalink
Correct multiplier behavior for SOUL BRACE
Browse files Browse the repository at this point in the history
  • Loading branch information
gitMyPad committed Jan 27, 2025
1 parent 1484e63 commit 1a4b276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pokemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -5761,7 +5761,7 @@ void MonGainEVs(struct Pokemon *mon, u16 defeatedSpecies)
if (ivIncrease < 1)
continue;

evIncrease *= multiplier;
ivIncrease *= multiplier;
if (GetMonData(mon, MON_DATA_HP_IV + i, NULL) + ivIncrease > MAX_PER_STAT_IVS)
ivIncrease = MAX_PER_STAT_IVS;
else
Expand Down

0 comments on commit 1a4b276

Please sign in to comment.