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

This commit is contained in:
Bryce Wilson 2023-11-23 09:55:50 -08:00 committed by GitHub
parent 0d38b41540
commit a7aed71fbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
worlds/pokemon_emerald

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 = (