mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-14 01:32:23 +01:00
turns out gen 7 did indeed use a denominator of 5
This commit is contained in:
parent
6d5547bdb4
commit
37aff56cc7
@ -3650,7 +3650,7 @@ static void Cmd_getexp(void)
|
||||
if (holdEffect == HOLD_EFFECT_EXP_SHARE)
|
||||
viaExpShare++;
|
||||
}
|
||||
if (B_SCALED_EXP == GEN_5) // I'm not sure if gens 7+ should use /5, but it felt too high in testing
|
||||
if ((B_SCALED_EXP >= GEN_5) && (B_SCALED_EXP != GEN_6))
|
||||
calculatedExp = gBaseStats[gBattleMons[gBattlerFainted].species].expYield * gBattleMons[gBattlerFainted].level / 5;
|
||||
else
|
||||
calculatedExp = gBaseStats[gBattleMons[gBattlerFainted].species].expYield * gBattleMons[gBattlerFainted].level / 7;
|
||||
|
Loading…
x
Reference in New Issue
Block a user