Base ROM GFX Fixes and more
This commit is contained in:
6
Rom.py
6
Rom.py
@@ -43,7 +43,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings
|
||||
|
||||
|
||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||
RANDOMIZERBASEHASH = '168c7d6e330a134e7565baedab79aa15'
|
||||
RANDOMIZERBASEHASH = '59bea5ff31ed36e1235b897efade6595'
|
||||
|
||||
|
||||
class JsonRom(object):
|
||||
@@ -631,7 +631,7 @@ def patch_rom(world, rom, player, team, is_mystery=False):
|
||||
|
||||
from OverworldShuffle import can_reach_smith
|
||||
if not can_reach_smith(world, player):
|
||||
rom.write_byte(0x18005d, 0x01) # patch for deleting smith on S+Q
|
||||
rom.write_byte(0x180043, 0x01) # patch for deleting smith on S+Q
|
||||
|
||||
# patch entrance/exits/holes
|
||||
for region in world.regions:
|
||||
@@ -1217,7 +1217,7 @@ def patch_rom(world, rom, player, team, is_mystery=False):
|
||||
rom.initial_sram.set_starting_equipment(world, player)
|
||||
|
||||
rom.write_byte(0x18004A, 0x00 if world.mode[player] != 'inverted' else 0x01) # Inverted mode
|
||||
rom.write_byte(0x180043, 0x00) # Hammer always breaks barrier
|
||||
rom.write_byte(0x18005D, 0x00) # Hammer always breaks barrier
|
||||
rom.write_byte(0x02AF79, 0xD0 if world.mode[player] != 'inverted' else 0xF0) # vortexes: Normal (D0=light to dark, F0=dark to light, 42 = both)
|
||||
rom.write_byte(0x03A943, 0xD0 if world.mode[player] != 'inverted' else 0xF0) # Mirror: Normal (D0=Dark to Light, F0=light to dark, 42 = both)
|
||||
rom.write_byte(0x03A96D, 0xF0 if world.mode[player] != 'inverted' else 0xD0) # Residual Portal: Normal (F0= Light Side, D0=Dark Side, 42 = both (Darth Vader))
|
||||
|
||||
Reference in New Issue
Block a user