Skip to content

Commit

Permalink
Properly change temp locked one-way doors to be two-way
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Oct 5, 2023
1 parent b4c2755 commit 2fd2f1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion open_samus_returns_rando/specific_patches/door_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ def _patch_one_way_doors(editor: PatcherEditor):
for area_name, doors in ONE_WAY_DOORS.items():
scenario = editor.get_scenario(area_name)
for door in doors:
scenario.raw.actors[15][door].type = "doorpowerpower"
properties = scenario.raw.actors[15][door]
properties.type = "doorpowerpower"
if door == "Door012":
properties.components[0]["arguments"][2]["value"] = True


def patch_doors(editor: PatcherEditor):
Expand Down

0 comments on commit 2fd2f1c

Please sign in to comment.