"""Easy-only fixed skill/energy assistance; native Normal/Hard values preserved."""
ORIGIN = 0x2EE400
LIMIT = 0x2EF000

def install(data, assemble, patch):
    code = assemble('easy_stats', ORIGIN)
    assert ORIGIN + len(code) <= LIMIT
    patch(ORIGIN, b'\xff' * len(code), code)
    patch(0x8E46, bytes.fromhex('4eb9000fef7c'), bytes.fromhex('4eb9002ee414'))
