Skip to content

Commit

Permalink
Fixed a major problem with cave shuffling
Browse files Browse the repository at this point in the history
Swamp cave south exit was randomly being swapped with the north exit. FailFish.
  • Loading branch information
mcgrew committed Dec 7, 2015
1 parent 9cceea9 commit 383e4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwrandomizer.py
Expand Up @@ -275,7 +275,7 @@ def shuffle_towns(warp_data):
warp_data[210:213] = caves[6]
# randomly swap swamp cave exit with southern shrine
if (random.randint(0,1)):
warp_data[168:171],warp_data[174:177] = warp_data[174:177],warp_data[168:171]
warp_data[174:177],warp_data[189:192] = warp_data[189:192],warp_data[174:177]
return warp_data

def randomize_zones(zone_info):
Expand Down

0 comments on commit 383e4a9

Please sign in to comment.