Update Rom.
This commit is contained in:
4
Rom.py
4
Rom.py
@@ -8,7 +8,7 @@ import hashlib
|
||||
import logging
|
||||
|
||||
JAP10HASH = '03a63945398191337e896e5771f77173'
|
||||
RANDOMIZERBASEHASH = '950560f31ee9ac81ce1ab071594f1b4d'
|
||||
RANDOMIZERBASEHASH = '933dbf06bdfda86ed12d1bd9e0198958'
|
||||
|
||||
|
||||
class JsonRom(object):
|
||||
@@ -358,7 +358,7 @@ def patch_rom(world, rom, hashtable, quickswap=False, beep='normal', sprite=None
|
||||
|
||||
# set rom name
|
||||
# 21 bytes
|
||||
rom.write_bytes(0x7FC0, bytearray('ER_042_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big'))
|
||||
rom.write_bytes(0x7FC0, bytearray('ER_043_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big'))
|
||||
|
||||
# set heart beep rate
|
||||
rom.write_byte(0x180033, {'off': 0x00, 'half': 0x40, 'quarter': 0x80, 'normal': 0x20}[beep])
|
||||
|
||||
Reference in New Issue
Block a user