Skip to content

Commit

Permalink
Fix starting Aeion
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Sep 22, 2023
1 parent 235bbf9 commit a797ad1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions open_samus_returns_rando/samus_returns_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ def create_custom_init(configuration: dict) -> str:

energy_per_tank = configuration["energy_per_tank"]
max_life = inventory.pop("ITEM_MAX_LIFE")

# max_aeion has to be setup like this,
# otherwise the starting aeion amount will be 1000 (hardcoded) plus the aeion tank amount

aeion_per_tank = configuration["aeion_per_tank"]
max_aeion = 1000 - aeion_per_tank
max_aeion = inventory.pop("ITEM_MAX_SPECIAL_ENERGY")

# increase starting HP if starting with etanks
if "ITEM_ENERGY_TANKS" in inventory:
Expand Down

0 comments on commit a797ad1

Please sign in to comment.