mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 19:02:16 +02:00
Hide ribbon when not owned
This commit is contained in:
parent
7678b77c1e
commit
4d1acb228a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user