Enemizer support

Logic issue with Ice Cross (Top) fixed
Changed a couple GUI defaults
This commit is contained in:
aerinon
2020-01-07 13:14:04 -07:00
parent fdf580c89c
commit d6cd94d04b
6 changed files with 9 additions and 7 deletions

4
Rom.py
View File

@@ -1052,9 +1052,11 @@ def patch_rom(world, player, rom):
# set rom name
# 21 bytes
from Main import __version__
rom.name = bytearray('DR_{0}_{1:09}\0'.format(__version__[0:7],world.seed), 'utf8')
# todo: change to DR when Enemizer is okay with DR
rom.name = bytearray('ER_{0}_{1:09}\0'.format(__version__[0:7], world.seed), 'utf8')
assert len(rom.name) <= 21
rom.write_bytes(0x7FC0, rom.name)
rom.name[0] = ord('D')
# Write title screen Code
hashint = int(rom.get_hash(), 16)