Fix cavestate dungeon items in non-keysanity
This commit is contained in:
6
Rom.py
6
Rom.py
@@ -474,6 +474,12 @@ def patch_rom(world, rom, player, team, is_mystery=False):
|
|||||||
rom.write_byte(location.player_address, location.item.player)
|
rom.write_byte(location.player_address, location.item.player)
|
||||||
else:
|
else:
|
||||||
itemid = 0x5A
|
itemid = 0x5A
|
||||||
|
|
||||||
|
if not location.locked and ((location.item.smallkey and world.keyshuffle[player] == 'none') or (
|
||||||
|
location.item.bigkey and world.bigkeyshuffle[player] == 'none') or (
|
||||||
|
location.item.map and world.mapshuffle[player] == 'none') or (
|
||||||
|
location.item.compass and world.compassshuffle[player] == 'none')):
|
||||||
|
itemid = handle_native_dungeon(location, itemid)
|
||||||
rom.write_byte(location.address, itemid)
|
rom.write_byte(location.address, itemid)
|
||||||
for dungeon in [d for d in world.dungeons if d.player == player]:
|
for dungeon in [d for d in world.dungeons if d.player == player]:
|
||||||
if dungeon.prize:
|
if dungeon.prize:
|
||||||
|
|||||||
Reference in New Issue
Block a user