mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user