Closed Glazelf closed 1 month ago
I think this is sadly going to be closed as WAI, the learnset UI is always going to be limited compared to the TeamValidator
, and this is documented:
It's possibly @pkmn/sim
's getFullLearnset
or getMovePool
functions are suitable here (they seem to be able to handle this specific case), but if you're pulling in the @pkmn/sim
dep already at that point it would make sense to just use the TeamValidator
Describe the bug:
Using
learnsets.canLearn()
from newer generations returnstrue
for event-exclusive moves from old generations despite them not being possible to be transferred upwards.Example:
The above will log
true
.Expected behavior:
The above code example should log
false
, as it is not possible to get a Darkrai with Spacial Rend in gen 9.Additional context:
Seems to go for all event moves. Tested with Spacial Rend Darkrai, Spacial Rend Arceus and Eruption Heatran.