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xFA, 0xFC, 0x50],
[0xDC, 0x2B, 0x9D, 0x8B, 0xAB, 0xFA, 0xFD, 0x50],
[0xDC, 0x2B, 0x9D, 0x8B, 0xAB, 0xFA, 0xFE, 0x50],
[0xDC, 0x2B, 0x9D, 0x8B, 0xAB, 0xFA, 0xFF, 0x50],
[0xDC, 0x2B, 0x9D, 0x8B, 0xAB, 0xFB, 0xF6, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xF7, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xF8, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xF9, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFA, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFB, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFC, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFD, 0x50],
[0xE3, 0xE3, 0xD4, 0xD2, 0xD9, 0xE3, 0xE3, 0x50]]

bags = ["ITEM", "ITEM", "0", "ITEM", "ITEM", "KEY_ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "0", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "ITEM"]

#jump_chars = [0xC2,0xC3,0xCA,0xD2,0xDA,0xE9] + [0xC4,0xD4,0xCC,0xCD,0xDC]
jump_chars = [0xC1, 0xD1, 0xE1, 0xF1]

a=[]
for i in range(255):
    if bags[i] == "ITEM":
        name = names[i] + [0x7F]
        prepend = []
        for j in range(len(name)):
            if 0x01 <= name[j] < 0x20:
                name[j] += 0x80
                prepend.append(0xE5) # push hl
                break
            if 0x20 <= name[j] < 0x40:
                name[j] += 0x90
                prepend.append(0xE5) # push hl
                break
            if 0x40 <= name[j] < 0x44:
                name[j] += 0x59
                prepend.append(0xE4) # invalid opcode
                break
            if 0x44 <= name[j] < 0x50:
                name[j] += 0x86
                prepend.append(0xE4) # invalid opcode
                break
        else:
            if 0xC9 not in name:
                a.append(("%02X:" % (i+1)) + ''.join([' %02X'%x for x in name]))
        name = prepend + name
        #for j in range(len(name)):
        #    if name[j] in jump_chars:
        #        a.append(("%02X:" % (i+1)) + ''.join([' %02X'%x for x in name]))
        #        #a.append("%02X%02X - %02X: %02X %02X %02X" % (name[j+2],name[j+1],i+1,name[j],name[j+1],name[j+2]))
a.sort()
for b in a:
    print(b)

e95b587b6c783e3bfad25ebfca00bca931716b33
<mask token>

<mask token>
for i in range(255):
    if bags[i] == 'ITEM':
        name = names[i] + [127]
        prepend = []
        for j in range(len(name)):
            if 1 <= name[j] < 32:
                name[j] += 128
                prepend.append(229)
                break
            if 32 <= name[j] < 64:
                name[j] += 144
                prepend.append(229)
                break
            if 64 <= name[j] < 68:
                name[j] += 89
                prepend.append(228)
                break
            if 68 <= name[j] < 80:
                name[j] += 134
                prepend.append(228)
                break
        else:
            if 201 not in name:
                a.append('%02X:' % (i + 1) + ''.join([(' %02X' % x) for x in
                    name]))
        name = prepend + name
a.sort()
for b in a:
    print(b)

names = [[157, 140, 143, 227, 28, 227, 166, 80], [153, 129, 64, 227, 28, 
    227, 166, 80], [188, 214, 179, 183, 222, 188, 80], [140, 227, 64, 227, 
    28, 227, 166, 80], [161, 171, 140, 143, 227, 28, 227, 166, 80], [143, 
    130, 171, 157, 172, 66, 80], [44, 195, 222, 188, 224, 80], [194, 183, 
    201, 178, 188, 80], [52, 184, 185, 188, 80], [212, 185, 52, 197, 181, 
    188, 80], [186, 181, 216, 197, 181, 188, 80], [200, 209, 185, 43, 207, 
    188, 80], [207, 203, 197, 181, 188, 80], [182, 178, 204, 184, 201, 184,
    189, 216, 80], [207, 222, 192, 222, 201, 184, 189, 216, 80], [189, 42, 
    178, 134, 12, 40, 189, 216, 80], [178, 178, 134, 12, 40, 189, 216, 80],
    [134, 12, 40, 189, 216, 80], [177, 197, 199, 185, 201, 154, 161, 80], [
    209, 188, 214, 185, 140, 66, 167, 227, 80], [65, 227, 65, 227, 157, 172,
    135, 140, 80], [206, 201, 181, 201, 178, 188, 80], [182, 208, 197, 216,
    201, 178, 188, 80], [208, 45, 201, 178, 188, 80], [188, 214, 179, 183, 
    222, 188, 80], [157, 172, 135, 140, 128, 172, 66, 80], [143, 130, 216, 
    171, 80], [27, 168, 159, 205, 134, 139, 171, 80], [129, 171, 19, 160, 
    143, 139, 171, 80], [188, 214, 179, 183, 222, 188, 80], [216, 14, 144, 
    130, 159, 80], [204, 188, 39, 197, 128, 160, 80], [164, 135, 128, 143, 
    227, 166, 80], [216, 227, 155, 201, 178, 188, 80], [188, 214, 179, 183,
    222, 188, 80], [183, 222, 201, 192, 207, 80], [65, 172, 65, 198, 222, 
    39, 226, 179, 80], [197, 222, 51, 211, 197, 181, 188, 80], [41, 222, 
    183, 201, 182, 185, 215, 80], [41, 222, 183, 201, 182, 192, 207, 216, 
    80], [131, 155, 235, 135, 147, 5, 227, 19, 80], [139, 166, 25, 227, 140,
    66, 167, 227, 80], [9, 227, 166, 19, 140, 66, 167, 227, 80], [135, 216,
    176, 146, 133, 172, 143, 227, 80], [188, 214, 179, 183, 222, 188, 80],
    [181, 178, 188, 178, 208, 45, 80], [138, 129, 137, 142, 227, 15, 80], [
    158, 172, 135, 140, 132, 167, 80], [66, 165, 140, 64, 169, 227, 80], [
    188, 214, 179, 183, 222, 188, 80], [18, 176, 155, 235, 171, 15, 227, 80
    ], [140, 65, 227, 15, 227, 80], [140, 71, 139, 173, 166, 128, 172, 66, 
    80], [137, 129, 171, 136, 227, 140, 80], [15, 130, 11, 171, 7, 157, 139,
    171, 80], [67, 136, 161, 171, 201, 204, 180, 80], [38, 184, 188, 225, 
    179, 191, 179, 193, 80], [28, 168, 201, 194, 216, 43, 181, 80], [178, 
    178, 194, 216, 43, 181, 80], [188, 214, 179, 183, 222, 188, 80], [189, 
    42, 178, 194, 216, 43, 181, 80], [67, 129, 171, 147, 128, 172, 66, 80],
    [65, 227, 65, 227, 131, 129, 19, 80], [65, 227, 65, 227, 216, 133, 25, 
    227, 80], [65, 227, 65, 227, 131, 129, 15, 227, 80], [188, 222, 69, 201,
    202, 197, 59, 215, 80], [188, 219, 178, 153, 151, 80], [52, 187, 184, 
    187, 201, 145, 160, 80], [193, 188, 183, 201, 192, 207, 80], [202, 38, 
    200, 201, 186, 179, 215, 80], [128, 172, 66, 7, 167, 227, 19, 80], [204,
    188, 39, 197, 178, 196, 80], [181, 223, 183, 197, 202, 223, 68, 80], [
    190, 222, 190, 178, 201, 153, 216, 80], [188, 214, 179, 183, 222, 188, 
    80], [196, 38, 223, 192, 178, 188, 80], [184, 219, 178, 153, 151, 80],
    [196, 38, 223, 192, 207, 180, 58, 80], [205, 26, 201, 199, 185, 38, 215,
    80], [51, 222, 183, 60, 184, 219, 80], [211, 179, 52, 184, 25, 216, 80],
    [181, 179, 44, 224, 201, 188, 217, 188, 80], [204, 188, 39, 197, 193, 
    182, 215, 80], [178, 201, 193, 201, 181, 204, 48, 80], [52, 184, 201, 
    134, 25, 80], [196, 179, 193, 225, 179, 182, 191, 179, 80], [216, 225, 
    179, 201, 134, 25, 80], [39, 222, 201, 186, 197, 80], [177, 197, 206, 
    216, 201, 145, 160, 80], [188, 214, 179, 183, 222, 188, 80], [181, 207,
    211, 216, 186, 58, 222, 80], [45, 194, 179, 201, 143, 151, 80], [202, 
    222, 41, 183, 201, 179, 51, 220, 80], [207, 214, 185, 201, 181, 204, 48,
    80], [204, 188, 39, 197, 208, 45, 80], [207, 38, 223, 192, 140, 66, 227,
    171, 80], [186, 179, 41, 183, 25, 216, 80], [64, 169, 227, 216, 140, 
    147, 80], [182, 192, 178, 178, 188, 80], [188, 214, 179, 183, 222, 188,
    80], [70, 214, 70, 214, 204, 179, 190, 222, 80], [206, 201, 181, 201, 
    192, 195, 38, 208, 80], [181, 178, 188, 178, 139, 172, 67, 80], [128, 
    227, 140, 80], [197, 38, 200, 39, 80], [198, 41, 177, 188, 201, 153, 
    151, 80], [186, 181, 216, 201, 134, 25, 80], [182, 190, 183, 201, 182, 
    185, 215, 80], [183, 192, 197, 178, 9, 158, 80], [181, 223, 183, 197, 
    188, 222, 44, 225, 80], [181, 179, 44, 224, 201, 61, 166, 147, 80], [
    181, 204, 48, 80], [201, 219, 178, 201, 181, 204, 48, 80], [251, 180, 
    222, 48, 207, 80], [207, 211, 216, 201, 178, 196, 80], [188, 41, 183, 
    48, 207, 80], [181, 193, 194, 183, 201, 208, 80], [204, 196, 178, 156, 
    151, 80], [183, 177, 178, 48, 207, 80], [188, 214, 179, 183, 222, 188, 
    80], [208, 183, 216, 48, 207, 80], [197, 38, 178, 188, 192, 80], [204, 
    184, 59, 183, 185, 222, 80], [182, 220, 215, 45, 201, 178, 188, 80], [
    196, 38, 223, 192, 145, 152, 80], [188, 177, 220, 190, 143, 157, 9, 80],
    [197, 38, 178, 145, 143, 80], [202, 202, 201, 177, 178, 80], [180, 222,
    207, 184, 80], [188, 210, 223, 192, 145, 152, 80], [140, 136, 28, 227, 
    80], [207, 223, 182, 197, 206, 179, 190, 183, 80], [208, 180, 197, 178,
    133, 61, 80], [189, 217, 52, 178, 133, 157, 80], [188, 214, 179, 183, 
    222, 188, 80], [186, 181, 216, 201, 26, 134, 149, 80], [178, 182, 45, 
    193, 201, 134, 25, 80], [206, 201, 181, 201, 145, 160, 80], [248, 206, 
    222, 201, 145, 152, 80], [42, 189, 222, 184, 39, 80], [183, 201, 208, 
    80], [216, 171, 9, 80], [160, 143, 166, 137, 227, 147, 80], [183, 218, 
    178, 197, 139, 172, 67, 80], [208, 45, 201, 139, 172, 67, 80], [192, 61,
    201, 186, 188, 80], [186, 181, 216, 201, 194, 58, 187, 80], [182, 208, 
    197, 216, 201, 194, 58, 187, 80], [206, 201, 181, 201, 194, 58, 187, 80
    ], [188, 214, 179, 183, 222, 188, 80], [216, 225, 179, 201, 130, 168, 
    137, 80], [202, 182, 178, 201, 178, 51, 222, 188, 80], [186, 186, 219, 
    201, 178, 188, 80], [206, 201, 181, 201, 139, 172, 67, 80], [182, 208, 
    197, 216, 201, 139, 172, 67, 80], [190, 178, 197, 217, 202, 178, 80], [
    220, 43, 157, 139, 171, 156, 166, 15, 80], [160, 227, 166, 80], [28, 
    227, 166, 156, 166, 15, 80], [52, 179, 40, 80], [48, 178, 44, 197, 52, 
    179, 40, 80], [52, 184, 201, 178, 188, 80], [208, 188, 214, 179, 80], [
    208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179,
    80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214,
    179, 80], [188, 214, 179, 183, 222, 188, 80], [208, 188, 214, 179, 80],
    [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179,
    80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214,
    179, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [188, 214,
    179, 183, 222, 188, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179,
    80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214,
    179, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188,
    214, 179, 80], [208, 188, 214, 179, 80], [188, 214, 179, 183, 222, 188,
    80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [208, 188, 214,
    179, 80], [208, 188, 214, 179, 80], [208, 188, 214, 179, 80], [220, 43,
    157, 139, 171, 246, 247, 80], [220, 43, 157, 139, 171, 246, 248, 80], [
    220, 43, 157, 139, 171, 246, 249, 80], [220, 43, 157, 139, 171, 246, 
    250, 80], [188, 214, 179, 183, 222, 188, 80], [220, 43, 157, 139, 171, 
    246, 251, 80], [220, 43, 157, 139, 171, 246, 252, 80], [220, 43, 157, 
    139, 171, 246, 253, 80], [220, 43, 157, 139, 171, 246, 254, 80], [220, 
    43, 157, 139, 171, 246, 255, 80], [220, 43, 157, 139, 171, 247, 246, 80
    ], [220, 43, 157, 139, 171, 247, 247, 80], [220, 43, 157, 139, 171, 247,
    248, 80], [220, 43, 157, 139, 171, 247, 249, 80], [220, 43, 157, 139, 
    171, 247, 250, 80], [220, 43, 157, 139, 171, 247, 251, 80], [220, 43, 
    157, 139, 171, 247, 252, 80], [220, 43, 157, 139, 171, 247, 253, 80], [
    220, 43, 157, 139, 171, 247, 254, 80], [220, 43, 157, 139, 171, 247, 
    255, 80], [220, 43, 157, 139, 171, 248, 246, 80], [220, 43, 157, 139, 
    171, 248, 247, 80], [220, 43, 157, 139, 171, 248, 248, 80], [220, 43, 
    157, 139, 171, 248, 249, 80], [220, 43, 157, 139, 171, 248, 250, 80], [
    220, 43, 157, 139, 171, 248, 251, 80], [220, 43, 157, 139, 171, 248, 
    252, 80], [220, 43, 157, 139, 171, 248, 253, 80], [220, 43, 157, 139, 
    171, 248, 254, 80], [188, 214, 179, 183, 222, 188, 80], [220, 43, 157, 
    139, 171, 248, 255, 80], [220, 43, 157, 139, 171, 249, 246, 80], [220, 
    43, 157, 139, 171, 249, 247, 80], [220, 43, 157, 139, 171, 249, 248, 80
    ], [220, 43, 157, 139, 171, 249, 249, 80], [220, 43, 157, 139, 171, 249,
    250, 80], [220, 43, 157, 139, 171, 249, 251, 80], [220, 43, 157, 139, 
    171, 249, 252, 80], [220, 43, 157, 139, 171, 249, 253, 80], [220, 43, 
    157, 139, 171, 249, 254, 80], [220, 43, 157, 139, 171, 249, 255, 80], [
    220, 43, 157, 139, 171, 250, 246, 80], [220, 43, 157, 139, 171, 250, 
    247, 80], [220, 43, 157, 139, 171, 250, 248, 80], [220, 43, 157, 139, 
    171, 250, 249, 80], [220, 43, 157, 139, 171, 250, 250, 80], [220, 43, 
    157, 139, 171, 250, 251, 80], [220, 43, 157, 139, 171, 250, 252, 80], [
    220, 43, 157, 139, 171, 250, 253, 80], [220, 43, 157, 139, 171, 250, 
    254, 80], [220, 43, 157, 139, 171, 250, 255, 80], [220, 43, 157, 139, 
    171, 251, 246, 80], [203, 51, 222, 157, 139, 171, 246, 247, 80], [203, 
    51, 222, 157, 139, 171, 246, 248, 80], [203, 51, 222, 157, 139, 171, 
    246, 249, 80], [203, 51, 222, 157, 139, 171, 246, 250, 80], [203, 51, 
    222, 157, 139, 171, 246, 251, 80], [203, 51, 222, 157, 139, 171, 246, 
    252, 80], [203, 51, 222, 157, 139, 171, 246, 253, 80], [227, 227, 212, 
    210, 217, 227, 227, 80]]
bags = ['ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'KEY_ITEM', 'KEY_ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM', '0',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'ITEM',
    'KEY_ITEM', 'KEY_ITEM', 'KEY_ITEM', 'KEY_ITEM', 'KEY_ITEM', 'KEY_ITEM',
    '0', 'KEY_ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM',
    'KEY_ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'KEY_ITEM', 'ITEM', 'ITEM', 'ITEM', '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', '0', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM', 'ITEM',
    'ITEM', 'ITEM', 'KEY_ITEM', 'ITEM', 'ITEM', '0', '0', '0', '0', '0',
    '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0',
    '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', '0', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', '0', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM', 'TM_HM',
    'TM_HM', 'TM_HM', 'TM_HM', 'ITEM']
jump_chars = [193, 209, 225, 241]
a = []
for i in range(255):
    if bags[i] == 'ITEM':
        name = names[i] + [127]
        prepend = []
        for j in range(len(name)):
            if 1 <= name[j] < 32:
                name[j] += 128
                prepend.append(229)
                break
            if 32 <= name[j] < 64:
                name[j] += 144
                prepend.append(229)
                break
            if 64 <= name[j] < 68:
                name[j] += 89
                prepend.append(228)
                break
            if 68 <= name[j] < 80:
                name[j] += 134
                prepend.append(228)
                break
        else:
            if 201 not in name:
                a.append('%02X:' % (i + 1) + ''.join([(' %02X' % x) for x in
                    name]))
        name = prepend + name
a.sort()
for b in a:
    print(b)

names = [[0x9D, 0x8C, 0x8F, 0xE3, 0x1C, 0xE3, 0xA6, 0x50],
[0x99, 0x81, 0x40, 0xE3, 0x1C, 0xE3, 0xA6, 0x50],
[0xBC, 0xD6, 0xB3, 0xB7, 0xDE, 0xBC, 0x50],
[0x8C, 0xE3, 0x40, 0xE3, 0x1C, 0xE3, 0xA6, 0x50],
[0xA1, 0xAB, 0x8C, 0x8F, 0xE3, 0x1C, 0xE3, 0xA6, 0x50],
[0x8F, 0x82, 0xAB, 0x9D, 0xAC, 0x42, 0x50],
[0x2C, 0xC3, 0xDE, 0xBC, 0xE0, 0x50],
[0xC2, 0xB7, 0xC9, 0xB2, 0xBC, 0x50],
[0x34, 0xB8, 0xB9, 0xBC, 0x50],
[0xD4, 0xB9, 0x34, 0xC5, 0xB5, 0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FA, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFB, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFC, 0x50],
[0xCB, 0x33, 0xDE, 0x9D, 0x8B, 0xAB, 0xF6, 0xFD, 0x50],
[0xE3, 0xE3, 0xD4, 0xD2, 0xD9, 0xE3, 0xE3, 0x50]]

bags = ["ITEM", "ITEM", "0", "ITEM", "ITEM", "KEY_ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "KEY_ITEM", "0", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "0", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "ITEM", "KEY_ITEM", "ITEM", "ITEM", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "0", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "TM_HM", "ITEM"]

#jump_chars = [0xC2,0xC3,0xCA,0xD2,0xDA,0xE9] + [0xC4,0xD4,0xCC,0xCD,0xDC]
jump_chars = [0xC1, 0xD1, 0xE1, 0xF1]

a=[]
for i in range(255):
    if bags[i] == "ITEM":
        name = names[i] + [0x7F]
        prepend = []
        for j in range(len(name)):
            if 0x01 <= name[j] < 0x20:
                name[j] += 0x80
                prepend.append(0xE5) # push hl
                break
            if 0x20 <= name[j] < 0x40:
                name[j] += 0x90
                prepend.append(0xE5) # push hl
                break
            if 0x40 <= name[j] < 0x44:
                name[j] += 0x59
                prepend.append(0xE4) # invalid opcode
                break
            if 0x44 <= name[j] < 0x50:
                name[j] += 0x86
                prepend.append(0xE4) # invalid opcode
                break
        else:
            if 0xC9 not in name:
                a.append(("%02X:" % (i+1)) + ''.join([' %02X'%x for x in name]))
        name = prepend + name
        #for j in range(len(name)):
        #    if name[j] in jump_chars:
        #        a.append(("%02X:" % (i+1)) + ''.join([' %02X'%x for x in name]))
        #        #a.append("%02X%02X - %02X: %02X %02X %02X" % (name[j+2],name[j+1],i+1,name[j],name[j+1],name[j+2]))
a.sort()
for b in a:
    print(b)
