Skip to content

Commit

Permalink
Slight refactor for Item Tank if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Sep 15, 2023
1 parent b4409d9 commit 514d182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_samus_returns_rando/pickup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def patch_single_item_pickup(self, bmsad: dict) -> dict:
action_sets["animation_id"] = 150
action_sets["action"]["bcskla"] = "actors/items/itemtank/animations/relax.bcskla"

elif item_id == "ITEM_WEAPON_MISSILE_MAX" or item_id == "ITEM_RANDO_LOCKED_SUPERS" or item_id == "ITEM_RANDO_LOCKED_PBS":
elif item_id in {"ITEM_WEAPON_MISSILE_MAX", "ITEM_RANDO_LOCKED_SUPERS", "ITEM_RANDO_LOCKED_PBS"}:
action_sets["animation_id"] = 150
action_sets["action"]["bcskla"] = "actors/items/itemtank/animations/relax.bcskla"

Expand Down

0 comments on commit 514d182

Please sign in to comment.