From a797ad1ff21a9ad5d9e8349b0d208d6848341ab9 Mon Sep 17 00:00:00 2001 From: dyceron <38679103+dyceron@users.noreply.github.com> Date: Fri, 22 Sep 2023 19:26:09 -0400 Subject: [PATCH] Fix starting Aeion --- open_samus_returns_rando/samus_returns_patcher.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/open_samus_returns_rando/samus_returns_patcher.py b/open_samus_returns_rando/samus_returns_patcher.py index 1da713c..ec2aa4f 100644 --- a/open_samus_returns_rando/samus_returns_patcher.py +++ b/open_samus_returns_rando/samus_returns_patcher.py @@ -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: