Skip to content

Commit

Permalink
Fixed a bug with chests sometimes not shuffling.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgrew committed Dec 22, 2015
1 parent 95e6e5a commit 37dc282
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwrandomizer.py
Expand Up @@ -108,7 +108,7 @@ def shuffle_chests(self):
# j = self.non_charlock_chest()
# contents[19],contents[j] = contents[j],contents[19]

self.rom_data[self.chest_content_slice] = bytearray(contents)
self.rom_data[self.chest_content_slice] = bytearray(contents)

def non_charlock_chest(self):
"""
Expand Down Expand Up @@ -387,7 +387,7 @@ def move_repel(self):
def buff_heal(self):
self.rom_data[0xdbce] = 15

def fix_northern_shrine( self):
def patch_northern_shrine(self):
"""
Removes the 2 blocks from around the shrine guardian so you can walk around
him.
Expand Down Expand Up @@ -467,7 +467,7 @@ def randomize(args):
rom.buff_heal()

print("Fixing Northern Shrine...")
rom.fix_northern_shrine()
rom.patch_northern_shrine()

if args.chests:
print("Shuffling chest contents...")
Expand Down

0 comments on commit 37dc282

Please sign in to comment.