🐛 fix issue with not learning new moves

This commit is contained in:
Chase Manning 2023-12-31 11:12:43 +00:00
commit 61fa831fea

View file

@ -932,7 +932,7 @@ const PokemonEncounter = () => {
if (stage === 22) {
const move = getLearnedMove(processingPokemon);
const hasFourMoves = active.moves.length === 4;
const hasFourMoves = processingPokemon.moves.length === 4;
if (move && !hasFourMoves) {
setStage(29);
} else if (move && hasFourMoves) {