Skip to content

Commit

Permalink
Merge pull request #360 from randovania/a1-teleporter
Browse files Browse the repository at this point in the history
A1 Teleporter Crumble Fix
  • Loading branch information
ThanatosGit authored Jun 3, 2024
2 parents f44e3df + 3ebfc49 commit e74f781
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/open_samus_returns_rando/specific_patches/static_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,13 @@ def patch_area7_item(editor: PatcherEditor) -> None:
area7 = editor.get_scenario("s090_area9")
area7.add_actor_to_entity_groups("PostOmega_003", "LE_Item_009")


def patch_a1_teleporter_crumbles(editor: PatcherEditor) -> None:
# Prevents a possible softlock in DLR if a door is added to the teleporter room
area1 = editor.get_file("maps/levels/c10_samus/s010_area1/s010_area1.bmsbk", Bmsbk)
area1.raw["block_groups"][15]["types"][0]["blocks"][0]["respawn_time"] = 0.0


def apply_static_fixes(editor: PatcherEditor) -> None:
patch_multi_room_gammas(editor)
patch_pickup_rotation(editor)
Expand All @@ -297,3 +304,4 @@ def apply_static_fixes(editor: PatcherEditor) -> None:
increase_pb_drop_chance(editor)
fix_wrong_cc_actor_deletions(editor)
patch_area7_item(editor)
patch_a1_teleporter_crumbles(editor)

0 comments on commit e74f781

Please sign in to comment.