Bomb-only mode fixes

- starting max capacity should be 0
- replace bombs from shops with small hearts
This commit is contained in:
2021-10-03 11:39:03 -07:00
parent 3e9387d8e5
commit bd5c494d60
2 changed files with 3 additions and 1 deletions

View File

@@ -321,6 +321,8 @@ def generate_itempool(world, player):
item = slot['item']
if shop.region.name == 'Capacity Upgrade' and world.difficulty[player] != 'normal':
pool.append('Rupees (20)')
elif world.swords[player] == "bombs" and item in ['Single Bomb', 'Bombs (3)', 'Bombs (10)', 'Bomb Upgrade (+5)', 'Bomb Upgrade (+10)']:
pool.append('Small Heart')
else:
pool.append(item)

2
Rom.py
View File

@@ -1349,7 +1349,7 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
equip[0x36C] = 0x18
equip[0x36D] = 0x18
equip[0x379] = 0x68
if world.bombbag[player]:
if world.bombbag[player] or world.swords[player] == 'bombs':
starting_max_bombs = 0
else:
starting_max_bombs = 10