Update Baserom and write loot bits
This commit is contained in:
12
Rom.py
12
Rom.py
@@ -44,7 +44,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings
|
||||
|
||||
|
||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||
RANDOMIZERBASEHASH = '66804e3a6063d35bee8945c721ad4776'
|
||||
RANDOMIZERBASEHASH = '8e29777cf6d1ff6fceb72bbf7aacb62c'
|
||||
|
||||
|
||||
class JsonRom(object):
|
||||
@@ -1440,6 +1440,16 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
||||
or world.dropshuffle[player] != 'none' or world.pottery[player] not in ['none', 'cave']):
|
||||
rom.write_byte(0x18003A, 0x01) # show key counts on map pickup
|
||||
|
||||
loot_show = 0x09
|
||||
if world.prizeshuffle[player] != 'none':
|
||||
loot_show |= 0x10
|
||||
if world.pottery[player] not in ['none', 'cave']:
|
||||
loot_show |= 0x02
|
||||
if world.dropshuffle[player] != 'none':
|
||||
loot_show |= 0x04
|
||||
|
||||
rom.write_byte(0x1CFF10, loot_show)
|
||||
|
||||
# compasses showing dungeon count
|
||||
compass_mode = 0x80 if world.compassshuffle[player] not in ['none', 'nearby'] else 0x00
|
||||
if world.clock_mode != 'none' or world.dungeon_counters[player] == 'off':
|
||||
|
||||
Reference in New Issue
Block a user