#include<ultra64.h>
extern Vtx ManChest_pb_v[];
extern Vtx ManChest_pb_vmcur[];
extern Tri ManChest_pb_tri[];
extern Lights1 ManChest_pb_material[];
extern Mtx ManChest_pb_matrix[];
extern unsigned char  chest_pSm1hand_b_txt[];
extern unsigned char  chest_pSm1hand_f_txt[];
extern unsigned char  chest_pSm1hand_s_txt[];
extern unsigned char  chest_pSm1hand_t_txt[];
extern unsigned char  chest_pSm1hara_txt[];
extern unsigned char  chest_pSm1jacket_b_txt[];
extern unsigned char  chest_pSm1jacket_f_txt[];
extern unsigned char  chest_pSm1jacket_s_txt[];
extern unsigned char  chest_pSm1jacket_t_txt[];
extern unsigned char  chest_pSm1loarm_txt[];
extern unsigned char  chest_pSm1met_b_txt[];
extern unsigned char  chest_pSm1met_f_txt[];
extern unsigned char  chest_pSm1met_gl_txt[];
extern unsigned char  chest_pSm1met_s_txt[];
extern unsigned char  chest_pSm1met_t_txt[];
extern unsigned char  chest_pSm1momo_txt[];
extern unsigned char  chest_pSm1neck_txt[];
extern unsigned char  chest_pSm1shoes_txt[];
extern unsigned char  chest_pSm1shoes_b_txt[];
extern unsigned char  chest_pSm1sune_txt[];
extern unsigned char  chest_pSm1uparm_txt[];
extern unsigned char  chest_pSm1waist_b_txt[];
extern unsigned char  chest_pSm1waist_f_txt[];
extern unsigned char  chest_pSm1waist_s_txt[];
extern unsigned char  chest_pSshoes_bottom_txt[];
extern unsigned char  chest_pblack_txt[];
extern Vtx ManChest_pc_v[];
extern Vtx ManChest_pc_vmcur[];
extern Tri ManChest_pc_tri[];
extern Lights1 ManChest_pc_material[];
extern Mtx ManChest_pc_matrix[];
extern unsigned short  chest_tlut[];

/*---------------------------------------------------------------------------*/

static Vtx ManChest_pb_v[]={
	{ 46,0,6,0, 1318, 15,  255, 255, 255, 255 /* vertex color */  },   /* v0 used p7/V1 2 times */
	{ -46,0,6,0, -1062, 15,  255, 255, 255, 255 /* vertex color */  },   /* v1 used p7/V2 2 times */
	{ 0,30,1,0, 127, -80,  255, 255, 255, 255 /* vertex color */  },   /* v2 used p7/V3 1 times */
	{ 0,-24,10,0, 127, 94,  255, 255, 255, 255 /* vertex color */  },   /* v3 used p6/V2 1 times */
	{ 75,-37,153,0, 1105, 504, 68,-73,67,255 },   /* v4 used p10/V1 2 times */
	{ -75,-37,153,0, -81, 504, -75,-91,22,255 },   /* v5 used p11/V2 2 times */
	{ 0,-24,10,0, 512, -59, 0,-116,-28,255 },   /* v6 used p10/V2 3 times */
	{ 46,0,6,0, 878, -74, 107,-9,-52,255 },   /* v7 used p10/V3 1 times */
	{ -46,0,6,0, 145, -74, -106,-9,-52,255 },   /* v8 used p4/V1 1 times */
	{ 0,30,1,0, 511, 0, 0,107,-51,255 },   /* v9 used p2/V2 3 times */
	{ -74,62,134,0, 1016, 487, -64,88,47,255 },   /* v10 used p2/V1 2 times */
	{ 74,62,134,0, 7, 487, 75,92,5,255 },   /* v11 used p8/V3 2 times */
	{ -46,0,6,0, 829, 18, -106,-9,-52,255 },   /* v12 used p2/V3 1 times */
	{ 46,0,6,0, 194, 18, 107,-9,-52,255 },   /* v13 used p8/V1 1 times */
	{ 74,62,134,0, 14, 400, 75,92,5,255 },   /* v14 used p3/V1 1 times */
	{ 75,-37,153,0, 473, 460, 68,-73,67,255 },   /* v15 used p3/V2 1 times */
	{ 46,0,6,0, 301, 3, 107,-9,-52,255 },   /* v16 used p3/V3 1 times */
	{ -75,-37,153,0, 473, 460, -75,-91,22,255 },   /* v17 used p5/V1 1 times */
	{ -74,62,134,0, 14, 400, -64,88,47,255 },   /* v18 used p5/V2 1 times */
	{ -46,0,6,0, 301, 3, -106,-9,-52,255 },   /* v19 used p5/V3 1 times */
	{ 75,-37,153,0, -1, 513, 68,-73,67,255 },   /* v20 used p1/V1 2 times */
	{ 74,62,134,0, 7, 0, 75,92,5,255 },   /* v21 used p1/V2 1 times */
	{ -74,62,134,0, 1016, 0, -64,88,47,255 },   /* v22 used p1/V3 2 times */
	{ -75,-37,153,0, 1025, 513, -75,-91,22,255 },   /* v23 used p12/V2 1 times */
};
static Vtx ManChest_pc_v[]={
	{ 46,-21,9,0, 723, 31, 81,-46,-74,255 },   /* v0 used p2/V1 1 times */
	{ -46,-21,9,0, -467, 32, -90,7,-77,255 },   /* v1 used p2/V2 1 times */
	{ 0,30,1,0, 127, -50, 0,82,-86,255 },   /* v2 used p2/V3 1 times */
	{ -75,-37,153,0, -2, 514, -58,-91,52,255 },   /* v3 used p8/V3 2 times */
	{ -46,-21,9,0, 201, -106, -90,7,-77,255 },   /* v4 used p3/V2 1 times */
	{ 46,-21,9,0, 857, -106, 81,-46,-74,255 },   /* v5 used p8/V1 2 times */
	{ 75,-37,153,0, 1061, 514, 83,-22,84,255 },   /* v6 used p8/V2 1 times */
	{ -46,-21,9,0, 878, 44, -90,7,-77,255 },   /* v7 used p1/V3 2 times */
	{ -75,-37,153,0, 1105, 540, -58,-91,52,255 },   /* v8 used p6/V2 1 times */
	{ 0,55,138,0, 511, 455, 0,116,24,255 },   /* v9 used p1/V1 4 times */
	{ 75,-37,153,0, -81, 540, 83,-22,84,255 },   /* v10 used p7/V2 1 times */
	{ 46,-21,9,0, 145, 44, 81,-46,-74,255 },   /* v11 used p5/V1 2 times */
	{ 0,30,1,0, 512, 0, 0,82,-86,255 },   /* v12 used p1/V2 2 times */
	{ -75,-37,153,0, 1062, 495, -58,-91,52,255 },   /* v13 used p4/V1 1 times */
	{ 75,-37,153,0, -38, 495, 83,-22,84,255 },   /* v14 used p4/V2 1 times */
	{ 0,55,138,0, 512, 0, 0,116,24,255 },   /* v15 used p4/V3 1 times */
};
static unsigned char chest_pSm1jacket_b_txt[] = {
	0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x07, 0x0a, 0x0b, 0x0b, 0x0b, 0x0a, 0x0a, 0x0b, 0x0b, 0x0b, 0x0a, 0x07, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 
	0x02, 0x02, 0x02, 0x06, 0x06, 0x05, 0x05, 0x05, 0x05, 0x02, 0x09, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x09, 0x02, 0x05, 0x05, 0x05, 0x05, 0x06, 0x06, 0x02, 0x02, 0x02, 
	0x03, 0x03, 0x09, 0x00, 0x01, 0x02, 0x05, 0x05, 0x08, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x03, 0x00, 0x08, 0x05, 0x05, 0x02, 0x01, 0x00, 0x09, 0x03, 0x03, 
	0x02, 0x06, 0x03, 0x08, 0x08, 0x06, 0x05, 0x08, 0x0c, 0x04, 0x04, 0x00, 0x01, 0x03, 0x07, 0x07, 0x07, 0x07, 0x03, 0x04, 0x00, 0x04, 0x04, 0x0c, 0x08, 0x05, 0x06, 0x08, 0x08, 0x03, 0x06, 0x02, 
	0x06, 0x05, 0x02, 0x05, 0x08, 0x06, 0x05, 0x0c, 0x0d, 0x03, 0x01, 0x03, 0x07, 0x03, 0x06, 0x0c, 0x0d, 0x05, 0x01, 0x0a, 0x0a, 0x04, 0x03, 0x0d, 0x0c, 0x05, 0x06, 0x08, 0x05, 0x02, 0x05, 0x06, 
	0x05, 0x05, 0x05, 0x05, 0x06, 0x02, 0x05, 0x0e, 0x08, 0x03, 0x09, 0x06, 0x14, 0x14, 0x13, 0x11, 0x11, 0x13, 0x14, 0x13, 0x08, 0x07, 0x09, 0x05, 0x0e, 0x05, 0x02, 0x06, 0x05, 0x05, 0x05, 0x05, 
	0x01, 0x01, 0x00, 0x02, 0x00, 0x02, 0x08, 0x12, 0x03, 0x07, 0x0e, 0x17, 0x0d, 0x08, 0x08, 0x0d, 0x0e, 0x0c, 0x00, 0x06, 0x17, 0x11, 0x0a, 0x03, 0x12, 0x08, 0x02, 0x00, 0x02, 0x00, 0x01, 0x01, 
	0x09, 0x09, 0x07, 0x00, 0x02, 0x06, 0x11, 0x0c, 0x07, 0x0d, 0x17, 0x08, 0x08, 0x14, 0x1a, 0x14, 0x05, 0x08, 0x0d, 0x08, 0x08, 0x14, 0x11, 0x07, 0x0c, 0x11, 0x06, 0x02, 0x00, 0x07, 0x09, 0x09, 
	0x02, 0x02, 0x01, 0x0c, 0x0d, 0x0e, 0x0c, 0x03, 0x01, 0x13, 0x0d, 0x05, 0x1b, 0x18, 0x18, 0x19, 0x01, 0x04, 0x16, 0x1a, 0x08, 0x0c, 0x17, 0x02, 0x09, 0x0c, 0x0e, 0x0d, 0x0c, 0x01, 0x02, 0x02, 
	0x05, 0x0c, 0x0d, 0x16, 0x0d, 0x01, 0x03, 0x01, 0x05, 0x13, 0x08, 0x0e, 0x18, 0x16, 0x1b, 0x0c, 0x06, 0x02, 0x08, 0x18, 0x12, 0x05, 0x13, 0x11, 0x04, 0x03, 0x01, 0x0d, 0x16, 0x0d, 0x0c, 0x05, 
	0x04, 0x00, 0x01, 0x03, 0x04, 0x03, 0x01, 0x01, 0x05, 0x13, 0x08, 0x0d, 0x19, 0x02, 0x00, 0x01, 0x05, 0x1d, 0x18, 0x18, 0x16, 0x08, 0x13, 0x0e, 0x01, 0x01, 0x03, 0x03, 0x03, 0x01, 0x00, 0x04, 
	0x01, 0x01, 0x04, 0x04, 0x00, 0x01, 0x00, 0x00, 0x01, 0x14, 0x0e, 0x05, 0x01, 0x02, 0x05, 0x06, 0x0d, 0x0d, 0x18, 0x1b, 0x05, 0x0d, 0x17, 0x00, 0x01, 0x00, 0x01, 0x00, 0x04, 0x04, 0x01, 0x01, 
	0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04, 0x0e, 0x17, 0x0d, 0x02, 0x06, 0x14, 0x17, 0x13, 0x08, 0x12, 0x05, 0x0c, 0x13, 0x12, 0x04, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 
	0x04, 0x01, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x01, 0x01, 0x16, 0x13, 0x12, 0x0c, 0x05, 0x12, 0x13, 0x05, 0x08, 0x11, 0x17, 0x12, 0x01, 0x01, 0x02, 0x04, 0x02, 0x02, 0x06, 0x01, 0x01, 0x04, 
	0x06, 0x03, 0x00, 0x02, 0x02, 0x02, 0x00, 0x01, 0x00, 0x00, 0x01, 0x02, 0x14, 0x17, 0x13, 0x1d, 0x1a, 0x14, 0x19, 0x14, 0x08, 0x01, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x01, 0x03, 0x06, 
	0x02, 0x02, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x02, 0x05, 0x0c, 0x0c, 0x05, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 
};
static unsigned char chest_pSm1jacket_f_txt[] = {
	0x04, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x0f, 0x0b, 0x0a, 0x07, 0x07, 0x0a, 0x0a, 0x0b, 0x10, 
	0x01, 0x04, 0x01, 0x01, 0x00, 0x02, 0x04, 0x07, 0x03, 0x03, 0x09, 0x03, 0x03, 0x09, 0x0a, 0x03, 
	0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x00, 0x09, 0x09, 0x0a, 0x07, 0x04, 0x09, 0x07, 0x0b, 0x0b, 
	0x04, 0x03, 0x04, 0x04, 0x04, 0x03, 0x0a, 0x0b, 0x0a, 0x07, 0x07, 0x0a, 0x03, 0x02, 0x0a, 0x09, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x04, 0x03, 0x03, 0x16, 0x08, 0x0d, 0x19, 
	0x06, 0x05, 0x05, 0x06, 0x05, 0x08, 0x08, 0x08, 0x00, 0x06, 0x02, 0x02, 0x12, 0x02, 0x11, 0x18, 
	0x0d, 0x0d, 0x0e, 0x16, 0x14, 0x0e, 0x03, 0x02, 0x06, 0x05, 0x06, 0x00, 0x0c, 0x16, 0x06, 0x08, 
	0x0d, 0x0e, 0x11, 0x13, 0x1b, 0x00, 0x04, 0x06, 0x04, 0x07, 0x09, 0x00, 0x02, 0x06, 0x04, 0x0b, 
	0x08, 0x0e, 0x11, 0x13, 0x0d, 0x0a, 0x04, 0x00, 0x03, 0x0a, 0x07, 0x04, 0x03, 0x04, 0x07, 0x0f, 
	0x09, 0x09, 0x04, 0x04, 0x07, 0x07, 0x09, 0x09, 0x07, 0x03, 0x09, 0x0a, 0x05, 0x0e, 0x06, 0x0d, 
	0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x01, 0x02, 0x01, 0x00, 0x11, 0x01, 0x0e, 0x1a, 
	0x0c, 0x0c, 0x00, 0x02, 0x06, 0x05, 0x06, 0x06, 0x02, 0x08, 0x06, 0x01, 0x11, 0x0e, 0x0e, 0x19, 
	0x06, 0x09, 0x09, 0x01, 0x06, 0x02, 0x02, 0x00, 0x00, 0x02, 0x02, 0x00, 0x02, 0x08, 0x00, 0x09, 
	0x09, 0x03, 0x00, 0x02, 0x02, 0x02, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x07, 
	0x00, 0x06, 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03, 
	0x04, 0x00, 0x06, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x06, 0x02, 0x09, 0x04, 
};
static unsigned char chest_pSm1jacket_s_txt[] = {
	0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x01, 0x01, 0x00, 0x00, 
	0x02, 0x02, 0x02, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 
	0x07, 0x07, 0x09, 0x09, 0x09, 0x09, 0x03, 0x03, 0x03, 0x04, 0x03, 0x09, 0x03, 0x03, 0x03, 0x04, 
	0x00, 0x02, 0x02, 0x02, 0x00, 0x00, 0x02, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 
	0x05, 0x05, 0x08, 0x05, 0x05, 0x05, 0x05, 0x08, 0x05, 0x08, 0x08, 0x05, 0x05, 0x05, 0x08, 0x08, 
	0x08, 0x08, 0x08, 0x08, 0x08, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0d, 0x0c, 0x0c, 0x0c, 
	0x04, 0x04, 0x01, 0x01, 0x01, 0x01, 0x00, 0x02, 0x02, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 
	0x0b, 0x0a, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 
	0x06, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x05, 0x05, 0x06, 0x06, 0x06, 0x02, 0x06, 0x06, 0x06, 
	0x0e, 0x11, 0x16, 0x11, 0x12, 0x0e, 0x05, 0x00, 0x08, 0x0d, 0x12, 0x12, 0x12, 0x12, 0x12, 0x11, 
	0x09, 0x03, 0x01, 0x06, 0x00, 0x0a, 0x0f, 0x0f, 0x0b, 0x0b, 0x02, 0x05, 0x02, 0x00, 0x00, 0x01, 
	0x07, 0x07, 0x07, 0x10, 0x0f, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x10, 0x10, 0x09, 0x0a, 0x07, 0x09, 
	0x09, 0x0b, 0x0f, 0x0b, 0x0a, 0x07, 0x07, 0x09, 0x07, 0x07, 0x0b, 0x0f, 0x0f, 0x03, 0x07, 0x09, 
	0x0b, 0x0b, 0x0a, 0x09, 0x03, 0x01, 0x01, 0x01, 0x04, 0x03, 0x07, 0x0a, 0x0b, 0x0f, 0x03, 0x07, 
	0x0a, 0x09, 0x03, 0x04, 0x01, 0x00, 0x02, 0x02, 0x00, 0x00, 0x01, 0x03, 0x07, 0x0b, 0x0b, 0x04, 
	0x03, 0x04, 0x01, 0x01, 0x00, 0x02, 0x00, 0x00, 0x02, 0x02, 0x00, 0x01, 0x04, 0x03, 0x0a, 0x03, 
};
static unsigned char chest_pSm1jacket_t_txt[] = {
	0x03, 0x00, 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x06, 0x02, 0x00, 0x09, 
	0x10, 0x07, 0x00, 0x01, 0x02, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0x0a, 0x1e, 
	0x0b, 0x10, 0x07, 0x01, 0x00, 0x02, 0x02, 0x01, 0x01, 0x00, 0x04, 0x04, 0x04, 0x10, 0x10, 0x0f, 
	0x09, 0x0b, 0x10, 0x09, 0x00, 0x02, 0x02, 0x01, 0x01, 0x01, 0x03, 0x01, 0x10, 0x0f, 0x03, 0x03, 
	0x01, 0x07, 0x0f, 0x15, 0x01, 0x01, 0x02, 0x00, 0x01, 0x03, 0x01, 0x0f, 0x0a, 0x01, 0x01, 0x03, 
	0x00, 0x03, 0x0a, 0x15, 0x0b, 0x01, 0x02, 0x00, 0x04, 0x03, 0x09, 0x10, 0x03, 0x04, 0x09, 0x03, 
	0x00, 0x00, 0x09, 0x0f, 0x15, 0x04, 0x00, 0x06, 0x01, 0x03, 0x0a, 0x0f, 0x03, 0x03, 0x03, 0x03, 
	0x00, 0x05, 0x02, 0x0a, 0x1c, 0x09, 0x02, 0x0c, 0x06, 0x03, 0x0f, 0x0b, 0x01, 0x01, 0x01, 0x04, 
	0x00, 0x08, 0x08, 0x07, 0x10, 0x0a, 0x05, 0x0d, 0x06, 0x03, 0x0b, 0x0f, 0x03, 0x01, 0x04, 0x04, 
	0x01, 0x06, 0x02, 0x0a, 0x15, 0x0a, 0x06, 0x08, 0x06, 0x09, 0x0a, 0x15, 0x0a, 0x03, 0x04, 0x04, 
	0x01, 0x00, 0x03, 0x0b, 0x1c, 0x07, 0x02, 0x06, 0x05, 0x03, 0x03, 0x15, 0x10, 0x07, 0x03, 0x03, 
	0x00, 0x01, 0x09, 0x0f, 0x15, 0x01, 0x02, 0x02, 0x06, 0x01, 0x03, 0x09, 0x1c, 0x10, 0x0b, 0x0a, 
	0x01, 0x03, 0x0a, 0x10, 0x0b, 0x00, 0x00, 0x02, 0x00, 0x00, 0x03, 0x04, 0x03, 0x10, 0x15, 0x15, 
	0x03, 0x0a, 0x10, 0x15, 0x04, 0x04, 0x02, 0x02, 0x00, 0x00, 0x00, 0x04, 0x04, 0x01, 0x04, 0x04, 
	0x0a, 0x10, 0x10, 0x04, 0x01, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x01, 0x01, 
	0x0f, 0x07, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 
};
static unsigned char chest_pblack_txt[] = {
	0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 
};
static unsigned short chest_tlut[] = {
	0x6b5b, 0x6319, 0x739d, 0x5295, 0x5ad7, 0x8421, 0x7bdf, 0x4211, 
	0x8c63, 0x4a53, 0x39cf, 0x318d, 0x94a5, 0x9ce7, 0xa529, 0x294b, 
	0x2109, 0xb5ad, 0xbdef, 0xce73, 0xc631, 0x18c7, 0xad6b, 0xd6b5, 
	0xffff, 0xdef7, 0xf7bd, 0xe739, 0x1085, 0xef7b, 0x0843, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
	0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
};

/*---------------------------------------------------------------------------*/






#define gs_Nin_LoadTextureImage(timg,fmt,siz,width,height,tmem,tt)	\
	gsDPSetTextureImage(fmt,siz,1,timg),	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,0,tmem,tt,0,0,0,0,0,0,0),	\
	gsDPLoadSync(),	\
	gsDPLoadBlock(tt,0,0,width*height-1,CALC_DXT(width,siz##_BYTES))

#define gs_Nin_SetUpTileDescrip(fmt,siz,width,height,tmem,tt,cs,ms,ss,ct,mt,st)	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,((((width)*siz##_LINE_BYTES)+7)>>3),tmem,tt,0,ct,mt,st,cs,ms,ss),	\
	gsDPSetTileSize(tt,0,0,(width-1)<<G_TEXTURE_IMAGE_FRAC,(height-1)<<G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

/* main display list */


/* ======== g2 ======== */


/* ======== g1 ======== */


/* ======== db ======== */

Gfx ManChest_pb_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,8,1,0,0,G_TX_WRAP,3,0,G_TX_WRAP,0,0),
	gs_Nin_LoadTextureImage(chest_pblack_txt,G_IM_FMT_CI,G_IM_SIZ_8b,8,1,0,7),

	gsSPVertex(&ManChest_pb_v[0], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 3, 1, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_pb_v[4], 5, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 2, 3, 0),
	gsSP1Triangle(4, 2, 1, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,0,G_TX_MIRROR,4,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_pb_v[9], 5, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(1, 0, 3, 0),
	gsSP1Triangle(4, 0, 2, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,0,G_TX_CLAMP,4,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_s_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_pb_v[14], 6, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(3, 4, 5, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,0,G_TX_MIRROR,4,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_pb_v[20], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSPEndDisplayList(),
}; /* db */ 

Gfx ManChest_pb_modelT[] = {
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),
	gsSPEndDisplayList()
};

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 24 vertices */


/*   0 vertices */
/* 32 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 8 x 1  G_IM_SIZ_16b G_IM_FMT_RGBA  */






#define gs_Nin_LoadTextureImage(timg,fmt,siz,width,height,tmem,tt)	\
	gsDPSetTextureImage(fmt,siz,1,timg),	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,0,tmem,tt,0,0,0,0,0,0,0),	\
	gsDPLoadSync(),	\
	gsDPLoadBlock(tt,0,0,width*height-1,CALC_DXT(width,siz##_BYTES))

#define gs_Nin_SetUpTileDescrip(fmt,siz,width,height,tmem,tt,cs,ms,ss,ct,mt,st)	\
	gsDPTileSync(),	\
	gsDPSetTile(fmt,siz,((((width)*siz##_LINE_BYTES)+7)>>3),tmem,tt,0,ct,mt,st,cs,ms,ss),	\
	gsDPSetTileSize(tt,0,0,(width-1)<<G_TEXTURE_IMAGE_FRAC,(height-1)<<G_TEXTURE_IMAGE_FRAC)

#define G_CC_PRIMSHADE PRIMITIVE,0,SHADE,0,0,0,0,SHADE

/* main display list */


/* ======== g2 ======== */


/* ======== g1 ======== */


/* ======== db ======== */

Gfx ManChest_pc_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,8,1,0,0,G_TX_WRAP,3,0,G_TX_WRAP,0,0),
	gs_Nin_LoadTextureImage(chest_pblack_txt,G_IM_FMT_CI,G_IM_SIZ_8b,8,1,0,7),

	gsSPVertex(&ManChest_pc_v[0], 3, 0),
	gsSP1Triangle(0, 1, 2, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_pc_v[3], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),

	gs_Nin_SetUpTileDescrip(G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,0,G_TX_MIRROR,4,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_pSm1jacket_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_pc_v[7], 6, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 4, 0),
	gsSP1Triangle(4, 5, 2, 0),
	gsSP1Triangle(2, 5, 0, 0),

	gs_Nin_LoadTextureImage(chest_pSm1jacket_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_pc_v[13], 3, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSPEndDisplayList(),
}; /* db */ 

Gfx ManChest_pc_modelT[] = {
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),
	gsSPEndDisplayList()
};

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 16 vertices */


/*   0 vertices */
/* 32 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 8 x 1  G_IM_SIZ_16b G_IM_FMT_RGBA  */






