From d10d734d36d988c7a54378e54f80376e6725ef27 Mon Sep 17 00:00:00 2001 From: MarshRey Date: Sat, 18 May 2024 11:55:11 -0600 Subject: [PATCH] updated cursor position to be off screen - selected pokemon cursor position is currently off screen - I don't fully understand cursor position setting so i'll leave it open for another contributor --- src/ui/starter-select-ui-handler.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/starter-select-ui-handler.ts b/src/ui/starter-select-ui-handler.ts index 92b1e6ffcac..c3d845c798a 100644 --- a/src/ui/starter-select-ui-handler.ts +++ b/src/ui/starter-select-ui-handler.ts @@ -1923,6 +1923,11 @@ export default class StarterSelectUiHandler extends MessageUiHandler { // The value is guaranteed to be less than the value limit so no need to check, simple call suffices this.tryUpdateValue(this.scene.gameData.getSpeciesStarterValue(species.speciesId)); + // set cursor position for selected pokemon + const cursorObj = this.starterCursorObjs[this.starterCursors.length]; + // set's the cursor off screen + cursorObj.setPosition(-100, -100); + // Generate the nature, ability, and moveset for the pokemon this.speciesStarterDexEntry = species ? this.scene.gameData.dexData[species.speciesId] : null; this.dexAttrCursor = species ? this.scene.gameData.getSpeciesDefaultDexAttr(species, false, true) : 0n;