Skip to content

Commit

Permalink
fix exp gain when defeating two opponents at once (rh-hideout#3798)
Browse files Browse the repository at this point in the history
Co-authored-by: ghoulslash <[email protected]>
  • Loading branch information
2 people authored and PCG06 committed Dec 23, 2023
1 parent 4a6eb13 commit 63a9c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -3424,7 +3424,8 @@ bool32 HandleFaintedMonActions(void)
&& gCurrentTurnActionNumber != gBattlersCount)
{
gAbsentBattlerFlags |= gBitTable[gBattlerFainted];
return FALSE;
if (gBattleStruct->faintedActionsState != 1)
return FALSE;
}
break;
case 3:
Expand Down

0 comments on commit 63a9c72

Please sign in to comment.