From 33e166fb8c2afb4068f478e3dd3a49e89dd2de9d Mon Sep 17 00:00:00 2001 From: LLCoolDave Date: Fri, 14 Jul 2017 18:25:51 +0200 Subject: [PATCH] Update version number. --- Main.py | 4 ++-- Rom.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Main.py b/Main.py index 201ec3c6..f8d5382f 100644 --- a/Main.py +++ b/Main.py @@ -9,9 +9,9 @@ import random import time import logging -__version__ = '0.4.1-dev' +__version__ = '0.4.2-dev' -logic_hash = [215, 18, 94, 177, 161, 252, 4, 45, 29, 231, 99, 158, 70, 55, 74, 39, 12, 134, 142, 189, 61, 105, 10, 254, 137, 44, 72, 154, 145, 167, 98, 225, +logic_hash = [215, 94, 18, 177, 161, 252, 4, 45, 29, 231, 99, 158, 70, 55, 74, 39, 12, 134, 142, 189, 61, 105, 10, 254, 137, 44, 72, 154, 145, 167, 98, 225, 100, 217, 126, 187, 13, 255, 138, 51, 64, 130, 139, 233, 168, 69, 175, 25, 58, 160, 1, 27, 206, 169, 223, 210, 188, 111, 186, 240, 133, 26, 41, 241, 204, 89, 78, 63, 96, 218, 198, 224, 219, 35, 82, 181, 121, 243, 0, 155, 91, 120, 221, 178, 162, 80, 66, 97, 118, 103, 86, 191, 135, 122, 104, 40, 183, 9, 230, 110, 14, 87, 143, 249, 90, 75, 232, 157, 238, 196, 23, 248, 2, 101, 159, 108, 201, 73, 34, 15, 179, 92, 226, 60, 222, 32, 109, 119, diff --git a/Rom.py b/Rom.py index 93860891..4f4a794a 100644 --- a/Rom.py +++ b/Rom.py @@ -356,7 +356,7 @@ def patch_rom(world, rom, hashtable, quickswap=False, beep='normal', sprite=None # set rom name # 21 bytes - rom.write_bytes(0x7FC0, bytearray('ER_041_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big')) + rom.write_bytes(0x7FC0, bytearray('ER_042_%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])