summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-02-02 13:28:54 -0500
committerhuderlem <huderlem@gmail.com>2020-02-04 12:16:15 -0600
commit27c4329e4518a9838476e16c9fbb4cfb6d83a0d7 (patch)
treefffa4a6ab7cdee6fd0c171b8381db06f10b32c6d /src/battle_script_commands.c
parentc859fe36066bd420ea37222615aef177a318b5fd (diff)
Use friendship event constants
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 b6dd292f8..685626a85 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -3434,7 +3434,7 @@ static void Cmd_getexp(void)
gLeveledUpInBattle |= gBitTable[gBattleStruct->expGetterMonId];
gBattlescriptCurrInstr = BattleScript_LevelUp;
gBattleMoveDamage = (gBattleBufferB[gActiveBattler][2] | (gBattleBufferB[gActiveBattler][3] << 8));
- AdjustFriendship(&gPlayerParty[gBattleStruct->expGetterMonId], 0);
+ AdjustFriendship(&gPlayerParty[gBattleStruct->expGetterMonId], FRIENDSHIP_EVENT_GROW_LEVEL);
// update battle mon structure after level up
if (gBattlerPartyIndexes[0] == gBattleStruct->expGetterMonId && gBattleMons[0].hp)