/* ZO_tori */
#include<ultra64.h>
#include"../../source/sys_skeleton.h"
extern Gfx ZO_tori_L_wing_1[];
extern Gfx ZO_tori_L_wing_2[];
extern Gfx ZO_tori_L_wing_3[];
extern Gfx ZO_tori_R_wing_1[];
extern Gfx ZO_tori_R_wing_2[];
extern Gfx ZO_tori_R_wing_3[];
extern Gfx ZO_tori_body[];
extern Gfx ZO_tori_head[];
extern Gfx ZO_tori_tail_1[];
extern Gfx ZO_tori_tail_2[];
extern Gfx ZO_tori_tail_3[];
static short ZO_tori_prm[]={
	    0,16382,16387,16382,-2004,-1612,-1216, -819,
	 -425,  -37,  340,  707, 1057, 1388, 1697, 1980,
	 2234, 2455, 2641, 2788, 2892, 2951, 2961, 2916,
	 2817, 2669, 2476, 2242, 1970, 1666, 1333,  974,
	  594,  198, -210, -629,-1052,-1476,-1896,-2310,
	-2712,-3099,-3466,-3810,-4127,-4412,-4661,-4871,
	-5038,-5157,-5224,-5236,-5196,-5109,-4979,-4808,
	-4601,-4359,-4088,-3789,-3466,-3123,-2763,-2389,
	 -801, -553, -311,  -74,  152,  369,  573,  762,
	  934, 1087, 1219, 1327, 1411, 1466, 1493, 1487,
	 1446, 1372, 1268, 1137,  980,  802,  603,  386,
	  155,  -87, -340, -601, -866,-1133,-1400,-1664,
	-1922,-2173,-2412,-2639,-2850,-3043,-3215,-3363,
	-3486,-3581,-3644,-3674,-3669,-3633,-3569,-3477,
	-3361,-3222,-3063,-2885,-2691,-2483,-2262,-2032,
	-1793,-1549,-1300,-1050,-32625,-32618,-32600,-32571,
	-32532,-32482,-32424,-32357,-32282,-32201,-32113,-32020,
	-31922,-31819,-31713,-31605,-31494,-31382,-31269,-31156,
	-31044,-30933,-30824,-30718,-30616,-30518,-30424,-30337,
	-30255,-30181,-30114,-30055,-30006,-29966,-29937,-29919,
	-29913,-29927,-29966,-30029,-30114,-30217,-30337,-30470,
	-30616,-30771,-30933,-31100,-31269,-31438,-31605,-31767,
	-31922,-32067,-32201,-32321,-32424,-32508,-32571,-32611,
	-32767,-29353,-28996,-28708,-28498,-28372,-28336,-28382,
	-28500,-28684,-28930,-29233,-29588,-29990,-30434,-30915,
	-31430,-31972,-32537,32413,31817,31212,30604,29997,
	29396,28805,28231,27678,27149,26651,26189,25766,
	25388,25060,24786,24571,24421,24340,24334,24417,
	24588,24839,25164,25555,26005,26509,27058,27647,
	28268,28915,29580,30257,30939,31620,32292,-32585,
	-31951,-31346,-30776,-30250,-29773,-32767,-32767,-29380,
	-29403,-29471,-29580,-29727,-29908,-30121,-30362,-30627,
	-30914,-31219,-31539,-31870,-32210,-32555,32632,32288,
	31948,31617,31297,30992,30705,30439,30199,29986,
	29804,29657,29548,29481,29457,29478,29537,29633,
	29763,29924,30113,30327,30565,30823,31098,31388,
	31691,32002,32321,32643,-32566,-32243,-31925,-31613,
	-31311,-31020,-30745,-30487,-30250,-30035,-29846,-29685,
	-29556,-29460,-29400,-32767,-32767,-20603,-20909,-21321,
	-21830,-22427,-23102,-23846,-24651,-25506,-26403,-27333,
	-28285,-29251,-30222,-31188,-32141,32463,31566,30710,
	29906,29161,28486,27889,27380,26969,26663,26473,
	26407,26465,26632,26901,27264,27715,28245,28847,
	29513,30236,31009,31822,32670,-31989,-31095,-30191,
	-29283,-28378,-27485,-26611,-25763,-24949,-24177,-23454,
	-22788,-22186,-21656,-21205,-20841,-20572,-20405,-20348,
	-20413,-32767, 3378, 3737, 4026, 4237, 4364, 4400,
	 4354, 4235, 4050, 3803, 3499, 3142, 2738, 2292,
	 1808, 1291,  747,  179, -406,-1005,-1613,-2224,
	-2834,-3438,-4031,-4608,-5165,-5695,-6196,-6661,
	-7086,-7465,-7795,-8071,-8286,-8437,-8519,-8525,
	-8441,-8269,-8017,-7691,-7298,-6845,-6339,-5787,
	-5195,-4571,-3922,-3253,-2572,-1887,-1203, -528,
	  131,  768, 1376, 1948, 2477, 2956, 3392, 3369,
	 3304, 3198, 3055, 2878, 2672, 2438, 2180, 1901,
	 1604, 1293,  971,  641,  306,  -29, -364, -694,
	-1016,-1327,-1624,-1903,-2161,-2395,-2602,-2778,
	-2921,-3027,-3093,-3115,-3095,-3037,-2944,-2818,
	-2662,-2478,-2270,-2039,-1788,-1520,-1238, -945,
	 -642, -332,  -18,  295,  609,  918, 1221, 1515,
	 1797, 2065, 2315, 2546, 2755, 2939, 3095, 3221,
	 3314, 3372,12145,11838,11425,10915,10316, 9638,
	 8891, 8084, 7226, 6326, 5393, 4438, 3468, 2494,
	 1525,  569, -362,-1262,-2120,-2928,-3675,-4352,
	-4951,-5461,-5875,-6181,-6372,-6438,-6380,-6213,
	-5943,-5578,-5126,-4594,-3990,-3321,-2596,-1821,
	-1005, -154,  722, 1618, 2526, 3437, 4345, 5241,
	 6118, 6968, 7785, 8560, 9285, 9953,10557,11089,
	11541,11906,12176,12344,12402,12336,-17318,-16383,
	  562,17318,16383,  562, -372, 2700, 2840, 2944,
	 3012, 3039, 3021, 2957, 2850, 2703, 2519, 2303,
	 2057, 1785, 1490, 1176,  846,  503,  152, -204,
	 -563, -921,-1274,-1620,-1953,-2272,-2573,-2851,
	-3105,-3330,-3523,-3681,-3800,-3876,-3907,-3892,
	-3836,-3741,-3611,-3449,-3257,-3037,-2794,-2529,
	-2246,-1947,-1635,-1313, -983, -649, -313,   21,
	  352,  677,  992, 1295, 1583, 1854, 2103, 2329,
	 2529,-1121,-1196,-1243,-1260,-1256,-1243,-1223,
	-1196,-1161,-1121,-1074,-1021, -964, -901, -835,
	 -764, -690, -613, -534, -452, -369, -284, -199,
	 -113,  -27,   58,  143,  226,  308,  387,  464,
	  538,  608,  675,  737,  795,  847,  894,  935,
	  969,  997, 1017, 1029, 1034, 1017,  969,  894,
	  795,  675,  538,  387,  226,   58, -113, -284,
	 -452, -613, -764, -901,-1021,};
static unsigned short ZO_tori_tbl[]={
	    1,    0,	/* chn6_1_2translate x */
	    1,    0,	/* chn6_1_2 translate y */
	    1,    0,	/* chn6_1_2 translate z */
	    1,    1,	/* chn6_1_2 rotate x */
	    1,    2,	/* chn6_1_2 rotate y */
	    1,    3,	/* chn6_1_2 rotate z */
	    1,    0,	/* cone2_3 rotate x */
	    1,    0,	/* cone2_3 rotate y */
	   60,    4,	/* cone2_3 rotate z */
	    1,    0,	/* cone2_2 rotate x */
	    1,    0,	/* cone2_2 rotate y */
	   60,   64,	/* cone2_2 rotate z */
	    1,    0,	/* cube4_1 rotate x */
	    1,    0,	/* cube4_1 rotate y */
	   60,  124,	/* cube4_1 rotate z */
	    1,  184,	/* face16 rotate x */
	   60,  185,	/* face16 rotate y */
	    1,  245,	/* face16 rotate z */
	    1,  246,	/* face17 rotate x */
	   60,  247,	/* face17 rotate y */
	    1,  307,	/* face17 rotate z */
	    1,  308,	/* face18 rotate x */
	   60,  309,	/* face18 rotate y */
	    1,  369,	/* face18 rotate z */
	    1,    0,	/* face13 rotate x */
	   60,  370,	/* face13 rotate y */
	    1,    0,	/* face13 rotate z */
	    1,    0,	/* face14 rotate x */
	   60,  430,	/* face14 rotate y */
	    1,    0,	/* face14 rotate z */
	    1,    0,	/* face15 rotate x */
	   60,  490,	/* face15 rotate y */
	    1,    0,	/* face15 rotate z */
	    1,  550,	/* chn7 rotate x */
	    1,  551,	/* chn7 rotate y */
	    1,  552,	/* chn7 rotate z */
	    1,  553,	/* chn9 rotate x */
	    1,  554,	/* chn9 rotate y */
	    1,  555,	/* chn9 rotate z */
	    1,    0,	/* chn10_3 rotate x */
	    1,    0,	/* chn10_3 rotate y */
	    1,  556,	/* chn10_3 rotate z */
	    1,    0,	/* cone2 rotate x */
	    1,    0,	/* cone2 rotate y */
	   60,  557,	/* cone2 rotate z */
	    1,    0,	/* cone1 rotate x */
	    1,    0,	/* cone1 rotate y */
	   60,  617,	/* cone1 rotate z */
};
AnimeRecord ZO_tori_anm={
	60,
	15,
	ZO_tori_prm,
	ZO_tori_tbl
};
static SkeletonRecord cone2_3[1]=
	{ZO_tori_tail_3,45.654999,0.000000,0.000000,0,0,-2389,NULL,NULL};
static SkeletonRecord cone2_2[1]=
	{ZO_tori_tail_2,36.523998,0.000000,0.000000,0,0,-1050,NULL,cone2_3};
static SkeletonRecord cube4_1[1]=
	{ZO_tori_head,0.000000,0.000000,0.000000,0,0,-32611,NULL,NULL};
static SkeletonRecord face16[1]=
	{ZO_tori_R_wing_3,31.959000,0.000000,0.000000,-32767,-29773,-32767,NULL,NULL};
static SkeletonRecord face17[1]=
	{ZO_tori_R_wing_2,41.090000,0.000000,0.000000,-32767,-29400,-32767,NULL,face16};
static SkeletonRecord face18[1]=
	{ZO_tori_R_wing_1,0.000000,0.000000,0.000000,-32767,-20413,-32767,NULL,face17};
static SkeletonRecord face13[1]=
	{ZO_tori_L_wing_3,31.959000,0.000000,0.000000,0,2956,0,NULL,NULL};
static SkeletonRecord face14[1]=
	{ZO_tori_L_wing_2,41.090000,0.000000,0.000000,0,3372,0,NULL,face13};
static SkeletonRecord face15[1]=
	{ZO_tori_L_wing_1,0.000000,0.000000,0.000000,0,12336,0,NULL,face14};
static SkeletonRecord chn7[1]=
	{NULL,-9.125000,0.326000,4.566000,-17318,-16383,562,NULL,face15};
static SkeletonRecord chn9[1]=
	{NULL,-9.125000,0.326000,-4.566000,17318,16383,562,chn7,face18};
static SkeletonRecord chn10_3[1]=
	{NULL,-31.051001,1.148000,0.000000,0,0,-372,chn9,cube4_1};
static SkeletonRecord cone2[1]=
	{ZO_tori_tail_1,54.786999,0.000000,0.000000,0,0,2529,chn10_3,cone2_2};
static SkeletonRecord cone1[1]=
	{ZO_tori_body,0.000000,0.000000,0.000000,0,0,-1021,NULL,cone2};
static SkeletonRecord chn6_1_2[1]=
	{NULL,0.000000,0.000000,0.000000,16382,16387,16382,NULL,cone1};
SkeletonPtr ZO_tori_list[]={
	chn6_1_2,
	cone2_3,
	cone2_2,
	cube4_1,
	face16,
	face17,
	face18,
	face13,
	face14,
	face15,
	chn7,
	chn9,
	chn10_3,
	cone2,
	cone1,
	NULL
};
