Update battle_script_commands.c

This commit is contained in:
LOuroboros 2021-09-25 20:42:34 -03:00 committed by GitHub
parent 48492997f3
commit ab08ef18f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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