mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
[Bug][UI] Fix ribbon and status effect overlap (#6453)
This commit is contained in:
parent
5c22d9ccac
commit
929f721ee0
@ -115,6 +115,9 @@ export class EnemyBattleInfo extends BattleInfo {
|
||||
globalScene.gameData.starterData[pokemon.species.getRootSpeciesId()].classicWinCount > 0 &&
|
||||
globalScene.gameData.starterData[pokemon.species.getRootSpeciesId(true)].classicWinCount > 0
|
||||
) {
|
||||
// move the ribbon to the left if there is no owned icon
|
||||
const championRibbonX = this.ownedIcon.visible ? 8 : 0;
|
||||
this.championRibbon.setPositionRelative(this.nameText, championRibbonX, 11.75);
|
||||
this.championRibbon.setVisible(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user