Merge branch 'OverworldShuffleDev' into OverworldShuffle

This commit is contained in:
codemann8
2021-07-10 13:53:45 -05:00
9 changed files with 21 additions and 8 deletions

View File

@@ -1,5 +1,8 @@
# Changelog
### 0.1.6.6
- ~~Merged DR v0.4.0.9 - P/C Indicator / Credits fix / CLI Hints Fix~~
### 0.1.6.5
- Reduced chance of diagonal flute spot in Balanced
- ~~Merged DR v0.4.0.8 - Boss Indicator / Fake Boots / Quickswap Update / Credits Updates~~

View File

@@ -20,6 +20,7 @@ from KeyDoorShuffle import analyze_dungeon, validate_vanilla_key_logic, build_ke
def link_doors(world, player):
orig_swamp_patch = world.swamp_patch_required[player]
attempt, valid = 1, False
while not valid:
try:
@@ -43,6 +44,7 @@ def link_doors(world, player):
reset_portals(world, player)
reset_rooms(world, player)
world.get_door("Skull Pinball WS", player).no_exit()
world.swamp_patch_required[player] = orig_swamp_patch
def link_doors_main(world, player):
@@ -467,8 +469,8 @@ def choose_portals(world, player):
world.get_room(0xd5, player).change(0, DoorKind.DungeonEntrance)
if not world.swamp_patch_required[player]:
swamp_region = world.get_entrance('Swamp Palace', player).connected_region
if swamp_region.name != 'Swamp Lobby':
swamp_portal = world.get_portal('Swamp', player)
if swamp_portal.door.name != 'Swamp Lobby S':
world.swamp_patch_required[player] = True

View File

@@ -28,7 +28,7 @@ from Fill import sell_potions, sell_keys, balance_multiworld_progression, balanc
from ItemList import generate_itempool, difficulties, fill_prizes, customize_shops
from Utils import output_path, parse_player_names
__version__ = '0.4.0.8-u'
__version__ = '0.4.0.9-u'
class EnemizerError(RuntimeError):

View File

@@ -6,7 +6,7 @@ try:
except ImportError:
raise Exception('Could not load sortedcontainers module')
__version__ = '0.1.6.5-u'
__version__ = '0.1.6.6-u'
def link_overworld(world, player):
# setup mandatory connections
@@ -20,14 +20,14 @@ def link_overworld(world, player):
if world.owSwap[player] != 'vanilla':
tile_groups = {}
for (name, groupType) in OWTileGroups.keys():
if world.mode[player] != 'standard' or name not in ['Castle', 'Links']:
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks']:
if world.shuffle[player] in ['vanilla', 'simple', 'dungeonssimple']:
tile_groups[(name,)] = ([], [], [])
else:
tile_groups[(name, groupType)] = ([], [], [])
for (name, groupType) in OWTileGroups.keys():
if world.mode[player] != 'standard' or name not in ['Castle', 'Links']:
if world.mode[player] != 'standard' or name not in ['Castle', 'Links', 'Central Bonk Rocks']:
(owids, lw_regions, dw_regions) = OWTileGroups[(name, groupType,)]
if world.shuffle[player] in ['vanilla', 'simple', 'dungeonssimple']:
(exist_owids, exist_lw_regions, exist_dw_regions) = tile_groups[(name,)]

View File

@@ -14,6 +14,10 @@ Thanks to qadan, cheuer, & compiling
# Bug Fixes and Notes.
* 0.4.0.9
* Fixes for stats and P/C indicator (thanks Kara)
* Swamp lobby fixes (thanks Catobat)
* Fix for --hints flag on CLI
* 0.4.0.8
* Ganon jokes added for when silvers aren't available
* Some text updated (Blind jokes, uncle text)

2
Rom.py
View File

@@ -31,7 +31,7 @@ from OverworldShuffle import default_flute_connections, flute_data
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'f0a6138148c13414ff4dc89dc0101de6'
RANDOMIZERBASEHASH = '1dc1961e57d4e588a262fa706de6c753'
class JsonRom(object):

View File

@@ -33,6 +33,10 @@ db #$b0 ; BCS to replace BEQ
org $06907f ; < 3107f - sprite_prep.asm:2170 (LDA $7EF3CA)
lda $8a : and.b #$40
; Dark Bonk Rocks Rain Sequence Guards (allowing Tile Swap on Dark Bonk Rocks)
;org $09c957 ; <- 4c957
;dw #$cb5f ; matches value on Central Bonk Rocks screen
;(replacing -> LDA $8A : AND.b #$40)
org $00d8c4 ; < ? - Bank00.asm:4068 ()
jsl.l OWWorldCheck

Binary file not shown.

View File

@@ -291,7 +291,7 @@
]
},
"hints": {
"action": "store_false",
"action": "store_true",
"type": "bool"
},
"no_hints": {