From b208eef8e8f9234cb48b7f8941bef448f6b23809 Mon Sep 17 00:00:00 2001 From: dyceron <38679103+dyceron@users.noreply.github.com> Date: Sun, 1 Oct 2023 08:18:38 -0400 Subject: [PATCH] Readd starting inventory --- open_samus_returns_rando/samus_returns_patcher.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/open_samus_returns_rando/samus_returns_patcher.py b/open_samus_returns_rando/samus_returns_patcher.py index c0118a9..caee3a7 100644 --- a/open_samus_returns_rando/samus_returns_patcher.py +++ b/open_samus_returns_rando/samus_returns_patcher.py @@ -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)