Update baserom
This commit is contained in:
8
Rom.py
8
Rom.py
@@ -85,7 +85,7 @@ from Utils import int16_as_bytes, int32_as_bytes, local_path, snes_to_pc
|
|||||||
from Versions import DRVersion, GKVersion, ORVersion
|
from Versions import DRVersion, GKVersion, ORVersion
|
||||||
|
|
||||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||||
RANDOMIZERBASEHASH = '73c9cdaf56b3ec65eb95d5cfce1bbcee'
|
RANDOMIZERBASEHASH = '684b552ec732c78ccec3201f14517872'
|
||||||
|
|
||||||
|
|
||||||
class JsonRom(object):
|
class JsonRom(object):
|
||||||
@@ -737,8 +737,8 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
|||||||
dr_flags = DROptions.NoOptions
|
dr_flags = DROptions.NoOptions
|
||||||
if world.mirrorscroll[player] or world.doorShuffle[player] != 'vanilla':
|
if world.mirrorscroll[player] or world.doorShuffle[player] != 'vanilla':
|
||||||
dr_flags |= DROptions.Town_Portal
|
dr_flags |= DROptions.Town_Portal
|
||||||
if world.doorShuffle[player] == 'vanilla':
|
# if world.doorShuffle[player] == 'vanilla':
|
||||||
dr_flags |= DROptions.Eternal_Mini_Bosses
|
# dr_flags |= DROptions.Eternal_Mini_Bosses
|
||||||
if world.doorShuffle[player] not in ['vanilla', 'basic']:
|
if world.doorShuffle[player] not in ['vanilla', 'basic']:
|
||||||
dr_flags |= DROptions.Map_Info
|
dr_flags |= DROptions.Map_Info
|
||||||
if ((world.collection_rate[player] or world.goal[player] == 'completionist')
|
if ((world.collection_rate[player] or world.goal[player] == 'completionist')
|
||||||
@@ -946,7 +946,7 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
|||||||
rom.write_byte(cr_pc+0x1e, 0xEE) # slash
|
rom.write_byte(cr_pc+0x1e, 0xEE) # slash
|
||||||
rom.write_byte(cr_pc+0x1f, thousands_bot)
|
rom.write_byte(cr_pc+0x1f, thousands_bot)
|
||||||
# modify stat config
|
# modify stat config
|
||||||
stat_address = 0x23983E
|
stat_address = 0x239888
|
||||||
stat_pc = snes_to_pc(stat_address)
|
stat_pc = snes_to_pc(stat_address)
|
||||||
rom.write_byte(stat_pc, 0xa9) # change to pos 21 (from b1)
|
rom.write_byte(stat_pc, 0xa9) # change to pos 21 (from b1)
|
||||||
rom.write_byte(stat_pc+2, 0xc0) # change to 12 bits (from a0)
|
rom.write_byte(stat_pc+2, 0xc0) # change to 12 bits (from a0)
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user