Fix affection check for exp multiplier
This commit is contained in:
parent
f7d2e62ccc
commit
d122c0a222
@ -16193,7 +16193,7 @@ void ApplyExperienceMultipliers(s32 *expAmount, u8 expGetterMonId, u8 faintedBat
|
||||
*expAmount = (*expAmount * 150) / 100;
|
||||
if (B_UNEVOLVED_EXP_MULTIPLIER >= GEN_6 && IsMonPastEvolutionLevel(&gPlayerParty[expGetterMonId]))
|
||||
*expAmount = (*expAmount * 4915) / 4096;
|
||||
if (B_AFFECTION_MECHANICS == TRUE && GetBattlerAffectionHearts(expGetterMonId) >= AFFECTION_FOUR_HEARTS)
|
||||
if (B_AFFECTION_MECHANICS == TRUE && GetMonAffectionHearts(&gPlayerParty[expGetterMonId]) >= AFFECTION_FOUR_HEARTS)
|
||||
*expAmount = (*expAmount * 4915) / 4096;
|
||||
if (CheckBagHasItem(ITEM_EXP_CHARM, 1)) //is also for other exp boosting Powers if/when implemented
|
||||
*expAmount = (*expAmount * 150) / 100;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user