From 37dc2821f124918e8385384713ebefdbe0362438 Mon Sep 17 00:00:00 2001 From: Thomas McGrew Date: Tue, 22 Dec 2015 16:59:23 -0500 Subject: [PATCH] Fixed a bug with chests sometimes not shuffling. --- dwrandomizer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dwrandomizer.py b/dwrandomizer.py index 19735fd..6221ca6 100755 --- a/dwrandomizer.py +++ b/dwrandomizer.py @@ -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): """ @@ -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. @@ -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...")