{
 "unit": "sheet:rival.png:f2:p0",
 "family": "rival.png:p0",
 "meta": {
  "kind": "sheet",
  "sheet": "rival.png",
  "frame": 2,
  "pal": 0
 },
 "members": [
  {
   "key": "d8db46893ac17c3d|0",
   "quadrant": 0,
   "bytesHex": "0707080f101f283f343f2a371f171f14",
   "idxMap": [
    [
     0,
     0,
     0,
     0,
     0,
     3,
     3,
     3
    ],
    [
     0,
     0,
     0,
     0,
     3,
     2,
     2,
     2
    ],
    [
     0,
     0,
     0,
     3,
     2,
     2,
     2,
     2
    ],
    [
     0,
     0,
     3,
     2,
     3,
     2,
     2,
     2
    ],
    [
     0,
     0,
     3,
     3,
     2,
     3,
     2,
     2
    ],
    [
     0,
     0,
     3,
     2,
     1,
     2,
     3,
     2
    ],
    [
     0,
     0,
     0,
     3,
     1,
     3,
     3,
     3
    ],
    [
     0,
     0,
     0,
     3,
     1,
     3,
     1,
     1
    ]
   ],
   "opaque": 40,
   "idxHist": [
    24,
    5,
    17,
    18
   ]
  },
  {
   "key": "74f5e653b5700c61|0",
   "quadrant": 1,
   "bytesHex": "c0c030f008f804fc04fc02fe82feca7e",
   "idxMap": [
    [
     3,
     3,
     0,
     0,
     0,
     0,
     0,
     0
    ],
    [
     2,
     2,
     3,
     3,
     0,
     0,
     0,
     0
    ],
    [
     2,
     2,
     2,
     2,
     3,
     0,
     0,
     0
    ],
    [
     2,
     2,
     2,
     2,
     2,
     3,
     0,
     0
    ],
    [
     2,
     2,
     2,
     2,
     2,
     3,
     0,
     0
    ],
    [
     2,
     2,
     2,
     2,
     2,
     2,
     3,
     0
    ],
    [
     3,
     2,
     2,
     2,
     2,
     2,
     3,
     0
    ],
    [
     1,
     3,
     2,
     2,
     3,
     2,
     3,
     0
    ]
   ],
   "opaque": 44,
   "idxHist": [
    20,
    1,
    30,
    13
   ]
  },
  {
   "key": "d326e76b53c88717|0",
   "quadrant": 2,
   "bytesHex": "1f100b0c070703030303050707070303",
   "idxMap": [
    [
     0,
     0,
     0,
     3,
     1,
     1,
     1,
     1
    ],
    [
     0,
     0,
     0,
     0,
     3,
     2,
     1,
     1
    ],
    [
     0,
     0,
     0,
     0,
     0,
     3,
     3,
     3
    ],
    [
     0,
     0,
     0,
     0,
     0,
     0,
     3,
     3
    ],
    [
     0,
     0,
     0,
     0,
     0,
     0,
     3,
     3
    ],
    [
     0,
     0,
     0,
     0,
     0,
     3,
     2,
     3
    ],
    [
     0,
     0,
     0,
     0,
     0,
     3,
     3,
     3
    ],
    [
     0,
     0,
     0,
     0,
     0,
     0,
     3,
     3
    ]
   ],
   "opaque": 24,
   "idxHist": [
    40,
    6,
    2,
    16
   ]
  },
  {
   "key": "de432238e0ca0901|0",
   "quadrant": 3,
   "bytesHex": "ca7ee43cf8f8f030f030f0f0e0e0c0c0",
   "idxMap": [
    [
     1,
     3,
     2,
     2,
     3,
     2,
     3,
     0
    ],
    [
     1,
     1,
     3,
     2,
     2,
     3,
     0,
     0
    ],
    [
     3,
     3,
     3,
     3,
     3,
     0,
     0,
     0
    ],
    [
     1,
     1,
     3,
     3,
     0,
     0,
     0,
     0
    ],
    [
     1,
     1,
     3,
     3,
     0,
     0,
     0,
     0
    ],
    [
     3,
     3,
     3,
     3,
     0,
     0,
     0,
     0
    ],
    [
     3,
     3,
     3,
     0,
     0,
     0,
     0,
     0
    ],
    [
     3,
     3,
     0,
     0,
     0,
     0,
     0,
     0
    ]
   ],
   "opaque": 35,
   "idxHist": [
    29,
    7,
    5,
    23
   ]
  }
 ],
 "shade16": [
  [
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   3,
   3,
   3,
   0,
   0,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   3,
   2,
   2,
   2,
   2,
   2,
   3,
   3,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   3,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   3,
   0,
   0,
   0
  ],
  [
   0,
   0,
   3,
   2,
   3,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   3,
   0,
   0
  ],
  [
   0,
   0,
   3,
   3,
   2,
   3,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   3,
   0,
   0
  ],
  [
   0,
   0,
   3,
   2,
   1,
   2,
   3,
   2,
   2,
   2,
   2,
   2,
   2,
   2,
   3,
   0
  ],
  [
   0,
   0,
   0,
   3,
   1,
   3,
   3,
   3,
   3,
   2,
   2,
   2,
   2,
   2,
   3,
   0
  ],
  [
   0,
   0,
   0,
   3,
   1,
   3,
   1,
   1,
   1,
   3,
   2,
   2,
   3,
   2,
   3,
   0
  ],
  [
   0,
   0,
   0,
   3,
   1,
   1,
   1,
   1,
   1,
   3,
   2,
   2,
   3,
   2,
   3,
   0
  ],
  [
   0,
   0,
   0,
   0,
   3,
   2,
   1,
   1,
   1,
   1,
   3,
   2,
   2,
   3,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   3,
   3,
   3,
   3,
   3,
   3,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   1,
   1,
   3,
   3,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   1,
   1,
   3,
   3,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   3,
   2,
   3,
   3,
   3,
   3,
   3,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   3,
   3,
   3,
   3,
   0,
   0,
   0,
   0,
   0
  ],
  [
   0,
   0,
   0,
   0,
   0,
   0,
   3,
   3,
   3,
   3,
   0,
   0,
   0,
   0,
   0,
   0
  ]
 ],
 "opaqueNative": 143,
 "idxHist16": [
  113,
  19,
  54,
  70
 ],
 "palette": {
  "pal": 0,
  "modal": [
   [
    0,
    0,
    0
   ],
   [
    255,
    56,
    8
   ],
   [
    123,
    113,
    198
   ],
   [
    255,
    154,
    82
   ]
  ],
  "modal565": [
   0,
   63937,
   31640,
   64714
  ],
  "assign": {
   "1": [
    255,
    154,
    82
   ],
   "2": [
    255,
    56,
    8
   ],
   "3": [
    0,
    0,
    0
   ]
  },
  "discarded": [
   123,
   113,
   198
  ],
  "satPos": 1,
  "source": "sprbed/a-on-dumps (New Bark overworld)"
 },
 "spec": {
  "materials": {
   "1": "skin",
   "2": "hair",
   "3": "ink"
  },
  "tones": {
   "skin": [
    248,
    178,
    116
   ],
   "skin_light": [
    252,
    210,
    156
   ],
   "skin_deep": [
    224,
    138,
    84
   ],
   "ink": [
    30,
    26,
    34
   ],
   "ink_light": [
    58,
    50,
    62
   ],
   "ink_deep": [
    18,
    15,
    22
   ],
   "white": [
    255,
    255,
    255
   ],
   "hair": [
    226,
    62,
    30
   ],
   "hair_light": [
    250,
    122,
    70
   ],
   "hair_deep": [
    172,
    38,
    24
   ],
   "jacket": [
    52,
    54,
    66
   ],
   "jacket_light": [
    78,
    80,
    96
   ]
  },
  "base": {
   "1": "skin",
   "2": "hair",
   "3": "ink"
  },
  "ops": [
   {
    "op": "rect",
    "idx": 2,
    "x0": 0,
    "y0": 1,
    "x1": 15,
    "y1": 1,
    "tone": "hair_light"
   },
   {
    "op": "subrect",
    "x0": 25,
    "y0": 8,
    "x1": 26,
    "y1": 11,
    "tone": "hair_light"
   },
   {
    "op": "subrect",
    "x0": 41,
    "y0": 8,
    "x1": 42,
    "y1": 11,
    "tone": "hair_light"
   },
   {
    "op": "subrect",
    "x0": 45,
    "y0": 12,
    "x1": 46,
    "y1": 15,
    "tone": "hair_light"
   },
   {
    "op": "subrect",
    "x0": 49,
    "y0": 16,
    "x1": 50,
    "y1": 19,
    "tone": "hair_light"
   },
   {
    "op": "rect",
    "idx": 3,
    "x0": 5,
    "y0": 6,
    "x1": 8,
    "y1": 6,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 3,
    "x": 4,
    "y": 3,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 3,
    "x": 5,
    "y": 4,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 3,
    "x": 6,
    "y": 5,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 3,
    "x": 12,
    "y": 7,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 3,
    "x": 12,
    "y": 8,
    "tone": "hair_deep"
   },
   {
    "op": "rect",
    "idx": 2,
    "x0": 0,
    "y0": 9,
    "x1": 15,
    "y1": 9,
    "tone": "hair_deep"
   },
   {
    "op": "px",
    "idx": 1,
    "x": 4,
    "y": 5,
    "tone": "skin_light"
   },
   {
    "op": "px",
    "idx": 1,
    "x": 4,
    "y": 6,
    "tone": "skin_light"
   },
   {
    "op": "subrect",
    "x0": 21,
    "y0": 29,
    "x1": 22,
    "y1": 29,
    "tone": "white"
   },
   {
    "op": "rect",
    "idx": 3,
    "x0": 0,
    "y0": 10,
    "x1": 15,
    "y1": 15,
    "tone": "jacket"
   },
   {
    "op": "rect",
    "idx": 3,
    "x0": 0,
    "y0": 10,
    "x1": 15,
    "y1": 10,
    "tone": "jacket_light"
   },
   {
    "op": "rect",
    "idx": 3,
    "x0": 0,
    "y0": 14,
    "x1": 15,
    "y1": 15,
    "tone": "ink"
   }
  ]
 },
 "provenance": {
  "tiles": "gamem8c-sprites1/obj_tiles.json (member tile bytes + opaque + idx_hist)",
  "palette": "gamem8c-sprites1/palette_sets.json palette 0 modal set + modal_565",
  "spec": "gamem8c-sprites1/artwork-work/specs.py FAMILIES['rival.png:p0'] (imported, not retyped)",
  "shadeVerification": "16x16 grid assembled from member tiles == examination-work/sprites16.sheet_sprite('rival', 2) from the pokecrystal reference sheet, asserted equal at extraction time",
  "extraction": "throwaway Python run at library build time (stdin, no file kept): idxmap/idx_assignment from examination-work/extract_exam.py, specs imported from artwork-work/specs.py"
 }
}