Many bugfixes

* Fixed inverted generation issues with pottery option
* Moved SRAM according to SRAM standard
* Removed equitable algorithm
* Upped TFH goal limit to 254
* Cuccos should no longer cause trap door rooms to not open
* Added double click fix for install.py
* Fix for pottery item palettes near bonkable torches
* Fix for multiworld progression balancing would place Nothing or Arrow items
This commit is contained in:
aerinon
2022-02-09 14:19:10 -07:00
parent 64c19bc651
commit 49accbd2b1
15 changed files with 38 additions and 22 deletions

5
Rom.py
View File

@@ -35,7 +35,7 @@ from source.item.FillUtil import valid_pot_items
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '83bdcdbe989281b7eb36a10150314997'
RANDOMIZERBASEHASH = 'a25e589ca9359e73b0ed94cab8db107d'
class JsonRom(object):
@@ -884,6 +884,9 @@ def patch_rom(world, rom, player, team, enemized, is_mystery=False):
rom.write_byte(0x142A51, multiClientFlags)
rom.write_byte(0x142A55, ((0x1 if world.pottery[player] != 'none' else 0) # StandingItemCounterMask
| (0x2 if world.dropshuffle[player] else 0)))
if world.pottery[player] not in ['none', 'keys']:
# Cuccos should not prevent kill rooms from opening
rom.write_byte(snes_to_pc(0x0DB457), 0x40)
write_int16(rom, 0x187010, credits_total) # dynamic credits
if credits_total != 216: