[QoL] Move fusion icon to right of gender icon in party ui (#2470)

This commit is contained in:
EmberCM 2024-06-22 22:06:13 -05:00 committed by GitHub
parent cb5016d10f
commit bce874b99a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -1073,7 +1073,7 @@ class PartySlot extends Phaser.GameObjects.Container {
if (this.slotIndex >= battlerCount) {
slotGenderText.setPositionRelative(slotLevelLabel, 36, 0);
} else {
slotGenderText.setPositionRelative(slotName, 76, 3);
slotGenderText.setPositionRelative(slotName, 76 - (this.pokemon.fusionSpecies ? 8 : 0), 3);
}
slotGenderText.setOrigin(0, 0.25);
@ -1085,9 +1085,9 @@ class PartySlot extends Phaser.GameObjects.Container {
splicedIcon.setScale(0.5);
splicedIcon.setOrigin(0, 0);
if (this.slotIndex >= battlerCount) {
splicedIcon.setPositionRelative(slotLevelLabel, 36 - (genderSymbol ? 8 : 0), 0.5);
splicedIcon.setPositionRelative(slotLevelLabel, 36 + (genderSymbol ? 8 : 0), 0.5);
} else {
splicedIcon.setPositionRelative(slotName, 76 - (genderSymbol ? 8 : 0), 3.5);
splicedIcon.setPositionRelative(slotName, 76, 3.5);
}
slotInfoContainer.add(splicedIcon);