summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-08 12:13:15 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-08 12:13:15 +0800
commit8a8baaeaaaffd7528c13f064b664c31e747c8fdc (patch)
treebbd238d169df88dc2dbbed17956daae2ad630227 /src/battle_script_commands.c
parent907ed3f5f5537d14ed6136daeb81e38c383239c2 (diff)
parent6068495619364c8e0ccae15ad036a1b5a9eef171 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 26be44f07..475b16c98 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -3270,7 +3270,7 @@ static void atk23_getexp(void)
else
{
gBattleScripting.atk23_state++;
- gBattleStruct->field_DF |= gBitTable[gBattlerPartyIndexes[gBattlerFainted]];
+ gBattleStruct->givenExpMons |= gBitTable[gBattlerPartyIndexes[gBattlerFainted]];
}
break;
case 1: // calculate experience points to redistribute