#include<ultra64.h>
extern Vtx ManChest_2b_v[];
extern Vtx ManChest_2b_vmcur[];
extern Tri ManChest_2b_tri[];
extern Lights1 ManChest_2b_material[];
extern Mtx ManChest_2b_matrix[];
extern unsigned char  chest_Sshoes_bottom_txt[];
extern unsigned char  chest_St2_hand_txt[];
extern unsigned char  chest_St2best_b_txt[];
extern unsigned char  chest_St2best_f_txt[];
extern unsigned char  chest_St2best_s_txt[];
extern unsigned char  chest_St2best_t_txt[];
extern unsigned char  chest_St2farm_b_txt[];
extern unsigned char  chest_St2farm_f_txt[];
extern unsigned char  chest_St2hara_txt[];
extern unsigned char  chest_St2met_b_txt[];
extern unsigned char  chest_St2met_f_txt[];
extern unsigned char  chest_St2met_gl_txt[];
extern unsigned char  chest_St2met_s_txt[];
extern unsigned char  chest_St2neck_txt[];
extern unsigned char  chest_St2shin_txt[];
extern unsigned char  chest_St2shoe_txt[];
extern unsigned char  chest_St2shoe_b_txt[];
extern unsigned char  chest_St2thigh_b_txt[];
extern unsigned char  chest_St2thigh_f_txt[];
extern unsigned char  chest_St2uarm_b_txt[];
extern unsigned char  chest_St2uarm_f_txt[];
extern unsigned char  chest_St2waist_b_txt[];
extern unsigned char  chest_St2waist_f_txt[];
extern unsigned char  chest_St2waist_s_txt[];
extern unsigned char  chest_black_txt[];
extern Vtx ManChest_2c_v[];
extern Vtx ManChest_2c_vmcur[];
extern Tri ManChest_2c_tri[];
extern Lights1 ManChest_2c_material[];
extern Mtx ManChest_2c_matrix[];
extern unsigned short  chest_tlut[];

/*---------------------------------------------------------------------------*/

static Vtx ManChest_2b_v[]={
	{ 58,-3,-16,0, 950, 284, 71,-10,-95,255 },   /* v0 p58/V1 used 2 times */ 
	{ -58,-3,-16,0, 73, 284, -70,-10,-95,255 },   /* v1 p58/V3 used 2 times */ 
	{ 0,39,-19,0, 512, 0, 0,93,-74,255 },   /* v2 p59/V3 used 1 times */ 
	{ 0,-38,-12,0, 512, 525, 0,-104,-59,255 },   /* v3 p58/V2 used 1 times */ 
	{ 75,-45,147,0, 550, 573, 68,-69,71,255 },   /* v4 p63/V1 used 2 times */ 
	{ -75,-45,147,0, -550, 573, -76,-87,29,255 },   /* v5 p63/V2 used 2 times */ 
	{ 0,-38,-12,0, 0, -77, 0,-104,-59,255 },   /* v6 p63/V3 used 3 times */ 
	{ 58,-3,-16,0, 423, -98, 71,-10,-95,255 },   /* v7 p62/V3 used 1 times */ 
	{ -58,-3,-16,0, -423, -98, -70,-10,-95,255 },   /* v8 p56/V1 used 1 times */ 
	{ 58,-3,-16,0, 88, -111, 71,-10,-95,255 },   /* v9 p60/V1 used 1 times */ 
	{ 0,39,-19,0, 511, -101, 0,93,-74,255 },   /* v10 p60/V2 used 3 times */ 
	{ 74,61,129,0, -29, 512, 75,91,17,255 },   /* v11 p60/V3 used 2 times */ 
	{ -74,61,129,0, 1053, 512, -63,84,55,255 },   /* v12 p54/V1 used 2 times */ 
	{ -58,-3,-16,0, 935, -111, -70,-10,-95,255 },   /* v13 p54/V3 used 1 times */ 
	{ -75,-45,147,0, 23, 583, -76,-87,29,255 },   /* v14 p57/V1 used 1 times */ 
	{ -74,61,129,0, 516, 507, -63,84,55,255 },   /* v15 p57/V2 used 1 times */ 
	{ -58,-3,-16,0, 220, -109, -70,-10,-95,255 },   /* v16 p57/V3 used 1 times */ 
	{ 74,61,129,0, 516, 507, 75,91,17,255 },   /* v17 p55/V1 used 1 times */ 
	{ 75,-45,147,0, 23, 583, 68,-69,71,255 },   /* v18 p55/V2 used 1 times */ 
	{ 58,-3,-16,0, 220, -109, 71,-10,-95,255 },   /* v19 p55/V3 used 1 times */ 
	{ 75,-45,147,0, -1, 522, 68,-69,71,255 },   /* v20 p64/V3 used 2 times */ 
	{ 74,61,129,0, 7, 0, 75,91,17,255 },   /* v21 p53/V2 used 1 times */ 
	{ -74,61,129,0, 1016, 0, -63,84,55,255 },   /* v22 p64/V1 used 2 times */ 
	{ -75,-45,147,0, 1025, 522, -76,-87,29,255 },   /* v23 p64/V2 used 1 times */ 
};
static Vtx ManChest_2c_v[]={
	{ 58,-37,-12,0, 116, 21, 87,-50,-66,255 },   /* v0 p9/V1 used 1 times */ 
	{ -58,-37,-12,0, 907, 21, -95,3,-70,255 },   /* v1 p9/V2 used 1 times */ 
	{ 0,39,-20,0, 512, 512, 0,81,-87,255 },   /* v2 p9/V3 used 1 times */ 
	{ 58,-37,-12,0, 395, -140, 87,-50,-66,255 },   /* v3 p14/V1 used 2 times */ 
	{ 75,-45,147,0, 513, 512, 80,-26,86,255 },   /* v4 p14/V2 used 1 times */ 
	{ -75,-45,147,0, -513, 512, -56,-88,58,255 },   /* v5 p14/V3 used 2 times */ 
	{ -58,-37,-12,0, -395, -140, -95,3,-70,255 },   /* v6 p10/V2 used 1 times */ 
	{ 0,61,129,0, 511, 455, 0,115,31,255 },   /* v7 p15/V3 used 4 times */ 
	{ 0,39,-20,0, 512, -200, 0,81,-87,255 },   /* v8 p16/V2 used 2 times */ 
	{ -58,-37,-12,0, 907, -152, -95,3,-70,255 },   /* v9 p15/V1 used 2 times */ 
	{ -75,-45,147,0, 1025, 556, -56,-88,58,255 },   /* v10 p15/V2 used 1 times */ 
	{ 75,-45,147,0, -1, 556, 80,-26,86,255 },   /* v11 p13/V2 used 1 times */ 
	{ 58,-37,-12,0, 116, -152, 87,-50,-66,255 },   /* v12 p13/V3 used 2 times */ 
	{ -75,-45,147,0, 1025, 512, -56,-88,58,255 },   /* v13 p11/V1 used 1 times */ 
	{ 75,-45,147,0, -1, 512, 80,-26,86,255 },   /* v14 p11/V2 used 1 times */ 
	{ 0,61,129,0, 512, 11, 0,115,31,255 },   /* v15 p11/V3 used 1 times */ 
};
static unsigned char chest_St2best_b_txt[] = {
	0x00, 0x08, 0x00, 0x00, 0x00, 0x07, 0x05, 0x05, 0x15, 0x05, 0x2c, 0x18, 0x09, 0x04, 0x19, 0x04, 
	0x00, 0x00, 0x05, 0x0d, 0x0d, 0x0d, 0x0d, 0x07, 0x33, 0x69, 0x7d, 0x09, 0x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, 0xfd, 0xf8, 0xb6, 0xd8, 0x90, 0x3a, 0x83, 0x55, 0x42, 0x5e, 0x5e, 0x1f, 0x13, 
	0x96, 0x94, 0x94, 0xe8, 0x9a, 0x78, 0x7e, 0x26, 0x13, 0x3e, 0x42, 0x42, 0x42, 0x1f, 0x1f, 0x13, 
	0x81, 0x81, 0xc7, 0xd6, 0x0e, 0x55, 0x55, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x06, 0x03, 
};
static unsigned char chest_St2best_f_txt[] = {
	0x04, 0x19, 0x04, 0x09, 0x18, 0x2c, 0x05, 0x15, 0x05, 0x05, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x07, 0x05, 0x05, 0x15, 0x05, 0x2c, 0x18, 0x09, 0x04, 0x19, 0x04, 
	0x80, 0x0f, 0x7b, 0x09, 0x20, 0x7d, 0x69, 0x33, 0x00, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x0d, 0x0d, 0x0d, 0x0d, 0x00, 0x33, 0x69, 0x7d, 0x20, 0x09, 0x7b, 0x0f, 0x80, 
	0x12, 0x12, 0x12, 0x12, 0x12, 0x70, 0x1d, 0xdf, 0x66, 0xbf, 0x36, 0x36, 0x75, 0x34, 0x62, 0xca, 0xca, 0x62, 0x34, 0x75, 0x36, 0x36, 0xbf, 0x66, 0xdf, 0x1d, 0x70, 0x12, 0x12, 0x12, 0x12, 0x12, 
	0x35, 0x0b, 0x35, 0x45, 0x2e, 0x10, 0xcd, 0x3f, 0xc8, 0xa4, 0x4e, 0x31, 0x97, 0x96, 0xba, 0xbc, 0xbc, 0xba, 0x96, 0x97, 0x31, 0x4e, 0xa4, 0xc8, 0x3f, 0xcd, 0x10, 0x2e, 0x45, 0x35, 0x0b, 0x35, 
	0x10, 0x10, 0x4f, 0x40, 0x52, 0xfa, 0x02, 0xf6, 0xcc, 0x52, 0xd8, 0x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0x03, 0x03, 0x06, 0x21, 0x0c, 0xed, 0x21, 0x03, 0x63, 0x83, 0xb0, 0xa9, 0xaa, 0xaa, 0xa9, 0xb0, 0x83, 0x63, 0x03, 0x21, 0xed, 0x0c, 0x21, 0x06, 0x03, 0x03, 0x03, 0x0e, 0x01, 
	0x01, 0x03, 0x06, 0x06, 0x06, 0x06, 0x06, 0x21, 0x0c, 0x0c, 0x0c, 0x0c, 0x3e, 0x13, 0xe4, 0x03, 0x03, 0x13, 0x13, 0x3e, 0x0c, 0x0c, 0x0c, 0x0c, 0x21, 0x06, 0x06, 0x06, 0x06, 0x06, 0x03, 0x01, 
	0x01, 0x2f, 0x06, 0x06, 0x03, 0x03, 0x03, 0x06, 0x77, 0x77, 0xdd, 0x27, 0x27, 0x27, 0xce, 0x2f, 0x30, 0xce, 0x27, 0x27, 0x27, 0x77, 0x77, 0x06, 0x06, 0x03, 0x03, 0x03, 0x06, 0x06, 0x2f, 0x01, 
	0x01, 0x0a, 0x03, 0x2f, 0x0a, 0x0a, 0x0a, 0x0a, 0x3b, 0xf3, 0x89, 0xc6, 0xc6, 0xc6, 0xec, 0xc6, 0xcf, 0xc6, 0x49, 0xec, 0xc6, 0xec, 0xf9, 0x3b, 0x0a, 0x0a, 0x0a, 0x0a, 0x2f, 0x03, 0x0a, 0x01, 
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x87, 0x89, 0xfc, 0xc6, 0xec, 0xc6, 0xf9, 0xf9, 0xc6, 0xf3, 0xc6, 0xf3, 0xf3, 0xf3, 0xfc, 0x89, 0x8b, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x87, 0x8b, 0x3b, 0x3b, 0xcf, 0x49, 0xcf, 0x3b, 0x3b, 0x3b, 0x3b, 0x49, 0x3b, 0x49, 0x3b, 0x49, 0x8b, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
};
static unsigned char chest_St2best_s_txt[] = {
	0x15, 0x05, 0x2c, 0x18, 0x09, 0x04, 0x19, 0x04, 0x04, 0x19, 0x04, 0x09, 0x18, 0x2c, 0x05, 0x15, 
	0x93, 0x6d, 0xb1, 0x64, 0xc4, 0x04, 0x0f, 0x56, 0x56, 0x0f, 0x04, 0xc4, 0x64, 0xb1, 0x6d, 0x93, 
	0x5b, 0x5b, 0x01, 0xaa, 0x62, 0x2d, 0x50, 0x2d, 0x50, 0x50, 0x50, 0x62, 0x9f, 0x01, 0x5b, 0x5b, 
	0x2b, 0x2b, 0x2b, 0xaa, 0xf0, 0x6b, 0x0b, 0x6b, 0x0b, 0x45, 0x6b, 0xf0, 0x9d, 0x2b, 0x2b, 0x2b, 
	0x2a, 0x2a, 0x2a, 0x86, 0xa7, 0x10, 0x1a, 0x10, 0x10, 0x1a, 0x10, 0xa7, 0x86, 0x2a, 0x2a, 0x2a, 
	0x02, 0x02, 0x02, 0x02, 0x16, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x16, 0x02, 0x02, 0x02, 0x02, 
	0x59, 0xbb, 0xbb, 0x9d, 0x84, 0x1b, 0x17, 0x17, 0x17, 0x17, 0x1b, 0x84, 0x9d, 0xbb, 0xbb, 0x59, 
	0x78, 0x3a, 0x78, 0x86, 0xa4, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0xa7, 0xf2, 0x78, 0x3a, 0x3a, 
	0x02, 0x02, 0x02, 0x02, 0x16, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 
	0x82, 0x57, 0x63, 0x7c, 0x66, 0xb5, 0x2e, 0x2e, 0x2e, 0x2e, 0x17, 0x6c, 0x9d, 0x57, 0x7e, 0x7e, 
	0x01, 0x03, 0x0c, 0xd6, 0x96, 0xff, 0x23, 0x45, 0x1b, 0x11, 0x34, 0xca, 0x8b, 0x13, 0x0e, 0x01, 
	0x01, 0x2f, 0x0c, 0xe5, 0xaa, 0xcd, 0x1a, 0xb2, 0xc0, 0xb2, 0xa7, 0x90, 0x26, 0x0c, 0x03, 0x01, 
	0x01, 0x0a, 0x06, 0x03, 0xf1, 0xaf, 0x8e, 0x38, 0x38, 0x38, 0xe9, 0x68, 0x9c, 0xe5, 0x03, 0x01, 
	0x01, 0x0a, 0x13, 0xa5, 0x16, 0x38, 0x9b, 0xa0, 0x3c, 0xa0, 0xfe, 0x8e, 0xef, 0x57, 0x03, 0x01, 
	0x01, 0x44, 0x0e, 0x37, 0xaf, 0x9b, 0xa3, 0x1e, 0x1e, 0x1e, 0xa3, 0x72, 0x68, 0x7c, 0x0e, 0x01, 
	0x01, 0x01, 0x71, 0x37, 0xaf, 0x72, 0x3c, 0x1e, 0x1e, 0x1e, 0x3c, 0x72, 0x68, 0x7c, 0x71, 0x01, 
};
static unsigned char chest_St2best_t_txt[] = {
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x44, 0x0a, 0x0a, 0x0a, 0x0a, 0x0e, 0x0a, 
	0xc7, 0x44, 0x30, 0x30, 0x0a, 0x0a, 0x0a, 0x0a, 0x03, 0x06, 0x06, 0x06, 0x06, 0xe4, 0x30, 0x59, 
	0xf1, 0x37, 0x57, 0x06, 0x06, 0x03, 0x06, 0x76, 0x3e, 0x76, 0x76, 0x3e, 0xc1, 0x9c, 0xd4, 0xd4, 
	0x7f, 0x98, 0x86, 0x30, 0x0c, 0x0c, 0x0c, 0x5a, 0x5a, 0x5a, 0x0c, 0xac, 0xef, 0x3f, 0xe6, 0x6a, 
	0x38, 0x65, 0x3f, 0xa5, 0x1f, 0x1f, 0x5e, 0x25, 0x25, 0x1f, 0xb0, 0xef, 0xa4, 0x1a, 0x14, 0x58, 
	0x1e, 0x8e, 0x8c, 0xf2, 0x1f, 0x46, 0x46, 0x46, 0x46, 0x21, 0xd4, 0x8c, 0xb2, 0xe9, 0xea, 0xdb, 
	0x1e, 0xa0, 0x6a, 0xd4, 0xf4, 0xfb, 0xfb, 0x47, 0xf7, 0x83, 0x40, 0x10, 0x58, 0xdb, 0x14, 0x39, 
	0x1e, 0x3c, 0x1d, 0xf2, 0x1f, 0x47, 0x47, 0x47, 0xf4, 0x7e, 0xa1, 0xb2, 0xe2, 0x39, 0x14, 0x14, 
	0x1e, 0x3c, 0x1d, 0x91, 0xf1, 0x37, 0x37, 0x37, 0x37, 0xb8, 0xd2, 0x14, 0xe2, 0x39, 0x14, 0x14, 
	0x3c, 0x38, 0x6a, 0xd4, 0x3a, 0xa5, 0xa6, 0xa5, 0xa6, 0xf1, 0xa1, 0xc0, 0xea, 0x39, 0x14, 0x14, 
	0x38, 0x70, 0x3f, 0x3a, 0xf4, 0x8a, 0x47, 0x8a, 0xf7, 0x57, 0xa1, 0x1c, 0xe9, 0x6f, 0x39, 0x14, 
	0x7f, 0x98, 0xd4, 0x30, 0x25, 0x46, 0x8a, 0x46, 0x46, 0xdd, 0xf1, 0x8c, 0x65, 0x14, 0x58, 0x58, 
	0xf1, 0x9c, 0x30, 0x0c, 0x5a, 0x5e, 0x25, 0x25, 0x25, 0x25, 0xc1, 0xd4, 0x3f, 0x43, 0x65, 0x65, 
	0x71, 0x26, 0x06, 0x03, 0x03, 0xda, 0x03, 0xda, 0x03, 0x06, 0x13, 0xc9, 0x37, 0xd4, 0x40, 0x9e, 
	0x0e, 0x26, 0x0e, 0x0e, 0x26, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x26, 0x0e, 0x0e, 0xc9, 0x81, 0x81, 
};
static unsigned char chest_St2hara_txt[] = {
	0x04, 0x04, 0x29, 0x09, 0x28, 0xab, 0x15, 0x15, 0x05, 0x05, 0x07, 0x00, 0x08, 0x08, 0x08, 0x00, 
	0x04, 0x04, 0x04, 0x04, 0x09, 0xab, 0x07, 0x00, 0x05, 0x05, 0x07, 0x00, 0x08, 0x08, 0x73, 0x08, 
	0x09, 0x0f, 0x04, 0x04, 0x0f, 0xab, 0x05, 0x00, 0x00, 0x00, 0x05, 0x07, 0x00, 0x08, 0x08, 0x08, 
	0x20, 0x20, 0x0f, 0x18, 0x18, 0xab, 0x41, 0x07, 0x00, 0x08, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 
	0x04, 0x28, 0x56, 0x04, 0x19, 0xab, 0x74, 0x41, 0x05, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 
	0x04, 0x19, 0x04, 0x09, 0x18, 0x2c, 0x0d, 0x15, 0x05, 0x05, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 
	0xb9, 0x04, 0x18, 0x28, 0x09, 0xb4, 0x33, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x00, 0x00, 0x8f, 
	0x20, 0x20, 0x29, 0x0f, 0x64, 0xab, 0x41, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x0f, 0x0f, 0x09, 0x29, 0x18, 0xb4, 0xe0, 0x74, 0x15, 0x05, 0x05, 0x00, 0x00, 0x00, 0x00, 0x07, 
	0x18, 0x19, 0x04, 0x04, 0x04, 0xab, 0x07, 0x15, 0x05, 0x05, 0x05, 0x07, 0x07, 0x07, 0x07, 0x05, 
	0x09, 0x04, 0x0f, 0x28, 0x29, 0xab, 0x74, 0x41, 0x07, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 
	0x09, 0x20, 0x09, 0x29, 0x04, 0xb4, 0x00, 0x05, 0x08, 0x08, 0x00, 0x00, 0x07, 0x00, 0x00, 0x07, 
	0x0f, 0x0f, 0x28, 0x09, 0x09, 0xab, 0x00, 0x00, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x09, 0x28, 0x04, 0x19, 0x19, 0x2c, 0x33, 0x07, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 
	0x04, 0x04, 0x04, 0x04, 0x04, 0xab, 0x05, 0x05, 0x00, 0x73, 0x73, 0x08, 0x8f, 0x00, 0x00, 0x00, 
	0x56, 0x20, 0xb9, 0x09, 0x29, 0xb1, 0xe0, 0x41, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x05, 0x05, 
};
static unsigned short chest_tlut[] = {
	0x527f, 0xb08d, 0x2109, 0xb911, 0xba99, 0x4a3f, 0xb953, 0x4a7f, 
	0x5abf, 0xaa57, 0xb0cf, 0x3167, 0xc195, 0x4a3d, 0xb8cf, 0xb299, 
	0x2117, 0x3165, 0x39a3, 0xc153, 0x39d3, 0x423f, 0x210b, 0x2963, 
	0xc299, 0xcadb, 0x2115, 0x2965, 0x2119, 0x211b, 0x83a3, 0xc9d7, 
	0xa257, 0xc193, 0x5a79, 0x31a7, 0x2107, 0xca19, 0xb90f, 0xb9d3, 
	0xb257, 0xb297, 0x6889, 0xb88b, 0xaaa1, 0x39a1, 0x2961, 0xb111, 
	0xb10f, 0x2975, 0x2111, 0x527d, 0x2131, 0x3169, 0x292d, 0x6047, 
	0x62db, 0x3993, 0x7089, 0xba49, 0x7ba1, 0x2939, 0xc155, 0x0859, 
	0x18d1, 0x41ff, 0xc997, 0x18db, 0xb0cd, 0x2967, 0xd25b, 0xe2dd, 
	0x5239, 0xb209, 0x5279, 0x2933, 0x3177, 0x31a5, 0x2937, 0x2113, 
	0x399f, 0x20f3, 0x18c9, 0x18e7, 0x4155, 0xc111, 0x9a55, 0xa0cd, 
	0x41d3, 0xa88b, 0xc197, 0xa88f, 0x41fb, 0x1909, 0xc9d9, 0x210d, 
	0x29a7, 0x2923, 0x20eb, 0xa8cd, 0xaa55, 0x2957, 0x18e5, 0x2133, 
	0x290d, 0x527b, 0x18d9, 0x2969, 0x18e9, 0x5a7b, 0x2977, 0x39d5, 
	0x39d7, 0xb88d, 0x62dd, 0x62ff, 0x39ff, 0x2931, 0xb955, 0xb9d1, 
	0x7889, 0x315f, 0x41f7, 0xba9b, 0x8889, 0x925d, 0x988b, 0x210f, 
	0x9a57, 0xa089, 0xa08b, 0xa0cb, 0x18ef, 0x211f, 0x4889, 0xa88d, 
	0x3175, 0xd503, 0xda9d, 0xa8cb, 0x085b, 0x299d, 0x5299, 0x52bf, 
	0x58cf, 0x18cb, 0x30c5, 0x5a7d, 0x30d5, 0x3111, 0x311b, 0x3127, 
	0x0897, 0x3163, 0x688d, 0x6b1d, 0x7049, 0x704b, 0x18d3, 0x708b, 
	0x7361, 0x1057, 0x78cb, 0x7b61, 0x105d, 0x80cb, 0x810d, 0x18dd, 
	0x18e1, 0x88cb, 0x88cd, 0x8a1f, 0x9089, 0x90cb, 0x318b, 0x3191, 
	0x98cb, 0x9a1b, 0x3193, 0x31a3, 0x9a5d, 0x2127, 0x2129, 0x31b7, 
	0x38c5, 0xa255, 0x3917, 0xa84b, 0x3957, 0x395b, 0x398d, 0x212d, 
	0x3995, 0xa90d, 0x399b, 0x399d, 0xaa59, 0x1085, 0xab85, 0xb08b, 
	0x1087, 0xb0cb, 0x28e5, 0x39b9, 0x39cb, 0x10a3, 0xb151, 0xb1c9, 
	0x10cd, 0x1907, 0x10d3, 0x3a11, 0x4049, 0x40c9, 0xb8cb, 0x4153, 
	0x20dd, 0x2935, 0xb913, 0x41d5, 0x20e3, 0xb993, 0x41f9, 0x20e5, 
	0x41fd, 0x10d7, 0x4215, 0x295d, 0xc113, 0xc151, 0x10db, 0x48c5, 
	0x4913, 0x4a15, 0x4a17, 0x4a39, 0xc4c3, 0xc995, 0x2105, 0x1889, 
	0x18b1, 0x5005, 0x508b, 0xcd81, 0xd217, 0x50c7, 0x18c5, 0xda5b, 
	0x2971, 0xde01, 0x18c7, 0xe2df, 0xf741, 0x31b5, 0x6add, 0x2135, 
};

/*---------------------------------------------------------------------------*/






#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_2b_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_St2hara_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2b_v[0], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(0, 3, 1, 0),

	gs_Nin_LoadTextureImage(chest_St2best_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2b_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,32,16,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_St2best_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_2b_v[9], 5, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(1, 3, 2, 0),
	gsSP1Triangle(3, 1, 4, 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_St2best_s_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2b_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_St2best_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2b_v[20], 4, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSPEndDisplayList(),
};

Gfx *ManChest_2b_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 24 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/



/*   0 vertices */
/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 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  */






#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_2c_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_St2hara_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2c_v[0], 3, 0),
	gsSP1Triangle(0, 1, 2, 0),

	gs_Nin_LoadTextureImage(chest_St2best_b_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2c_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,32,16,0,0,G_TX_CLAMP,5,0,G_TX_CLAMP,4,0),
	gs_Nin_LoadTextureImage(chest_St2best_f_txt,G_IM_FMT_CI,G_IM_SIZ_8b,32,16,0,7),

	gsSPVertex(&ManChest_2c_v[7], 6, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSP1Triangle(2, 3, 0, 0),
	gsSP1Triangle(0, 4, 5, 0),
	gsSP1Triangle(5, 1, 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_St2best_t_txt,G_IM_FMT_CI,G_IM_SIZ_8b,16,16,0,7),

	gsSPVertex(&ManChest_2c_v[13], 3, 0),
	gsSP1Triangle(0, 1, 2, 0),
	gsSPEndDisplayList(),
};

Gfx *ManChest_2c_modelT = NULL;

#undef G_CC_PRIMSHADE

#undef gs_Nin_LoadTextureImage

#undef gs_Nin_SetUpTileDescrip

/* 16 vertices */

/******************************************************************************
	vertex & texture
******************************************************************************/



/*   0 vertices */
/* 16 x 16  G_IM_SIZ_16b G_IM_FMT_RGBA  */

/* 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  */






