Fix using Population Dice with Loaded Dice printing garbage text (#5195)
This commit is contained in:
parent
8607a7fb33
commit
a958e61110
@ -3641,13 +3641,14 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType)
|
||||
else
|
||||
{
|
||||
gMultiHitCounter = gMovesInfo[gCurrentMove].strikeCount;
|
||||
PREPARE_BYTE_NUMBER_BUFFER(gBattleScripting.multihitString, 3, 0)
|
||||
|
||||
if (gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_DARTS
|
||||
&& CanTargetPartner(gBattlerAttacker, gBattlerTarget)
|
||||
&& TargetFullyImmuneToCurrMove(gBattlerAttacker, gBattlerTarget))
|
||||
gBattlerTarget = BATTLE_PARTNER(gBattlerTarget);
|
||||
}
|
||||
|
||||
PREPARE_BYTE_NUMBER_BUFFER(gBattleScripting.multihitString, 3, 0)
|
||||
}
|
||||
else if (B_BEAT_UP >= GEN_5 && gMovesInfo[gCurrentMove].effect == EFFECT_BEAT_UP)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user