Inherit shininess from splices

This commit is contained in:
Flashfyre committed 2023-11-05 23:48:04 -05:00
1 parent 28f8fdfdc1
commit 79c5b3d4f3
5 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -686,7 +686,7 @@ class PartySlot extends Phaser.GameObjects.Container {
slotInfoContainer.add(statusIndicator);
}
if (this.pokemon.shiny) {
if (this.pokemon.isShiny()) {
const shinyStar = this.scene.add.image(0, 0, 'shiny_star');
shinyStar.setOrigin(0, 0);
shinyStar.setPositionRelative(slotName, -8, 2);