Fixed a few spiral bugs

Fixed a problem with door pairing system
This commit is contained in:
aerinon
2019-10-05 23:15:06 -06:00
parent 92ad60bedf
commit 19a78f2a0c
8 changed files with 29 additions and 19 deletions

View File

@@ -276,11 +276,11 @@ class PairedDoor(object):
def address_a(self, world, player):
d = world.check_for_door(self.door_a, player)
return 0x13C000 + door_pair_offset_table[d.roomIndex]*2
return 0x13C000 + (door_pair_offset_table[d.roomIndex]+d.doorListPos)*2
def address_b(self, world, player):
d = world.check_for_door(self.door_b, player)
return 0x13C000 + door_pair_offset_table[d.roomIndex]*2
return 0x13C000 + (door_pair_offset_table[d.roomIndex]+d.doorListPos)*2
def rom_data_a(self, world, player):
if not self.pair: