    org #0000
; N_TILE_TYPES: equ 179
  dw 179*4
  db 179
tileTypesH:
    db 0, 0, 0, 0, 190, 176, 192, 192, 192, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 6, 6, 6, 7, 7, 8, 2, 2, 2, 2, 2, 6, 2, 2, 2, 6, 9, 6, 6, 7, 2, 2, 2, 2, 2, 10, 11, 6, 11, 2, 6, 6, 12, 11, 2, 2, 6, 2, 12, 8, 8, 8, 6, 6, 6, 6, 6, 6, 6, 2, 8, 2, 11, 2, 8, 8, 8, 8, 8, 6, 12, 11, 2, 11, 12, 2, 9, 7, 13, 26, 8, 27, 10, 2, 14, 75, 75, 15, 77, 14, 75, 75, 75, 14, 194, 196, 198, 200, 202, 16, 17, 18, 23, 14, 14, 14, 16, 17, 17, 18, 19, 15, 15, 15, 25, 15, 15, 15, 75, 15, 75, 77, 75, 28, 18, 17, 18, 17, 14, 21, 14, 28, 16, 19, 31, 15, 77, 75, 75, 24, 24, 31, 29, 18, 15, 19, 18, 25, 19, 14, 22, 20, 29, 28, 30
    db 79, 0, 85, 85, 190, 176, 192, 192, 192, 0, 79, 79, 91, 79, 0, 85, 85, 79, 79, 85, 0, 0, 0, 91, 91, 0, 0, 85, 0, 0, 187, 91, 97, 3, 6, 103, 103, 109, 109, 111, 113, 2, 2, 113, 113, 103, 2, 2, 2, 240, 32, 6, 240, 109, 113, 113, 119, 125, 125, 201, 113, 6, 113, 170, 103, 103, 131, 2, 2, 2, 103, 2, 131, 201, 201, 201, 6, 6, 243, 228, 228, 237, 103, 2, 111, 246, 2, 3, 111, 111, 249, 111, 249, 103, 131, 2, 2, 2, 131, 226, 32, 109, 137, 109, 201, 207, 111, 2, 141, 75, 213, 15, 229, 141, 75, 75, 213, 14, 194, 196, 198, 200, 202, 147, 17, 149, 181, 14, 14, 14, 147, 17, 17, 149, 155, 15, 15, 15, 171, 15, 15, 15, 75, 15, 75, 229, 75, 246, 149, 17, 149, 17, 14, 157, 14, 237, 147, 155, 252, 15, 229, 75, 75, 24, 24, 251, 219, 221, 15, 155, 149, 171, 155, 14, 163, 193, 219, 225, 234
    db 81, 0, 87, 87, 190, 176, 192, 192, 192, 0, 81, 81, 93, 81, 0, 87, 183, 81, 81, 87, 0, 0, 0, 93, 93, 0, 0, 87, 0, 0, 189, 93, 99, 4, 6, 105, 105, 7, 7, 8, 115, 2, 2, 177, 115, 105, 2, 2, 2, 241, 33, 6, 241, 7, 115, 115, 121, 127, 127, 203, 115, 6, 115, 235, 105, 105, 133, 2, 2, 2, 105, 2, 133, 203, 203, 203, 197, 226, 244, 235, 235, 238, 105, 2, 8, 247, 2, 4, 8, 8, 250, 8, 250, 105, 133, 2, 2, 2, 133, 227, 33, 7, 139, 7, 203, 209, 8, 2, 143, 75, 215, 15, 230, 143, 75, 75, 215, 14, 194, 196, 198, 200, 202, 17, 17, 151, 24, 14, 14, 14, 17, 17, 17, 151, 15, 15, 15, 15, 173, 15, 15, 15, 75, 15, 75, 230, 75, 247, 249, 17, 250, 17, 14, 159, 14, 238, 17, 15, 253, 15, 230, 75, 75, 24, 24, 255, 29, 223, 15, 15, 151, 173, 15, 14, 165, 195, 29, 232, 29
    db 83, 0, 89, 89, 190, 176, 192, 192, 192, 0, 83, 83, 95, 83, 0, 89, 185, 83, 83, 89, 0, 0, 0, 95, 95, 0, 0, 89, 0, 0, 191, 95, 101, 5, 6, 107, 107, 109, 109, 111, 117, 2, 2, 179, 117, 107, 2, 2, 2, 242, 34, 6, 242, 109, 117, 117, 123, 129, 129, 205, 117, 6, 117, 236, 107, 107, 135, 2, 2, 2, 107, 2, 135, 205, 205, 205, 199, 227, 245, 236, 236, 239, 107, 2, 111, 248, 2, 5, 111, 111, 251, 111, 251, 107, 135, 2, 2, 2, 135, 228, 34, 109, 135, 109, 205, 211, 111, 2, 145, 75, 217, 15, 231, 145, 75, 75, 217, 14, 194, 196, 198, 200, 202, 17, 17, 6, 24, 14, 14, 14, 17, 17, 153, 6, 15, 15, 15, 169, 175, 169, 169, 169, 75, 15, 75, 231, 75, 248, 227, 153, 199, 17, 14, 161, 14, 239, 17, 15, 107, 169, 231, 75, 75, 24, 254, 199, 219, 107, 15, 15, 6, 175, 15, 14, 167, 0, 219, 233, 219
tileTypesV:
    db 0, 0, 0, 0, 190, 176, 192, 192, 192, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 6, 6, 6, 7, 7, 8, 2, 2, 2, 2, 2, 6, 2, 2, 2, 6, 9, 6, 6, 7, 2, 2, 2, 2, 2, 10, 11, 6, 11, 2, 6, 6, 12, 11, 2, 2, 6, 2, 12, 8, 8, 8, 6, 6, 6, 6, 6, 6, 6, 2, 8, 2, 11, 2, 8, 8, 8, 8, 8, 6, 12, 11, 2, 11, 12, 2, 9, 7, 13, 26, 8, 27, 10, 2, 14, 75, 75, 15, 77, 14, 75, 75, 75, 14, 194, 196, 198, 200, 202, 16, 17, 18, 23, 14, 14, 14, 16, 17, 17, 18, 19, 15, 15, 15, 25, 15, 15, 15, 75, 15, 75, 77, 75, 28, 18, 17, 18, 17, 14, 21, 14, 28, 16, 19, 31, 15, 77, 75, 75, 24, 24, 31, 29, 18, 15, 19, 18, 25, 19, 14, 22, 20, 29, 28, 30
    db 35, 35, 152, 178, 204, 184, 210, 216, 222, 178, 35, 35, 41, 35, 35, 0, 0, 0, 35, 35, 43, 35, 35, 41, 41, 35, 47, 35, 152, 0, 0, 50, 0, 2, 51, 51, 51, 54, 54, 2, 57, 57, 57, 2, 227, 51, 57, 57, 57, 6, 5, 51, 51, 54, 57, 2, 2, 2, 2, 65, 65, 6, 247, 2, 6, 6, 66, 65, 2, 250, 34, 232, 172, 57, 57, 57, 6, 6, 6, 6, 6, 6, 6, 2, 2, 250, 247, 2, 57, 57, 57, 57, 2, 235, 238, 241, 227, 65, 66, 2, 5, 54, 67, 86, 2, 66, 65, 2, 14, 75, 75, 90, 228, 70, 230, 233, 233, 70, 244, 247, 250, 252, 253, 96, 102, 146, 73, 14, 14, 116, 16, 17, 17, 18, 236, 239, 239, 239, 243, 90, 90, 90, 75, 90, 230, 245, 233, 61, 18, 17, 18, 17, 14, 124, 14, 61, 16, 128, 78, 239, 228, 75, 75, 80, 80, 78, 60, 18, 90, 236, 18, 140, 128, 14, 132, 82, 60, 61, 62
    db 36, 38, 154, 180, 206, 186, 212, 218, 224, 180, 38, 38, 42, 38, 38, 0, 0, 0, 38, 38, 44, 36, 38, 42, 42, 38, 48, 38, 154, 0, 0, 1, 0, 2, 52, 52, 52, 55, 55, 2, 58, 58, 136, 2, 228, 52, 144, 58, 138, 6, 4, 52, 52, 63, 144, 2, 2, 2, 2, 11, 11, 6, 248, 2, 230, 6, 12, 11, 2, 251, 33, 233, 174, 136, 144, 138, 6, 6, 6, 6, 6, 6, 6, 2, 2, 251, 248, 2, 138, 136, 136, 144, 2, 236, 239, 242, 228, 11, 12, 2, 4, 63, 68, 88, 2, 12, 11, 2, 14, 226, 75, 92, 229, 71, 231, 234, 234, 71, 245, 248, 251, 202, 254, 98, 104, 148, 16, 108, 112, 118, 16, 17, 17, 18, 237, 240, 242, 240, 244, 92, 160, 164, 226, 160, 231, 246, 234, 31, 18, 17, 18, 17, 14, 126, 14, 31, 16, 168, 18, 242, 229, 75, 75, 17, 17, 18, 24, 18, 164, 253, 18, 142, 130, 14, 134, 84, 24, 31, 23
    db 37, 39, 156, 182, 208, 188, 214, 220, 226, 182, 40, 39, 158, 40, 40, 0, 0, 0, 40, 40, 45, 37, 40, 46, 158, 40, 49, 39, 156, 0, 0, 50, 0, 2, 53, 53, 53, 56, 56, 2, 59, 59, 60, 2, 229, 53, 61, 59, 62, 6, 3, 53, 53, 64, 61, 2, 2, 2, 2, 65, 65, 6, 249, 2, 231, 6, 66, 65, 2, 252, 32, 234, 170, 60, 61, 62, 6, 6, 6, 6, 6, 6, 6, 2, 2, 252, 249, 2, 62, 60, 60, 61, 2, 237, 240, 243, 229, 65, 66, 2, 3, 64, 69, 56, 2, 66, 65, 2, 14, 227, 75, 94, 75, 72, 232, 235, 235, 72, 246, 249, 6, 202, 255, 100, 106, 150, 16, 110, 114, 120, 74, 76, 76, 122, 238, 241, 238, 241, 241, 94, 162, 166, 227, 162, 232, 235, 235, 78, 18, 17, 18, 17, 14, 14, 14, 78, 16, 166, 18, 238, 75, 75, 75, 17, 17, 18, 80, 18, 166, 241, 18, 94, 94, 14, 14, 0, 80, 78, 73
