Add starting Byrna or Somaria with starting progressive cane in appropriate mode

This commit is contained in:
2022-07-10 19:10:53 -07:00
parent 125e8d260a
commit 8934f90bb8

5
Rom.py
View File

@@ -1489,6 +1489,11 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
equip[0x38F] = 2
elif startingstate.has('L1 Bombs', player) or startingstate.has('L1 Cane', player) or world.swords[player] == 'cane':
equip[0x38F] = 1
if startingstate.has('L1 Cane', player) or startingstate.has('L2 Cane', player) or startingstate.has('L3 Cane', player) or startingstate.has('L4 Cane', player) or startingstate.has('L5 Cane', player):
if world.swords[player] == 'byrna':
equip[0x351] = 1
elif world.swords[player] == 'somaria':
equip[0x350] = 1
if startingstate.has('Mirror Shield', player):
equip[0x35A] = 3