Merge pull request #1686 from LOuroboros/patch-2
Fix Dream Ball's effect's code
This commit is contained in:
commit
869cb1ede6
1 changed files with 1 additions and 1 deletions
|
@ -9959,7 +9959,7 @@ static void Cmd_handleballthrow(void)
|
|||
case ITEM_DREAM_BALL:
|
||||
#if I_DREAM_BALL_MODIFIER >= GEN_8
|
||||
#ifdef BATTLE_ENGINE
|
||||
if (gBattleMons[gBattlerTarget].status1 & STATUS1_SLEEP || GetBattlerAbility(gBattlerTarget) == ABILITY_COMATOSE))
|
||||
if (gBattleMons[gBattlerTarget].status1 & STATUS1_SLEEP || GetBattlerAbility(gBattlerTarget) == ABILITY_COMATOSE)
|
||||
#else
|
||||
if (gBattleMons[gBattlerTarget].status1 & STATUS1_SLEEP)
|
||||
ballMultiplier = 40;
|
||||
|
|
Loading…
Reference in a new issue