SA2B: Add missing Whistle location (#1306)

This commit is contained in:
PoryGone
2022-12-08 04:47:39 -05:00
committed by GitHub
parent f5adc7bdc5
commit 92f75f3e03
5 changed files with 8 additions and 1 deletions

View File

@@ -604,6 +604,8 @@ def set_mission_upgrade_rules_standard(world: MultiWorld, player: int):
if world.whistlesanity[player].value == 2 or world.whistlesanity[player].value == 3:
add_rule(world.get_location(LocationName.mission_street_hidden_3, player),
lambda state: state.has(ItemName.tails_booster, player))
add_rule(world.get_location(LocationName.mission_street_hidden_4, player),
lambda state: state.has(ItemName.tails_booster, player))
add_rule(world.get_location(LocationName.death_chamber_hidden_1, player),
lambda state: state.has(ItemName.knuckles_shovel_claws, player) and
state.has(ItemName.knuckles_hammer_gloves, player))
@@ -1044,6 +1046,8 @@ def set_mission_upgrade_rules_hard(world: MultiWorld, player: int):
if world.whistlesanity[player].value == 2 or world.whistlesanity[player].value == 3:
add_rule(world.get_location(LocationName.mission_street_hidden_3, player),
lambda state: state.has(ItemName.tails_booster, player))
add_rule(world.get_location(LocationName.mission_street_hidden_4, player),
lambda state: state.has(ItemName.tails_booster, player))
add_rule(world.get_location(LocationName.death_chamber_hidden_1, player),
lambda state: state.has(ItemName.knuckles_shovel_claws, player) and
state.has(ItemName.knuckles_hammer_gloves, player))