From ea1ed1352c5a47cb6b74a139e22187b2e5f25860 Mon Sep 17 00:00:00 2001 From: Akuma-Reiki <66755974+Akuma-Reiki@users.noreply.github.com> Date: Wed, 8 May 2024 12:35:27 -0500 Subject: [PATCH] Hide Ribbons When Not Owned (#649) * Candy/Ribbon UI Update * Removes the overrides No level 2000000000000000 runs for you * checks for all root species * Hide ribbon when not owned --- src/ui/summary-ui-handler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/summary-ui-handler.ts b/src/ui/summary-ui-handler.ts index 0865cba4859..e6c90887b18 100644 --- a/src/ui/summary-ui-handler.ts +++ b/src/ui/summary-ui-handler.ts @@ -291,6 +291,8 @@ export default class SummaryUiHandler extends UiHandler { if(this.scene.gameData.starterData[this.pokemon.species.getRootSpeciesId()].classicWinCount > 0 && this.scene.gameData.starterData[this.pokemon.species.getRootSpeciesId(true)].classicWinCount > 0) this.championRibbon.setVisible(true); + else + this.championRibbon.setVisible(false); var currentFriendship = this.scene.gameData.starterData[this.pokemon.species.getRootSpeciesId()].friendship; if (!currentFriendship || currentFriendship === undefined)