Fix incorrect type input (#7228)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-06-26 20:15:22 +02:00 committed by GitHub
parent ed59b2fb0e
commit 8bbb84fc96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;