Fix - The wave is no longer displayed under the overlay as it used to be (even before the black overlay ...) (#2498)

+ Its previous color just made it harder to see that the text was underneath the overlay
This commit is contained in:
Dakurei 2024-06-22 02:47:00 +02:00 committed by GitHub
parent 9d090f37f9
commit eb224381a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -1447,6 +1447,7 @@ export default class BattleScene extends SceneBase {
updateBiomeWaveText(): void { updateBiomeWaveText(): void {
const isBoss = !(this.currentBattle.waveIndex % 10); const isBoss = !(this.currentBattle.waveIndex % 10);
const biomeString: string = getBiomeName(this.arena.biomeType); const biomeString: string = getBiomeName(this.arena.biomeType);
this.fieldUI.moveAbove(this.biomeWaveText, this.luckText);
this.biomeWaveText.setText( biomeString + " - " + this.currentBattle.waveIndex.toString()); this.biomeWaveText.setText( biomeString + " - " + this.currentBattle.waveIndex.toString());
this.biomeWaveText.setColor(!isBoss ? "#ffffff" : "#f89890"); this.biomeWaveText.setColor(!isBoss ? "#ffffff" : "#f89890");
this.biomeWaveText.setShadowColor(!isBoss ? "#636363" : "#984038"); this.biomeWaveText.setShadowColor(!isBoss ? "#636363" : "#984038");

View File

@ -185,6 +185,7 @@ export default class ModifierSelectUiHandler extends AwaitableUiHandler {
this.scene.showShopOverlay(750); this.scene.showShopOverlay(750);
this.scene.updateAndShowText(750); this.scene.updateAndShowText(750);
this.scene.updateBiomeWaveText();
this.scene.updateMoneyText(); this.scene.updateMoneyText();
let i = 0; let i = 0;