PKMN R/B: Don't change classification of items from other worlds #4192

This commit is contained in:
Exempt-Medic
2024-11-14 19:57:08 -05:00
committed by GitHub
parent 2a850261b8
commit a734d25f66

View File

@@ -528,8 +528,8 @@ class PokemonRedBlueWorld(World):
for sphere in multiworld.get_spheres():
mon_locations_in_sphere = {}
for location in sphere:
if (location.game == "Pokemon Red and Blue" and (location.item.name in poke_data.pokemon_data.keys()
or "Static " in location.item.name)
if (location.game == location.item.game == "Pokemon Red and Blue"
and (location.item.name in poke_data.pokemon_data.keys() or "Static " in location.item.name)
and location.item.advancement):
key = (location.player, location.item.name)
if key in found_mons: