From a76435939c3428b2c16c9172020fdf58484acf61 Mon Sep 17 00:00:00 2001 From: Jon Studders Date: Wed, 15 May 2024 00:10:10 +0100 Subject: [PATCH] Check for caughtIcon, if false then move ribbon to the left. --- src/ui/battle-info.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/battle-info.ts b/src/ui/battle-info.ts index 4ba074644..2923540c8 100644 --- a/src/ui/battle-info.ts +++ b/src/ui/battle-info.ts @@ -274,6 +274,9 @@ export default class BattleInfo extends Phaser.GameObjects.Container { this.ownedIcon.setTint(0x808080); if(pokemon.scene.gameData.starterData[pokemon.species.getRootSpeciesId()].classicWinCount > 0 && pokemon.scene.gameData.starterData[pokemon.species.getRootSpeciesId(true)].classicWinCount > 0) { + if (!dexEntry.caughtAttr) { + this.championRibbon.setPositionRelative(this.nameText, 0, 11.75); + } this.championRibbon.setVisible(true); }