Skip to content

Commit

Permalink
PKMN R/B: Don't change classification of items from other worlds #4192
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Nov 15, 2024
1 parent 2a85026 commit a734d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/pokemon_rb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ def stage_post_fill(cls, multiworld):
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:
Expand Down

0 comments on commit a734d25

Please sign in to comment.