mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 17:39:31 +02:00
Offsets are relevant to the same thing
This commit is contained in:
parent
57cc77a937
commit
403c2b6e9e
@ -1924,7 +1924,7 @@ class PartySlot extends Phaser.GameObjects.Container {
|
|||||||
if (this.isBenched) {
|
if (this.isBenched) {
|
||||||
slotGenderText.setPositionRelative(slotLevelLabel, 36, 0);
|
slotGenderText.setPositionRelative(slotLevelLabel, 36, 0);
|
||||||
} else {
|
} else {
|
||||||
slotGenderText.setPositionRelative(this.slotName, 76 - (this.pokemon.fusionSpecies ? 8 : 0), 3);
|
slotGenderText.setPositionRelative(slotLevelLabel, 68 - (this.pokemon.fusionSpecies ? 8 : 0), -9);
|
||||||
}
|
}
|
||||||
slotGenderText.setOrigin(0, 0.25);
|
slotGenderText.setOrigin(0, 0.25);
|
||||||
|
|
||||||
@ -1938,7 +1938,7 @@ class PartySlot extends Phaser.GameObjects.Container {
|
|||||||
if (this.isBenched) {
|
if (this.isBenched) {
|
||||||
splicedIcon.setPositionRelative(slotLevelLabel, 36 + (genderSymbol ? 8 : 0), 0.5);
|
splicedIcon.setPositionRelative(slotLevelLabel, 36 + (genderSymbol ? 8 : 0), 0.5);
|
||||||
} else {
|
} else {
|
||||||
splicedIcon.setPositionRelative(this.slotName, 76, 3.5);
|
splicedIcon.setPositionRelative(slotLevelLabel, 68, 3.5 - 12);
|
||||||
}
|
}
|
||||||
slotInfoContainer.add(splicedIcon);
|
slotInfoContainer.add(splicedIcon);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user