diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-04-03 12:38:07 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-04-03 14:07:31 -0400 |
commit | f4d8a91ba44d7bcf0f9df8db7ca5f7aeb688497f (patch) | |
tree | 958b10102dbfef018659eb490ba46eb4de330bc9 /src/battle_util.c | |
parent | 9ea9ffde09c9f3ca1772045935b3b0bd858232a0 (diff) |
Misc battle script cleanup
Diffstat (limited to 'src/battle_util.c')
-rw-r--r-- | src/battle_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_util.c b/src/battle_util.c index 6fb307d63..e2dfeef27 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -1874,7 +1874,7 @@ bool8 HandleFaintedMonActions(void) gBattleStruct->faintedActionsState++; for (i = 0; i < gBattlersCount; i++) { - if (gAbsentBattlerFlags & gBitTable[i] && !HasNoMonsToSwitch(i, 6, 6)) + if (gAbsentBattlerFlags & gBitTable[i] && !HasNoMonsToSwitch(i, PARTY_SIZE, PARTY_SIZE)) gAbsentBattlerFlags &= ~(gBitTable[i]); } // fall through |