Skip to content

Commit

Permalink
Revert old pr
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Oct 1, 2023
1 parent b208eef commit 0f0308d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions open_samus_returns_rando/samus_returns_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def create_custom_init(configuration: dict) -> str:
max_aeion += atanks * aeion_per_tank

# These fields are required to start the game
inventory_update = {
final_inventory = {
"ITEM_MAX_LIFE": max_life,
"ITEM_MAX_SPECIAL_ENERGY": max_aeion,
"ITEM_WEAPON_MISSILE_MAX": 0,
Expand All @@ -58,10 +58,10 @@ def create_custom_init(configuration: dict) -> str:
"ITEM_METROID_COUNT": 0,
"ITEM_METROID_TOTAL_COUNT": 40,
}
inventory.update(inventory_update)
final_inventory.update(inventory)

replacement = {
"new_game_inventory": inventory,
"new_game_inventory": final_inventory,
"starting_scenario": lua_util.wrap_string(starting_location["scenario"]),
"starting_actor": lua_util.wrap_string(starting_location["actor"]),
"energy_per_tank": energy_per_tank,
Expand Down

0 comments on commit 0f0308d

Please sign in to comment.