Skip to content

Commit

Permalink
Merge pull request #234 from randovania/metroid-death
Browse files Browse the repository at this point in the history
Disable damage when Metroid dies
  • Loading branch information
ThanatosGit authored Dec 23, 2023
2 parents 7c57236 + dd3900c commit 5744612
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ def _patch_metroids(editor: PatcherEditor):
# weird case where some fields are defined two times
if type(ai_component["fields"]) == ListContainer:
ai_component["fields"][94]["value"]["value"] = False
ai_component["fields"][95]["value"]["value"] = False
else:
ai_component["fields"]["bRemovePlayerInputOnDeath"]["value"] = False
ai_component["fields"]["bSetPlayerInvulnerableWithReactionOnDeath"]["value"] = False

# script component defines in which lua file the function names from "args" can be found
script_component = metroid_bmsad.raw["components"]["SCRIPT"]
Expand Down

0 comments on commit 5744612

Please sign in to comment.