mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Moves update correctly when switched around
This commit is contained in:
parent
c14c12e312
commit
5d23026b09
@ -2751,7 +2751,7 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
}
|
}
|
||||||
const updatedMoveset = starterMoveset.slice() as StarterMoveset;
|
const updatedMoveset = starterMoveset.slice() as StarterMoveset;
|
||||||
const formIndex = globalScene.gameData.getSpeciesDexAttrProps(this.lastSpecies, this.dexAttrCursor).formIndex;
|
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
|
// species has different forms
|
||||||
if (pokemonFormLevelMoves.hasOwnProperty(speciesId)) {
|
if (pokemonFormLevelMoves.hasOwnProperty(speciesId)) {
|
||||||
// Species has forms with different movesets
|
// Species has forms with different movesets
|
||||||
|
Loading…
Reference in New Issue
Block a user