From 9e288e06c8bf536808cceaba2b1c71f9716370c0 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Mon, 1 Apr 2024 21:52:40 -0400 Subject: [PATCH] Fix ability popup text placement --- src/ui/ability-bar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/ability-bar.ts b/src/ui/ability-bar.ts index ce0cdd7c9..c5fb51fee 100644 --- a/src/ui/ability-bar.ts +++ b/src/ui/ability-bar.ts @@ -25,11 +25,11 @@ export default class AbilityBar extends Phaser.GameObjects.Container { this.add(this.bg); - this.pokemonNameText = addTextObject(this.scene, 5, 3, '', TextStyle.MESSAGE, { fontSize: '72px' }); + this.pokemonNameText = addTextObject(this.scene, 15, 3, '', TextStyle.MESSAGE, { fontSize: '72px' }); this.pokemonNameText.setOrigin(0, 0); this.add(this.pokemonNameText); - this.abilityNameText = addTextObject(this.scene, 87, 16, '', TextStyle.WINDOW, { fontSize: '72px' }); + this.abilityNameText = addTextObject(this.scene, 97, 16, '', TextStyle.WINDOW, { fontSize: '72px' }); this.abilityNameText.setOrigin(1, 0); this.add(this.abilityNameText);