summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-07 23:50:56 +0100
committerMarcus Huderle <huderlem@gmail.com>2018-12-07 16:50:56 -0600
commit6068495619364c8e0ccae15ad036a1b5a9eef171 (patch)
tree4fae2662f8ec0c62df14f5b6a410e5a34f337e86 /src/battle_script_commands.c
parentfe06bbe3f6f3014e591e789a65b5fd29ca7417f4 (diff)
Document trainer battle scripts (#430)
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 6a7ca1725..e627f9d67 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