Moves update correctly when switched around

This commit is contained in:
Wlowscha 2025-08-17 11:08:50 +02:00
parent c14c12e312
commit 5d23026b09
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -2751,7 +2751,7 @@ export class StarterSelectUiHandler extends MessageUiHandler {
}
const updatedMoveset = starterMoveset.slice() as StarterMoveset;
const formIndex = globalScene.gameData.getSpeciesDexAttrProps(this.lastSpecies, this.dexAttrCursor).formIndex;
const { starterDataEntry } = this.getSpeciesData(this.lastSpecies.speciesId);
const starterDataEntry = globalScene.gameData.starterData[speciesId];
// species has different forms
if (pokemonFormLevelMoves.hasOwnProperty(speciesId)) {
// Species has forms with different movesets