Fix incorrect type input (#7228)
Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
parent
ed59b2fb0e
commit
8bbb84fc96
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user