Compare commits

..

2 Commits

Author SHA1 Message Date
Wlowscha
248c526392
Merge 98df023c11 into 46c78a0540 2025-08-16 16:26:12 +02:00
Wlowscha
98df023c11
Fixed some bugs which prevented correct usage of balls 2025-08-16 16:25:35 +02:00

View File

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