mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-05 16:05:01 +01:00
[QoL] Move fusion icon to right of gender icon in party ui (#2470)
This commit is contained in:
parent
cb5016d10f
commit
bce874b99a
@ -1073,7 +1073,7 @@ class PartySlot extends Phaser.GameObjects.Container {
|
|||||||
if (this.slotIndex >= battlerCount) {
|
if (this.slotIndex >= battlerCount) {
|
||||||
slotGenderText.setPositionRelative(slotLevelLabel, 36, 0);
|
slotGenderText.setPositionRelative(slotLevelLabel, 36, 0);
|
||||||
} else {
|
} else {
|
||||||
slotGenderText.setPositionRelative(slotName, 76, 3);
|
slotGenderText.setPositionRelative(slotName, 76 - (this.pokemon.fusionSpecies ? 8 : 0), 3);
|
||||||
}
|
}
|
||||||
slotGenderText.setOrigin(0, 0.25);
|
slotGenderText.setOrigin(0, 0.25);
|
||||||
|
|
||||||
@ -1085,9 +1085,9 @@ class PartySlot extends Phaser.GameObjects.Container {
|
|||||||
splicedIcon.setScale(0.5);
|
splicedIcon.setScale(0.5);
|
||||||
splicedIcon.setOrigin(0, 0);
|
splicedIcon.setOrigin(0, 0);
|
||||||
if (this.slotIndex >= battlerCount) {
|
if (this.slotIndex >= battlerCount) {
|
||||||
splicedIcon.setPositionRelative(slotLevelLabel, 36 - (genderSymbol ? 8 : 0), 0.5);
|
splicedIcon.setPositionRelative(slotLevelLabel, 36 + (genderSymbol ? 8 : 0), 0.5);
|
||||||
} else {
|
} else {
|
||||||
splicedIcon.setPositionRelative(slotName, 76 - (genderSymbol ? 8 : 0), 3.5);
|
splicedIcon.setPositionRelative(slotName, 76, 3.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
slotInfoContainer.add(splicedIcon);
|
slotInfoContainer.add(splicedIcon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user