mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-23 00:32:28 +02:00
Only check forms which are starter selectable
This commit is contained in:
parent
0357b2bb58
commit
95b87f7ce5
@ -2981,6 +2981,9 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
/* Here we are making a fake form index dex props for challenges
|
/* Here we are making a fake form index dex props for challenges
|
||||||
* Since some pokemon rely on forms to be valid (i.e. blaze tauros for fire challenges), we make a fake form and dex props to use in the challenge
|
* Since some pokemon rely on forms to be valid (i.e. blaze tauros for fire challenges), we make a fake form and dex props to use in the challenge
|
||||||
*/
|
*/
|
||||||
|
if (!species.forms[i].isStarterSelectable) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const tempFormProps = BigInt(Math.pow(2, i)) * DexAttr.DEFAULT_FORM;
|
const tempFormProps = BigInt(Math.pow(2, i)) * DexAttr.DEFAULT_FORM;
|
||||||
const isValidForChallenge = checkStarterValidForChallenge(
|
const isValidForChallenge = checkStarterValidForChallenge(
|
||||||
container.species,
|
container.species,
|
||||||
|
Loading…
Reference in New Issue
Block a user