Pokemon Emerald: Fix opponent trainer moves sometimes being MOVE_NONE (#2487)

This commit is contained in:
Bryce Wilson
2023-11-23 09:55:50 -08:00
committed by GitHub
parent 0d38b41540
commit a7aed71fbe

View File

@@ -677,7 +677,7 @@ class PokemonEmeraldWorld(World):
level_up_movepool = list({
move.move_id
for move in new_species.learnset
if move.level <= pokemon.level
if move.move_id != 0 and move.level <= pokemon.level
})
new_moves = (