Merge branch 'beta' into refactor-modifier-select-menu

This commit is contained in:
Wlowscha 2025-05-30 02:18:36 +02:00 committed by GitHub
commit e054764e58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ export default abstract class BattleInfo extends Phaser.GameObjects.Container {
this.box = globalScene.add.sprite(0, 0, this.getTextureName()).setName("box").setOrigin(1, 0.5); this.box = globalScene.add.sprite(0, 0, this.getTextureName()).setName("box").setOrigin(1, 0.5);
this.add(this.box); this.add(this.box);
this.nameText = addTextObject(player ? -115 : -124, player ? -15.2 : -11.2, "", TextStyle.BATTLE_INFO) this.nameText = addTextObject(posParams.nameTextX, posParams.nameTextY, "", TextStyle.BATTLE_INFO)
.setName("text_name") .setName("text_name")
.setOrigin(0); .setOrigin(0);
this.add(this.nameText); this.add(this.nameText);

View File

@ -29,7 +29,7 @@ export class EnemyBattleInfo extends BattleInfo {
} }
override getTextureName(): string { override getTextureName(): string {
return this.boss ? "pbinfo_enemy_boss_mini" : "pbinfo_enemy_mini"; return this.boss ? "pbinfo_enemy_boss" : "pbinfo_enemy_mini";
} }
override constructTypeIcons(): void { override constructTypeIcons(): void {