ToH Crystal Switch Region WIP

This commit is contained in:
StructuralMike
2021-03-06 17:56:45 +01:00
parent b64cebc467
commit 5ef1ceb136
8 changed files with 93 additions and 34 deletions

View File

@@ -701,6 +701,16 @@ class CollectionState(object):
or self.has('Ice Rod', player)
or self.has('Cane of Somaria', player)
or self.has('Cane of Byrna', player))
def can_hit_switch_through_barrier(self, player):
return (self.can_use_bombs(player)
or self.can_shoot_arrows(player)
or self.has_beam_sword(player)
or self.has('Blue Boomerang', player)
or self.has('Red Boomerang', player)
or self.has('Fire Rod', player)
or self.has('Ice Rod', player)
or self.has('Cane of Somaria', player))
def can_shoot_arrows(self, player):
if self.world.retro[player]: