Merge pull request #2147 from Sneed69/r-ball-pike
Disable last used ball in battle pike
This commit is contained in:
commit
df55a185ae
1 changed files with 1 additions and 1 deletions
|
@ -3309,7 +3309,7 @@ bool32 CanThrowLastUsedBall(void)
|
|||
#else
|
||||
if (!CanThrowBall())
|
||||
return FALSE;
|
||||
if (gBattleTypeFlags & BATTLE_TYPE_TRAINER)
|
||||
if (gBattleTypeFlags & (BATTLE_TYPE_TRAINER | BATTLE_TYPE_FRONTIER))
|
||||
return FALSE;
|
||||
if (!CheckBagHasItem(gLastThrownBall, 1))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue