From 06020bee1477d3ff909b4d1c828c8c1c0aebe7a5 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sat, 6 Jan 2024 12:24:01 -0500 Subject: [PATCH] Fix text overlap in egg hatch screen stats --- src/egg-hatch-phase.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/egg-hatch-phase.ts b/src/egg-hatch-phase.ts index cbd9e100d..f1b9848b5 100644 --- a/src/egg-hatch-phase.ts +++ b/src/egg-hatch-phase.ts @@ -112,19 +112,19 @@ export class EggHatchPhase extends BattlePhase { pokemonGenderText.setVisible(false); this.infoContainer.add(pokemonGenderText); - const pokemonAbilityLabelText = addTextObject(this.scene, -18, 20, 'Ability:', TextStyle.WINDOW, { fontSize: '64px' }); + const pokemonAbilityLabelText = addTextObject(this.scene, -18, 30, 'Ability:', TextStyle.WINDOW, { fontSize: '64px' }); pokemonAbilityLabelText.setOrigin(1, 0); this.infoContainer.add(pokemonAbilityLabelText); - const pokemonAbilityText = addTextObject(this.scene, -14, 20, '', TextStyle.WINDOW, { fontSize: '64px' }); + const pokemonAbilityText = addTextObject(this.scene, -14, 30, '', TextStyle.WINDOW, { fontSize: '64px' }); pokemonAbilityText.setOrigin(0, 0); this.infoContainer.add(pokemonAbilityText); - const pokemonNatureLabelText = addTextObject(this.scene, -18, 30, 'Nature:', TextStyle.WINDOW, { fontSize: '64px' }); + const pokemonNatureLabelText = addTextObject(this.scene, -18, 40, 'Nature:', TextStyle.WINDOW, { fontSize: '64px' }); pokemonNatureLabelText.setOrigin(1, 0); this.infoContainer.add(pokemonNatureLabelText); - const pokemonNatureText = addBBCodeTextObject(this.scene, -14, 30, '', TextStyle.WINDOW, { fontSize: '64px', lineSpacing: 3, maxLines: 2 }); + const pokemonNatureText = addBBCodeTextObject(this.scene, -14, 40, '', TextStyle.WINDOW, { fontSize: '64px', lineSpacing: 3, maxLines: 2 }); pokemonNatureText.setOrigin(0, 0); this.infoContainer.add(pokemonNatureText);