Skip to content

Commit

Permalink
Readd starting inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Oct 1, 2023
1 parent 323d7de commit b208eef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions open_samus_returns_rando/samus_returns_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,15 @@ def create_custom_init(configuration: dict) -> str:
atanks = inventory.pop("ITEM_AEION_TANKS")
max_aeion += atanks * aeion_per_tank

# These fields are required to start the game
inventory_update = {
"ITEM_MAX_LIFE": max_life,
"ITEM_MAX_SPECIAL_ENERGY": max_aeion,
"ITEM_WEAPON_MISSILE_MAX": 0,
"ITEM_WEAPON_SUPER_MISSILE_MAX": 0,
"ITEM_WEAPON_POWER_BOMB_MAX": 0,
"ITEM_METROID_COUNT": 0,
"ITEM_METROID_TOTAL_COUNT": 40,
}
inventory.update(inventory_update)

Expand Down

0 comments on commit b208eef

Please sign in to comment.