From 8bbb84fc9600595b56161769359ce04d3421d74f Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Thu, 26 Jun 2025 20:15:22 +0200 Subject: [PATCH] Fix incorrect type input (#7228) Co-authored-by: Hedara --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index 187af6227b..0dd60674ca 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -211,7 +211,7 @@ static uq4_12_t CalcTypeEffectivenessMultiplierHelper(u32 move, u32 moveType, u3 ctx.battlerAtk = battlerAtk; ctx.battlerDef = battlerDef; ctx.move = move; - ctx.moveType = GetBattleMoveType(gCurrentMove); + ctx.moveType = moveType; ctx.updateFlags = recordAbilities; ctx.abilityAtk = GetBattlerAbility(battlerAtk); ctx.abilityDef = defAbility;