Fix issue with shiny star placement in starter-select-ui-handler.ts (#1512)

This commit is contained in:
Benjamin Odom 2024-05-28 14:50:40 -05:00 committed by GitHub
parent 4695d0617d
commit 1420c26f22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
const getShinyStar = (i: integer, v: integer): Phaser.GameObjects.Image => {
const position = calcIconPosition(i);
const ret = this.scene.add.image(position.x + 163, position.y + 11, "shiny_star_small");
const ret = this.scene.add.image((position.x - v * 3) + 163, position.y + 11, "shiny_star_small");
ret.setOrigin(0, 0);
ret.setScale(0.5);
ret.setVisible(false);