From 5c6b8376fcf0d8d38f1753286a4a1fe5f01fd5e9 Mon Sep 17 00:00:00 2001 From: MandL27 Date: Sun, 1 Nov 2020 11:45:01 -0500 Subject: [PATCH] long equations on one line --- src/battle_script_commands.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0f668f6c5b..a639f11e61 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -3740,8 +3740,7 @@ static void Cmd_getexp(void) gBattleMoveDamage = (gBattleMoveDamage * 150) / 100; #if (B_SCALED_EXP >= GEN_5) && (B_SCALED_EXP != GEN_6) gBattleMoveDamage *= sExperienceScalingFactors[(gBattleMons[gBattlerFainted].level * 2) + 10]; - gBattleMoveDamage /= sExperienceScalingFactors[gBattleMons[gBattlerFainted].level + - GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL) + 10]; + gBattleMoveDamage /= sExperienceScalingFactors[gBattleMons[gBattlerFainted].level + GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL) + 10]; gBattleMoveDamage++; #endif