-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from randovania/patch-a3-gamma-spawns
Patch Area 3 Gamma to spawn/remain in one room
- Loading branch information
Showing
2 changed files
with
37 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 22 additions & 72 deletions
94
open_samus_returns_rando/specific_patches/static_fixes.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,31 @@ | ||
from open_samus_returns_rando.patcher_editor import PatcherEditor | ||
|
||
MULTI_ROOM_GAMMAS = [ | ||
{ | ||
"scenario": "s033_area3b", | ||
"layer": 4, | ||
"actor": "Gamma_004_A" | ||
}, | ||
{ | ||
"scenario": "s033_area3b", | ||
"layer": 4, | ||
"actor": "Gamma_004_Intro_A" | ||
}, | ||
{ | ||
"scenario": "s033_area3b", | ||
"layer": 4, | ||
"actor": "Gamma_004_C" | ||
}, | ||
{ | ||
"scenario": "s033_area3b", | ||
"layer": 4, | ||
"actor": "Gamma_004_Intro_C" | ||
}, | ||
{ | ||
"scenario": "s036_area3c", | ||
"layer": 4, | ||
"actor": "SP_Gamma_007_B" | ||
}, | ||
{ | ||
"scenario": "s036_area3c", | ||
"layer": 4, | ||
"actor": "SP_Gamma_007_Intro_B" | ||
}, | ||
{ | ||
"scenario": "s040_area4", | ||
"layer": 4, | ||
"actor": "SP_Gamma_001_B" | ||
}, | ||
{ | ||
"scenario": "s040_area4", | ||
"layer": 4, | ||
"actor": "SP_Gamma_001_Intro_B" | ||
}, | ||
{ | ||
"scenario": "s040_area4", | ||
"layer": 4, | ||
"actor": "SP_Gamma_001_C" | ||
}, | ||
{ | ||
"scenario": "s040_area4", | ||
"layer": 4, | ||
"actor": "SP_Gamma_001_Intro_C" | ||
}, | ||
{ | ||
"scenario": "s050_area5", | ||
"layer": 4, | ||
"actor": "Gamma_002_B" | ||
}, | ||
{ | ||
"scenario": "s050_area5", | ||
"layer": 4, | ||
"actor": "Gamma_002_Intro_B" | ||
}, | ||
{ | ||
"scenario": "s050_area5", | ||
"layer": 4, | ||
"actor": "Gamma_002_C" | ||
}, | ||
{ | ||
"scenario": "s050_area5", | ||
"layer": 4, | ||
"actor": "Gamma_002_Intro_C" | ||
}, | ||
{"scenario": "s030_area3", "layer": 4, "actor": "SP_Gamma_005_A"}, | ||
{"scenario": "s030_area3", "layer": 4, "actor": "SP_Gamma_004_Intro_A"}, | ||
{"scenario": "s030_area3", "layer": 4, "actor": "SP_Gamma_004_B"}, | ||
{"scenario": "s030_area3", "layer": 4, "actor": "SP_Gamma_004_Intro_B"}, | ||
{"scenario": "s033_area3b", "layer": 4, "actor": "Gamma_004_A"}, | ||
{"scenario": "s033_area3b", "layer": 4, "actor": "Gamma_004_Intro_A"}, | ||
{"scenario": "s033_area3b", "layer": 4, "actor": "Gamma_004_C"}, | ||
{"scenario": "s033_area3b", "layer": 4, "actor": "Gamma_004_Intro_C"}, | ||
{"scenario": "s036_area3c", "layer": 4, "actor": "SP_Gamma_007_B"}, | ||
{"scenario": "s036_area3c", "layer": 4, "actor": "SP_Gamma_007_Intro_B"}, | ||
{"scenario": "s040_area4", "layer": 4, "actor": "SP_Gamma_001_B"}, | ||
{"scenario": "s040_area4", "layer": 4, "actor": "SP_Gamma_001_Intro_B"}, | ||
{"scenario": "s040_area4", "layer": 4, "actor": "SP_Gamma_001_C"}, | ||
{"scenario": "s040_area4", "layer": 4, "actor": "SP_Gamma_001_Intro_C"}, | ||
{"scenario": "s050_area5", "layer": 4, "actor": "Gamma_002_B"}, | ||
{"scenario": "s050_area5", "layer": 4, "actor": "Gamma_002_Intro_B"}, | ||
{"scenario": "s050_area5", "layer": 4, "actor": "Gamma_002_C"}, | ||
{"scenario": "s050_area5", "layer": 4, "actor": "Gamma_002_Intro_C"}, | ||
] | ||
|
||
|
||
def patch_multi_room_gammas(editor: PatcherEditor): | ||
for reference in MULTI_ROOM_GAMMAS: | ||
editor.remove_entity(reference) | ||
editor.remove_entity(reference) | ||
|
||
|
||
def apply_static_fixes(editor: PatcherEditor): | ||
patch_multi_room_gammas(editor) | ||
patch_multi_room_gammas(editor) |