#include<ultra64.h>
extern Vtx ManChest_1b_v[];
extern Vtx ManChest_1b_vmcur[];
extern Tri ManChest_1b_tri[];
extern Lights1 ManChest_1b_material[];
extern Mtx ManChest_1b_matrix[];
extern unsigned char  chest_Sshoes_bottom_txt[];
extern unsigned char  chest_St1best_b_txt[];
extern unsigned char  chest_St1best_f_txt[];
extern unsigned char  chest_St1best_s_txt[];
extern unsigned char  chest_St1best_t_txt[];
extern unsigned char  chest_St1farm_b_txt[];
extern unsigned char  chest_St1farm_f_txt[];
extern unsigned char  chest_St1hand_b_txt[];
extern unsigned char  chest_St1hand_f_txt[];
extern unsigned char  chest_St1hand_s_txt[];
extern unsigned char  chest_St1hand_t_txt[];
extern unsigned char  chest_St1hara_txt[];
extern unsigned char  chest_St1met_b_txt[];
extern unsigned char  chest_St1met_f_txt[];
extern unsigned char  chest_St1met_gl_txt[];
extern unsigned char  chest_St1met_s_txt[];
extern unsigned char  chest_St1met_t_txt[];
extern unsigned char  chest_St1neck_txt[];
extern unsigned char  chest_St1shin_b_txt[];
extern unsigned char  chest_St1shin_f_txt[];
extern unsigned char  chest_St1shoe_txt[];
extern unsigned char  chest_St1shoe_b_txt[];
extern unsigned char  chest_St1thigh_b_txt[];
extern unsigned char  chest_St1thigh_f_txt[];
extern unsigned char  chest_St1uarm_b_txt[];
extern unsigned char  chest_St1uarm_f_txt[];
extern unsigned char  chest_St1waist_b_txt[];
extern unsigned char  chest_St1waist_f_txt[];
extern unsigned char  chest_St1waist_s_txt[];
extern unsigned char  chest_black_txt[];
extern Vtx ManChest_1c_v[];
extern Vtx ManChest_1c_vmcur[];
extern Tri ManChest_1c_tri[];
extern Lights1 ManChest_1c_material[];
extern Mtx ManChest_1c_matrix[];
extern unsigned short  chest_tlut[];

/*---------------------------------------------------------------------------*/

static Vtx ManChest_1b_v[]={
	{ 38,-1,-3,0, -6, 221, 64, -9, -100, 0 },   /* v0 p18/V1 used 2 times */ 
	{ -38,-1,-3,0, 1030, 221, -63, -9, -100, 0 },   /* v1 p18/V3 used 2 times */ 
	{ 0,23,-5,0, 512, 511, 0, 83, -85, 0 },   /* v2 p19/V3 used 1 times */ 
	{ 0,-19,-1,0, 511, -2, 0, -103, -59, 0 },   /* v3 p18/V2 used 1 times */ 
	{ 70,-35,150,0, 1024, 511, 78, -56, 71, 0 },   /* v4 p22/V1 used 2 times */ 
	{ 0,-19,-1,0, 511, -45, 0, -103, -59, 0 },   /* v5 p22/V2 used 3 times */ 
	{ 38,-1,-3,0, 789, -58, 64, -9, -100, 0 },   /* v6 p22/V3 used 1 times */ 
	{ -70,-35,150,0, 0, 511, -82, -83, 21, 0 },   /* v7 p23/V2 used 2 times */ 
	{ -38,-1,-3,0, 234, -58, -63, -9, -100, 0 },   /* v8 p16/V1 used 1 times */ 
	{ 38,-1,-3,0, 158, -46, 64, -9, -100, 0 },   /* v9 p20/V1 used 1 times */ 
	{ 0,23,-5,0, 512, -20, 0, 83, -85, 0 },   /* v10 p20/V2 used 3 times */ 
	{ 55,65,107,0, -4, 477, 68, 99, -5, 0 },   /* v11 p20/V3 used 2 times */ 
	{ -55,65,107,0, 1028, 477, -57, 100, 31, 0 },   /* v12 p21/V2 used 2 times */ 
	{ -38,-1,-3,0, 865, -46, -63, -9, -100, 0 },   /* v13 p14/V3 used 1 times */ 
	{ 55,65,107,0, -85, 434, 68, 99, -5, 0 },   /* v14 p15/V1 used 1 times */ 
	{ 70,-35,150,0, 474, 519, 78, -56, 71, 0 },   /* v15 p15/V2 used 1 times */ 
	{ 38,-1,-3,0, 229, -66, 64, -9, -100, 0 },   /* v16 p15/V3 used 1 times */ 
	{ -70,-35,150,0, 474, 519, -82, -83, 21, 0 },   /* v17 p17/V1 used 1 times */ 
	{ -55,65,107,0, -85, 434, -57, 100, 31, 0 },   /* v18 p17/V2 used 1 times */ 
	{ -38,-1,-3,0, 229, -66, -63, -9, -100, 0 },   /* v19 p17/V3 used 1 times */ 
	{ -55,65,107,0, 917, 0, -57, 100, 31, 0 },   /* v20 p13/V3 used 2 times */ 
	{ -70,-35,150,0, 1024, 506, -82, -83, 21, 0 },   /* v21 p24/V2 used 1 times */ 
	{ 70,-35,150,0, 0, 506, 78, -56, 71, 0 },   /* v22 p13/V1 used 2 times */ 
	{ 55,65,107,0, 106, 0, 68, 99, -5, 0 },   /* v23 p13/V2 used 1 times */ 
};
static Vtx ManChest_1c_v[]={
	{ 46,-21,9,0, 944, 0, 81, -45, -74, 0 },   /* v0 p2/V1 used 1 times */ 
	{ -46,-21,9,0, 79, 0, -90, 8, -77, 0 },   /* v1 p2/V2 used 1 times */ 
	{ 0,30,1,0, 511, -760, 0, 83, -86, 0 },   /* v2 p2/V3 used 1 times */ 
	{ 46,-21,9,0, 852, -106, 81, -45, -74, 0 },   /* v3 p8/V1 used 2 times */ 
	{ 75,-37,153,0, 1062, 514, 83, -21, 84, 0 },   /* v4 p8/V2 used 1 times */ 
	{ -75,-37,153,0, -38, 514, -58, -90, 52, 0 },   /* v5 p8/V3 used 2 times */ 
	{ -46,-21,9,0, 171, -106, -90, 8, -77, 0 },   /* v6 p3/V2 used 1 times */ 
	{ -46,-21,9,0, 829, -89, -90, 8, -77, 0 },   /* v7 p1/V3 used 2 times */ 
	{ -75,-37,153,0, 1026, 558, -58, -90, 52, 0 },   /* v8 p6/V2 used 1 times */ 
	{ 0,55,138,0, 512, 447, 0, 117, 24, 0 },   /* v9 p1/V1 used 4 times */ 
	{ 75,-37,153,0, -1, 558, 83, -21, 84, 0 },   /* v10 p7/V2 used 1 times */ 
	{ 46,-21,9,0, 194, -89, 81, -45, -74, 0 },   /* v11 p5/V1 used 2 times */ 
	{ 0,30,1,0, 512, -146, 0, 83, -86, 0 },   /* v12 p1/V2 used 2 times */ 
	{ -75,-37,153,0, 1062, 511, -58, -90, 52, 0 },   /* v13 p4/V1 used 1 times */ 
	{ 75,-37,153,0, -38, 512, 83, -21, 84, 0 },   /* v14 p4/V2 used 1 times */ 
	{ 0,55,138,0, 512, -123, 0, 117, 24, 0 },   /* v15 p4/V3 used 1 times */ 
};
static unsigned char chest_St1best_b_txt[] = {
	0x1f, 0x1f, 0x1f, 0x13, 0x13, 0x13, 0x1a, 0x1d, 0x05, 0x02, 0x02, 0x03, 0x06, 0x06, 0x08, 0x02, 0x02, 0x02, 0x02, 0x08, 0x06, 0x06, 0x03, 0x02, 0x02, 0x05, 0x1d, 0x1a, 0x13, 0x1a, 0x13, 0x1f, 
	0x1f, 0x1f, 0x1f, 0x16, 0x16, 0x16, 0x19, 0x1c, 0x14, 0x07, 0x02, 0x03, 0x0d, 0x06, 0x03, 0x08, 0x08, 0x08, 0x08, 0x03, 0x06, 0x0d, 0x03, 0x02, 0x07, 0x14, 0x1c, 0x19, 0x16, 0x19, 0x16, 0x1f, 
	0x12, 0x09, 0x09, 0x09, 0x09, 0x09, 0x37, 0x2c, 0xa6, 0xe5, 0xaf, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0xac, 0x22, 0xad, 0xe4, 0x2c, 0x86, 0x09, 0xa8, 0x09, 0x09, 0x09, 0x09, 0x09, 
	0x10, 0x10, 0x10, 0x10, 0x6e, 0x67, 0x36, 0x36, 0xd5, 0x98, 0x2d, 0x92, 0x55, 0x92, 0x3d, 0x76, 0x76, 0x3d, 0x23, 0x1e, 0x3d, 0x61, 0x8a, 0xb5, 0x4f, 0x4f, 0x75, 0xba, 0x10, 0x10, 0x10, 0x10, 
	0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x52, 0x52, 0x59, 0x0f, 0x98, 0x4e, 0x7d, 0x18, 0x25, 0x00, 0x00, 0x04, 0x0c, 0x7c, 0x4e, 0xbe, 0x0f, 0x15, 0x7b, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 
	0x10, 0x10, 0x10, 0x10, 0x5a, 0x48, 0x44, 0x77, 0x83, 0x8c, 0x23, 0x25, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x0a, 0x66, 0x51, 0x44, 0x44, 0x44, 0x48, 0xab, 0x10, 0x10, 0x10, 0x10, 
	0x3f, 0x3b, 0x48, 0x47, 0x48, 0xf4, 0x7a, 0x63, 0xbc, 0x27, 0x2d, 0x0e, 0x04, 0x0a, 0x04, 0x00, 0x01, 0x00, 0x04, 0x00, 0x43, 0x2d, 0x27, 0x32, 0x7a, 0x63, 0xe8, 0x47, 0x48, 0x3b, 0x8e, 0x8e, 
	0xec, 0x57, 0x3c, 0x3c, 0x0b, 0x42, 0x0b, 0x0b, 0x42, 0x5e, 0xb2, 0x7c, 0x7c, 0x2b, 0x0a, 0x00, 0x01, 0x00, 0x0a, 0x2b, 0x4e, 0x73, 0x5e, 0x42, 0x0b, 0x0b, 0x88, 0x57, 0x3c, 0x0f, 0x0b, 0x88, 
	0x1e, 0x1e, 0x84, 0xcb, 0xca, 0x2f, 0x81, 0x2f, 0x2f, 0x2f, 0x50, 0x70, 0x04, 0x25, 0x00, 0x01, 0x00, 0x00, 0x00, 0x25, 0x04, 0x1e, 0x26, 0x23, 0x23, 0x2f, 0x2e, 0x26, 0xc9, 0x2e, 0x3d, 0x23, 
	0x00, 0x0e, 0x0e, 0x01, 0x46, 0x46, 0x01, 0x01, 0x00, 0x60, 0x5f, 0xb2, 0xb6, 0xb3, 0x65, 0x65, 0x5f, 0x0a, 0x5f, 0xa4, 0x0c, 0x6c, 0x11, 0x25, 0x0e, 0x01, 0x29, 0x01, 0x01, 0x00, 0x11, 0x0e, 
	0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0xf2, 0x99, 0xd8, 0xfa, 0xae, 0xfd, 0x35, 0xfe, 0xff, 0xc7, 0xae, 0xf7, 0x30, 0x73, 0x25, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 
	0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01, 0xf5, 0xb8, 0xf6, 0x95, 0xb8, 0xf6, 0xae, 0xfa, 0x95, 0x95, 0xfa, 0xc3, 0xb8, 0x48, 0x6c, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0xf2, 0xd6, 0xff, 0x48, 0xeb, 0xb4, 0xb4, 0x31, 0xb0, 0xd9, 0x99, 0xc2, 0xe6, 0x5f, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x11, 0xd1, 0xbd, 0xc8, 0xc5, 0xcc, 0x70, 0x56, 0xcf, 0xe1, 0xf1, 0x0e, 0x0e, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 
	0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x0e, 0x00, 0x2b, 0xd1, 0xaa, 0xaa, 0xf0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x0e, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 
	0x01, 0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x29, 0x0c, 0xe2, 0xd0, 0x21, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 
};
static unsigned char chest_St1best_f_txt[] = {
	0x13, 0x1a, 0x13, 0x1a, 0x13, 0x1a, 0x1d, 0x05, 0x02, 0x02, 0x03, 0x06, 0x06, 0x08, 0x02, 0x02, 
	0x16, 0x19, 0x16, 0x19, 0x16, 0x19, 0x1c, 0x14, 0x07, 0x02, 0x03, 0x0d, 0x06, 0x03, 0x08, 0x05, 
	0x67, 0x67, 0x6e, 0x3f, 0x30, 0x62, 0x5c, 0xdd, 0x5c, 0x34, 0x27, 0x32, 0x32, 0x27, 0x34, 0x34, 
	0x09, 0x09, 0x1b, 0x68, 0x66, 0x2e, 0x8c, 0x83, 0x83, 0x44, 0x5c, 0x32, 0xa2, 0x63, 0x32, 0x32, 
	0x10, 0x10, 0xc4, 0xb2, 0x97, 0xd2, 0xb6, 0xd3, 0xdf, 0x79, 0x6d, 0x8c, 0x44, 0x64, 0x62, 0x34, 
	0x93, 0x93, 0x39, 0x4c, 0x82, 0xfa, 0x8d, 0xce, 0xe3, 0x9f, 0x00, 0x1e, 0x23, 0x26, 0x2e, 0xb1, 
	0x8c, 0x8c, 0x8c, 0x51, 0x8c, 0xd4, 0x99, 0xb8, 0x87, 0x9f, 0x01, 0x00, 0x0e, 0x0e, 0x00, 0x00, 
	0x01, 0x29, 0x55, 0x00, 0x23, 0xef, 0xe3, 0xef, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x6f, 0xdb, 0xa2, 0xa2, 0xf3, 0xfa, 0x8d, 0xfd, 0x87, 0x0e, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 
	0x2e, 0x5b, 0x5b, 0x2d, 0x2d, 0x87, 0x4d, 0xe3, 0x9c, 0x0e, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 
	0x24, 0x50, 0x24, 0x24, 0x01, 0x43, 0x87, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 
	0x00, 0x55, 0x43, 0x01, 0x01, 0x43, 0x9c, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
	0x0a, 0x71, 0x04, 0x04, 0x04, 0x04, 0x04, 0x0e, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
	0x18, 0x18, 0x0c, 0x0a, 0x04, 0x21, 0x04, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x21, 0xa4, 0x56, 
	0x18, 0x2b, 0x18, 0x0c, 0x0a, 0x21, 0x04, 0x00, 0x00, 0x01, 0x00, 0x04, 0x7d, 0x6b, 0x86, 0x09, 
	0x18, 0x2b, 0x18, 0x0c, 0x0a, 0x21, 0x04, 0x00, 0x00, 0x00, 0x94, 0x68, 0x45, 0x45, 0x09, 0x09, 
};
static unsigned char chest_St1best_s_txt[] = {
	0x06, 0x03, 0x02, 0x02, 0x05, 0x1d, 0x1a, 0x13, 0x13, 0x1a, 0x1d, 0x05, 0x02, 0x02, 0x03, 0x06, 
	0x0d, 0x03, 0x02, 0x07, 0x14, 0x1c, 0x19, 0x16, 0x16, 0x19, 0x1c, 0x14, 0x07, 0x02, 0x03, 0x0d, 
	0x11, 0xa9, 0xa9, 0x29, 0xe9, 0xbf, 0x80, 0x2c, 0x2c, 0x2c, 0x40, 0xc0, 0x7f, 0x11, 0x6c, 0x11, 
	0x62, 0x34, 0x27, 0x63, 0x63, 0xa2, 0x58, 0x30, 0x31, 0x31, 0x35, 0xee, 0xa1, 0x27, 0x34, 0x5c, 
	0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x4c, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x4c, 0x57, 
	0x26, 0x26, 0x2e, 0x2d, 0x8f, 0x51, 0x5a, 0x4f, 0x36, 0x36, 0x5d, 0x8c, 0x97, 0x6d, 0x26, 0x79, 
	0x44, 0x62, 0x41, 0x41, 0x41, 0xde, 0xf7, 0x48, 0x3b, 0x48, 0x30, 0x44, 0x51, 0x51, 0x51, 0x8c, 
	0x39, 0x39, 0x3c, 0x39, 0x59, 0x15, 0x15, 0x0f, 0x15, 0x0f, 0x7b, 0x15, 0x15, 0x15, 0x15, 0x39, 
	0x01, 0x7f, 0x9d, 0x8a, 0x78, 0x77, 0xc1, 0x12, 0x09, 0x45, 0x67, 0xfc, 0x11, 0x25, 0x11, 0x11, 
	0x0a, 0x00, 0x24, 0x61, 0x8a, 0x78, 0x62, 0x6a, 0x5e, 0x9a, 0x41, 0x24, 0x0e, 0x00, 0x00, 0x00, 
	0x18, 0x0a, 0x0e, 0x81, 0x9d, 0x77, 0xbb, 0xe0, 0x3a, 0x6a, 0x15, 0x27, 0x11, 0x00, 0x01, 0x00, 
	0x2b, 0x0a, 0x04, 0x1e, 0x61, 0xa1, 0x52, 0x35, 0x35, 0x30, 0x3a, 0x59, 0x2f, 0x00, 0x01, 0x01, 
	0x18, 0x04, 0x0e, 0x46, 0xda, 0xed, 0x9e, 0x30, 0x31, 0x31, 0x30, 0x0b, 0x8f, 0x11, 0x01, 0x00, 
	0x0c, 0x04, 0x00, 0x46, 0x50, 0xee, 0x6a, 0x5a, 0x6b, 0x75, 0x31, 0x72, 0x78, 0x11, 0x01, 0x00, 
	0x0c, 0x0a, 0x04, 0x01, 0x24, 0xdc, 0x6a, 0x36, 0x12, 0x2c, 0x47, 0x54, 0x64, 0x11, 0x01, 0x01, 
	0x65, 0x0c, 0x04, 0x01, 0x1e, 0xdc, 0x3a, 0x6b, 0x12, 0x40, 0x48, 0x54, 0x64, 0x11, 0x00, 0x01, 
};
static unsigned char chest_St1best_t_txt[] = {
	0x04, 0x0a, 0x0c, 0x0c, 0x0a, 0x0a, 0x04, 0x04, 0x01, 0x00, 0x21, 0x7d, 0x40, 0x1b, 0x12, 0x12, 
	0x0c, 0x65, 0x18, 0x0c, 0x0c, 0x0c, 0x71, 0x00, 0x00, 0x21, 0x68, 0x45, 0x12, 0x6b, 0x3f, 0x31, 
	0x0a, 0x0c, 0x0a, 0x0a, 0x21, 0x04, 0x04, 0x00, 0x04, 0x68, 0x12, 0x40, 0x35, 0x57, 0xae, 0xfd, 
	0x04, 0x04, 0x00, 0x0e, 0x04, 0x00, 0x00, 0x00, 0x2b, 0x1b, 0x2c, 0xa3, 0xae, 0x99, 0x4d, 0x69, 
	0x00, 0x00, 0x01, 0x00, 0x00, 0x04, 0x0c, 0x0c, 0x68, 0x89, 0xa3, 0xea, 0x96, 0xa5, 0x4b, 0x69, 
	0x60, 0x60, 0x11, 0x25, 0x0a, 0x65, 0x7d, 0x2b, 0x86, 0x5d, 0xcd, 0xd7, 0xa5, 0xa5, 0x69, 0x7e, 
	0x5b, 0x26, 0x66, 0x84, 0x55, 0xa4, 0x0c, 0x18, 0xa8, 0x30, 0x82, 0x4d, 0x96, 0xf9, 0x4b, 0x7e, 
	0x15, 0x4c, 0xb7, 0x68, 0x68, 0x68, 0x68, 0x6b, 0x1b, 0xa3, 0xfd, 0x96, 0x69, 0x4b, 0x3e, 0x3e, 
	0x58, 0x72, 0x42, 0x80, 0x12, 0x1b, 0x1b, 0x09, 0x09, 0x3a, 0xfd, 0x96, 0x4b, 0x3e, 0x20, 0x20, 
	0x3f, 0x35, 0x15, 0x47, 0x12, 0x37, 0x37, 0x8b, 0x12, 0x3b, 0x95, 0x4d, 0x7e, 0x20, 0x20, 0x20, 
	0x4f, 0x30, 0x0b, 0x58, 0x12, 0x09, 0x37, 0x09, 0x12, 0xa6, 0xcd, 0x99, 0x69, 0x3e, 0x20, 0x20, 
	0x3f, 0x35, 0x15, 0x3b, 0x12, 0x09, 0x09, 0x8b, 0x09, 0x12, 0x47, 0x95, 0xe7, 0x7e, 0x3e, 0x20, 
	0x3a, 0x54, 0x9a, 0x40, 0x1b, 0x89, 0x53, 0x53, 0x53, 0x09, 0x1b, 0x35, 0xb9, 0x99, 0xf8, 0x4b, 
	0x6f, 0xa1, 0x8c, 0x74, 0x74, 0x85, 0x85, 0x56, 0x2b, 0xa4, 0x68, 0x1b, 0xc6, 0x9e, 0xb9, 0xae, 
	0x23, 0x00, 0x29, 0x24, 0x1e, 0x00, 0x04, 0x0a, 0x0c, 0x18, 0x21, 0x2b, 0x2c, 0x37, 0xfb, 0x5d, 
	0x00, 0x01, 0x00, 0x00, 0x01, 0x29, 0x01, 0x00, 0x00, 0x04, 0x04, 0x29, 0x24, 0x94, 0x2b, 0x68, 
};
static unsigned char chest_St1hara_txt[] = {
	0x28, 0x14, 0x07, 0x08, 0x03, 0x03, 0x08, 0x08, 0x05, 0x05, 0x02, 0x03, 0x06, 0x0d, 0x17, 0x17, 
	0x91, 0x4a, 0x2a, 0x05, 0x02, 0x08, 0x03, 0x08, 0x03, 0x08, 0x03, 0xa0, 0x06, 0x38, 0x17, 0x17, 
	0x16, 0x91, 0x4a, 0x14, 0x07, 0x05, 0x02, 0x08, 0x03, 0x03, 0x06, 0x0d, 0x0d, 0x17, 0x49, 0x17, 
	0x90, 0x13, 0x28, 0x2a, 0x07, 0x05, 0x02, 0x08, 0x03, 0x06, 0x06, 0x0d, 0x38, 0x49, 0x33, 0x33, 
	0x4a, 0x28, 0x1d, 0x05, 0x05, 0x05, 0x05, 0x05, 0x08, 0x03, 0x06, 0x38, 0x17, 0x33, 0xa7, 0xa7, 
	0x1c, 0x4a, 0x2a, 0x05, 0x02, 0x02, 0x05, 0x05, 0x08, 0x03, 0xa0, 0x0d, 0x17, 0x33, 0x33, 0x33, 
	0x90, 0x13, 0x1a, 0x2a, 0x07, 0x05, 0x02, 0x02, 0x03, 0x03, 0x03, 0x06, 0x0d, 0x17, 0x49, 0x49, 
	0x19, 0x13, 0x28, 0x07, 0x05, 0x05, 0x02, 0x02, 0x03, 0x06, 0x06, 0x06, 0x0d, 0x38, 0x17, 0x17, 
	0x1c, 0x28, 0x05, 0x03, 0x06, 0x06, 0x03, 0x03, 0x03, 0x03, 0x06, 0x06, 0x0d, 0x0d, 0x0d, 0x38, 
	0x1c, 0x28, 0x07, 0x02, 0x03, 0x03, 0x08, 0x02, 0x02, 0x02, 0x03, 0x06, 0x0d, 0x0d, 0x0d, 0x0d, 
	0x28, 0x14, 0x07, 0x08, 0x08, 0x05, 0x07, 0x9b, 0x05, 0x05, 0x03, 0x03, 0x03, 0x06, 0x06, 0x06, 
	0x16, 0x16, 0x13, 0x2a, 0x02, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, 0x08, 0x02, 0x08, 0x03, 0x03, 
	0x13, 0x1a, 0x1d, 0x05, 0x02, 0x02, 0x03, 0x06, 0x06, 0x08, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 
	0x16, 0x19, 0x1c, 0x14, 0x07, 0x02, 0x03, 0x0d, 0x06, 0x03, 0x08, 0x05, 0x05, 0x05, 0x05, 0x05, 
	0x1c, 0x14, 0x02, 0x03, 0x07, 0x07, 0x1d, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x05, 
	0x1d, 0x07, 0x08, 0x03, 0x02, 0x02, 0x05, 0x07, 0x07, 0x07, 0x07, 0x2a, 0x14, 0x14, 0x2a, 0x9b, 
};
static unsigned short chest_tlut[] = {
	0xca61, 0xca21, 0xfaa3, 0xfae5, 0xcaa3, 0xfa63, 0xfb27, 0xfa21, 
	0xfaa5, 0xf7bd, 0xd2e5, 0x18c7, 0xd325, 0xfb67, 0xca63, 0x1085, 
	0x9ce7, 0xd263, 0xffff, 0xf899, 0xf99f, 0x0843, 0xf015, 0xfba9, 
	0xd367, 0xf815, 0xf91d, 0xf7fd, 0xf8db, 0xf9e1, 0xc21f, 0xe3e1, 
	0xe727, 0xcae3, 0x9113, 0xba1f, 0xc1df, 0xd2a3, 0xb21d, 0x50cd, 
	0xf95d, 0xca1f, 0xf9df, 0xd3a7, 0xdef7, 0xa199, 0xa9db, 0xb1dd, 
	0x6319, 0x6b5b, 0x48cd, 0xfbeb, 0x58cf, 0x5ad7, 0xc631, 0xef7b, 
	0xfb69, 0x1045, 0x4a53, 0x8421, 0x1885, 0xba1d, 0xe725, 0x8c63, 
	0xe739, 0x514f, 0x2109, 0xc221, 0x7153, 0xf7ff, 0xc9df, 0x739d, 
	0x7bdf, 0xfbe9, 0xf91b, 0xd69f, 0x1887, 0xbd93, 0xe3eb, 0xbdef, 
	0xc1dd, 0x7195, 0x10c5, 0xefbb, 0x1907, 0xc261, 0xc3a7, 0x20c7, 
	0x5295, 0x1043, 0x94a5, 0x9999, 0x590f, 0x9d29, 0x214b, 0xcae5, 
	0xd261, 0xa999, 0x6111, 0x408b, 0x6911, 0xd327, 0xb25f, 0xb5ad, 
	0xd5f1, 0xd65b, 0x4211, 0xd6b5, 0xdaa5, 0xa1db, 0xa529, 0x1845, 
	0xd2a5, 0xd2e3, 0x1909, 0xab21, 0xab61, 0xad6b, 0xb1db, 0x7111, 
	0x7113, 0xb21f, 0x488b, 0x0885, 0xdba9, 0xdbeb, 0xde9f, 0xb99d, 
	0xdf37, 0xb9dd, 0x4a45, 0x7955, 0xba5f, 0xbba5, 0xef3b, 0xbbd7, 
	0x20c9, 0xefbd, 0x8113, 0xf7bb, 0x81d7, 0x100b, 0x8463, 0x8955, 
	0xf817, 0xf857, 0xc25f, 0x0001, 0xc2e3, 0x2901, 0xc5d5, 0x9157, 
	0x91d9, 0x944d, 0x298d, 0xfa61, 0xca5f, 0x9957, 0x318d, 0xca65, 
	0xfb25, 0x3849, 0x388b, 0x39cf, 0xcb25, 0xce5b, 0xce73, 0xfc2b, 
	0xffbd, 0xd221, 0x41eb, 0x94e5, 0x9915, 0x9955, 0x4205, 0x9997, 
	0x420b, 0x99d9, 0x9a1b, 0x9adf, 0x9bd7, 0x9be3, 0x9c0d, 0x9c65, 
	0x9c83, 0x2105, 0x9ce9, 0x0801, 0x48cb, 0x2119, 0xa29f, 0xa2df, 
	0xa31f, 0xa321, 0xa493, 0xa4c1, 0xa4e9, 0x49e3, 0xa56b, 0x4a0d, 
	0x4a17, 0xaa1b, 0xaa1d, 0xaa5d, 0xaaa1, 0x1083, 0x4a47, 0xab63, 
	0xab65, 0xabe9, 0xac0b, 0xac4f, 0xac8f, 0xaca7, 0xacd9, 0xad11, 
	0xad41, 0x4a4d, 0xb19b, 0x2805, 0x2847, 0x50cf, 0x510f, 0xb259, 
	0x10c7, 0xb3a5, 0xb3a7, 0xb3d3, 0xb3e3, 0xb3e5, 0xb41d, 0xb553, 
	0x5213, 0xb99b, 0x5245, 0x5247, 0x2909, 0x2045, 0x3089, 0xba97, 
	0xbae1, 0xbb25, 0xbb65, 0x59c9, 0x5a13, 0xbbe1, 0xbd83, 0x5a53, 
	0xbd97, 0xbdd5, 0x5a81, 0xbe31, 0xc19d, 0x5a87, 0x5a91, 0x5a93, 
};

/*---------------------------------------------------------------------------*/






#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
******************************************************************************/

Gfx ManChest_1b_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	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_St1hara_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1b_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_St1best_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_1b_v[4], 5, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 3, 1, 0),
	gsSP1Triangle(4, 1, 3, 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_St1best_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1b_v[9], 5, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(3, 1, 4, 0),
	gsSP1Triangle(1, 3, 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_St1best_s_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1b_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_St1best_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1b_v[20], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSPEndDisplayList(),
};

Gfx *ManChest_1b_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 24 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/



/*   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  */

/* 16 x 16  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
******************************************************************************/

Gfx ManChest_1c_model[]={
	gsDPPipeSync(),
	gsDPLoadTLUT_pal256(chest_tlut),

	gsSPTexture(65535, 65535,0, 0, 1),
	gsDPPipeSync(),

	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_St1best_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_1c_v[0], 7, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(3, 4, 5, 0),
	gsSP1Triangle(5, 6, 3, 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_St1best_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1c_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_St1best_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_1c_v[13], 3, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSPEndDisplayList(),
};

Gfx *ManChest_1c_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 16 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/


/******************************************************************************
	vertex & texture
******************************************************************************/



/*   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  */






