summaryrefslogtreecommitdiff
path: root/src/battle_util2.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-24 23:19:48 -0400
committerGitHub <noreply@github.com>2021-03-24 23:19:48 -0400
commit35b68c68ee565b9b232252e4f37ea082e9310560 (patch)
treeaeacb544f27db8f63b17b7e808b28f4a1e12acde /src/battle_util2.c
parentd8b76e6fb545efd69bfb18322a67243520e4d11d (diff)
parent7f70b570dd2e18a34a2c0ee558f404c15c77371c (diff)
Merge pull request #404 from PikalaxALT/misc_doc
[PARTIALLY LEAK INFORMED] Miscellaneous cleanup and documentation
Diffstat (limited to 'src/battle_util2.c')
-rw-r--r--src/battle_util2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_util2.c b/src/battle_util2.c
index b1036ef0b..e3fa1a6a7 100644
--- a/src/battle_util2.c
+++ b/src/battle_util2.c
@@ -85,12 +85,12 @@ void AdjustFriendshipOnBattleFaint(u8 battlerId)
if (gBattleMons[opposingBattlerId].level > gBattleMons[battlerId].level)
{
if (gBattleMons[opposingBattlerId].level - gBattleMons[battlerId].level > 29)
- AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], 9);
+ AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], FRIENDSHIP_EVENT_FAINT_LARGE);
else
- AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], 7);
+ AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], FRIENDSHIP_EVENT_FAINT_SMALL);
}
else
{
- AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], 7);
+ AdjustFriendship(&gPlayerParty[gBattlerPartyIndexes[battlerId]], FRIENDSHIP_EVENT_FAINT_SMALL);
}
}