summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-25 13:26:22 -0400
committerhuderlem <huderlem@gmail.com>2021-03-27 17:27:20 -0500
commit7a5c6d4d869b314ce748fe2ccff493c468fa0a91 (patch)
tree0f6b4b4ab794da91b7a2565dc33e5981c886776b /src/battle_script_commands.c
parent0f869fb26630cd7ec65a1873d76d144bdfaf11d4 (diff)
Standardize Friendship/Happiness
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 43c554e88..96c849cbc 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -258,7 +258,7 @@ static void Cmd_trysetperishsong(void);
static void Cmd_rolloutdamagecalculation(void);
static void Cmd_jumpifconfusedandstatmaxed(void);
static void Cmd_furycuttercalc(void);
-static void Cmd_happinesstodamagecalculation(void);
+static void Cmd_friendshiptodamagecalculation(void);
static void Cmd_presentdamagecalculation(void);
static void Cmd_setsafeguard(void);
static void Cmd_magnitudedamagecalculation(void);
@@ -510,7 +510,7 @@ void (* const gBattleScriptingCommandsTable[])(void) =
Cmd_rolloutdamagecalculation, //0xB3
Cmd_jumpifconfusedandstatmaxed, //0xB4
Cmd_furycuttercalc, //0xB5
- Cmd_happinesstodamagecalculation, //0xB6
+ Cmd_friendshiptodamagecalculation, //0xB6
Cmd_presentdamagecalculation, //0xB7
Cmd_setsafeguard, //0xB8
Cmd_magnitudedamagecalculation, //0xB9
@@ -8471,7 +8471,7 @@ static void Cmd_furycuttercalc(void)
}
}
-static void Cmd_happinesstodamagecalculation(void)
+static void Cmd_friendshiptodamagecalculation(void)
{
if (gBattleMoves[gCurrentMove].effect == EFFECT_RETURN)
gDynamicBasePower = 10 * (gBattleMons[gBattlerAttacker].friendship) / 25;