mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
Compare commits
2 Commits
65ea02ec6b
...
248c526392
Author | SHA1 | Date | |
---|---|---|---|
|
248c526392 | ||
|
98df023c11 |
@ -402,6 +402,8 @@ export class CommandPhase extends FieldPhase {
|
|||||||
} else if ((isClassic && missingMultipleStarters) || (isEndless && isEndlessMinorBoss) || isDaily) {
|
} else if ((isClassic && missingMultipleStarters) || (isEndless && isEndlessMinorBoss) || isDaily) {
|
||||||
// Uncatchable final boss in classic and endless
|
// Uncatchable final boss in classic and endless
|
||||||
this.queueShowText("battle:noPokeballForceFinalBoss");
|
this.queueShowText("battle:noPokeballForceFinalBoss");
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
} else if (battleType === BattleType.TRAINER) {
|
} else if (battleType === BattleType.TRAINER) {
|
||||||
this.queueShowText("battle:noPokeballTrainer");
|
this.queueShowText("battle:noPokeballTrainer");
|
||||||
@ -450,11 +452,13 @@ export class CommandPhase extends FieldPhase {
|
|||||||
) {
|
) {
|
||||||
if (restrictMasterBall) {
|
if (restrictMasterBall) {
|
||||||
this.queueShowText("battle:noPokeballStrongFinalBossCatchable");
|
this.queueShowText("battle:noPokeballStrongFinalBossCatchable");
|
||||||
} else if (cursor < PokeballType.MASTER_BALL) {
|
|
||||||
this.queueShowText("battle:noPokeballStrong");
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (cursor < PokeballType.MASTER_BALL) {
|
||||||
|
this.queueShowText("battle:noPokeballStrong");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
globalScene.currentBattle.turnCommands[this.fieldIndex] = {
|
globalScene.currentBattle.turnCommands[this.fieldIndex] = {
|
||||||
command: Command.BALL,
|
command: Command.BALL,
|
||||||
|
Loading…
Reference in New Issue
Block a user