Displaying correct forms for Urshifu and Toxicitry after evolution

This commit is contained in:
Wlowscha 2025-01-25 10:54:48 +01:00
parent d5eafd5747
commit 776d48ff50
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -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;
}