From e4d6da47a4cfa17c944c47a714d03a043c2c4b24 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 6 Feb 2022 21:44:19 +0100 Subject: [PATCH] LttP: fix rom writing crash because I accidentally defaulted to pep8 naming --- worlds/alttp/Rom.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/worlds/alttp/Rom.py b/worlds/alttp/Rom.py index c6a96a36..c6238fd1 100644 --- a/worlds/alttp/Rom.py +++ b/worlds/alttp/Rom.py @@ -1018,11 +1018,11 @@ def patch_rom(world, rom, player, enemized): # Set overflow items for progressive equipment rom.write_bytes(0x180090, [difficulty.progressive_sword_limit if not world.swordless[player] else 0, - item_table[difficulty.basic_sword[-1]].item_code, - difficulty.progressive_shield_limit, item_table[difficulty.basic_shield[-1]].item_code, - difficulty.progressive_armor_limit, item_table[difficulty.basic_armor[-1]].item_code, + item_table[difficulty.basicsword[-1]].item_code, + difficulty.progressive_shield_limit, item_table[difficulty.basicshield[-1]].item_code, + difficulty.progressive_armor_limit, item_table[difficulty.basicarmor[-1]].item_code, difficulty.progressive_bottle_limit, overflow_replacement, - difficulty.progressive_bow_limit, item_table[difficulty.basic_bow[-1]].item_code]) + difficulty.progressive_bow_limit, item_table[difficulty.basicbow[-1]].item_code]) if difficulty.progressive_bow_limit < 2 and ( world.swordless[player] or world.logic[player] == 'noglitches'):