Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hesto2 committed Nov 25, 2024
1 parent 08bab75 commit 93c51dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BlastShieldRando.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ def _get_available_blast_shields(

def apply_blast_shield_mapping(world: "MetroidPrimeWorld"):
remove_vanilla_blast_shields(world)
assert world.blast_shield_mapping is not None
mapping = world.blast_shield_mapping
assert mapping is not None
for area, area_mapping in mapping.items():
for room_name, door_mapping in area_mapping.type_mapping.items():
for door_id, shield_type in door_mapping.items():
Expand Down
1 change: 1 addition & 0 deletions DoorRando.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def remap_doors_to_power_beam_if_necessary(world: "MetroidPrimeWorld"):
starting_beam = world.starting_room_data.selected_loadout.starting_beam

if starting_beam is not SuitUpgrade.Power_Beam:
assert world.starting_room_data
for area, mapping in world.door_color_mapping.items():
if (
area == world.starting_room_data.area.value
Expand Down

0 comments on commit 93c51dd

Please sign in to comment.