mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 06:53:27 +02:00
[Bug] Pokemon not on the field can't be caught (#6454)
This commit is contained in:
parent
264dd6b2d0
commit
5c22d9ccac
@ -456,7 +456,7 @@ export class CommandPhase extends FieldPhase {
|
||||
|
||||
const numBallTypes = 5;
|
||||
if (cursor < numBallTypes) {
|
||||
const targetPokemon = globalScene.getEnemyPokemon();
|
||||
const targetPokemon = globalScene.getEnemyPokemon(false);
|
||||
if (
|
||||
targetPokemon?.isBoss() &&
|
||||
targetPokemon?.bossSegmentIndex >= 1 &&
|
||||
|
Loading…
Reference in New Issue
Block a user