mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 19:22:29 +02:00
Displaying correct forms for Urshifu and Toxicitry after evolution
This commit is contained in:
parent
d5eafd5747
commit
776d48ff50
@ -811,12 +811,6 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const selectedForm = starterAttributes.form;
|
|
||||||
if (selectedForm !== undefined && (this.species.forms[selectedForm]?.isStarterSelectable && !(caughtAttr & globalScene.gameData.getFormAttr(selectedForm)))) {
|
|
||||||
// requested form wasn't unlocked and is selectable as a starter
|
|
||||||
delete starterAttributes.form;
|
|
||||||
}
|
|
||||||
|
|
||||||
return starterAttributes;
|
return starterAttributes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user