last minute fixing

This commit is contained in:
Fabian Dill
2021-04-01 20:31:39 +02:00
parent 9282cbaec7
commit 01ef041b86
6 changed files with 14 additions and 14 deletions

View File

@@ -711,7 +711,10 @@ def patch_rom(world, rom, player, team, enemized):
if location.item is not None:
if location.item.game != "A Link to the Past":
itemid = 0x21
if location.item.game == "Factorio":
itemid = 0x09 # Hammer Sprite
else:
itemid = 0x21 # Bug Catching Net
# Keys in their native dungeon should use the orignal item code for keys
elif location.parent_region.dungeon:
if location.parent_region.dungeon.is_dungeon_item(location.item):