mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
Fix to getStarterSpeciesId to work with all-unlocks files
This commit is contained in:
parent
3597d34e44
commit
41841ace1b
@ -787,7 +787,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
||||
}
|
||||
|
||||
getStarterSpeciesId(speciesId): number {
|
||||
if (this.scene.gameData.starterData.hasOwnProperty(speciesId)) {
|
||||
if (speciesStarterCosts.hasOwnProperty(speciesId)) {
|
||||
return speciesId;
|
||||
} else {
|
||||
return pokemonStarters[speciesId];
|
||||
|
Loading…
Reference in New Issue
Block a user