/* DEMO_Fox_run */
#include<ultra64.h>
#include"../../source/sys_skeleton.h"
extern Gfx DEMO_Fox_ago[];
extern Gfx DEMO_Fox_arm01[];
extern Gfx DEMO_Fox_arm02[];
extern Gfx DEMO_Fox_arm03[];
extern Gfx DEMO_Fox_arm04[];
extern Gfx DEMO_Fox_arm05[];
extern Gfx DEMO_Fox_arm06[];
extern Gfx DEMO_Fox_body[];
extern Gfx DEMO_Fox_head[];
extern Gfx DEMO_Fox_kosi[];
extern Gfx DEMO_Fox_reg01[];
extern Gfx DEMO_Fox_reg02[];
extern Gfx DEMO_Fox_reg03[];
extern Gfx DEMO_Fox_reg04[];
extern Gfx DEMO_Fox_reg05[];
extern Gfx DEMO_Fox_reg06[];
static short DEMO_Fox_run_prm[]={
	    0,  156,-32262,-32767,-32767,32750,32700,32621,
	32515,32383,32228,32054,31861,31653,31431,31199,
	30959,30712,30462,30211,29961,29714,29473,29241,
	29020,28812,28619,28444,28290,28158,28051,27972,
	27923,27906,27921,27964,28034,28128,28245,28382,
	28538,28710,28897,29097,29308,29527,29753,29985,
	30219,30454,30688,30919,31145,31365,31575,31775,
	31962,32135,32291,32428,32545,32639,32708,32752,
	-32626, 7342, 7372, 7458, 7596, 7782, 8012, 8282,
	 8587, 8924, 9288, 9675,10080,10500,10931,11368,
	11807,12244,12674,13094,13500,13887,14251,14587,
	14892,15162,15392,15579,15717,15803,15832,15806,
	15731,15609,15445,15241,15001,14729,14428,14101,
	13752,13384,13001,12605,12202,11793,11382,10973,
	10569,10174, 9791, 9423, 9074, 8747, 8445, 8173,
	 7934, 7730, 7565, 7444, 7368,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71,  -71,  -71,  -71,  -71,  -71,  -71,  -71,
	  -71, 1970, 1963, 1941, 1907, 1861, 1804, 1737,
	 1662, 1579, 1490, 1396, 1297, 1195, 1090,  985,
	  879,  775,  673,  574,  479,  390,  307,  232,
	  166,  109,   63,   28,    7,    0,    5,   22,
	   48,   84,  129,  181,  241,  307,  379,  457,
	  538,  623,  711,  801,  893,  985, 1077, 1169,
	 1259, 1347, 1432, 1513, 1590, 1662, 1729, 1788,
	 1841, 1885, 1921, 1948, 1965,-6614,-6560,-6402,
	-6149,-5809,-5389,-4897,-4342,-3731,-3073,-2375,
	-1645, -891, -121,  656, 1433, 2203, 2957, 3687,
	 4385, 5043, 5654, 6209, 6701, 7121, 7461, 7714,
	 7872, 7926, 7885, 7763, 7567, 7302, 6972, 6584,
	 6143, 5654, 5123, 4554, 3953, 3325, 2677, 2012,
	 1336,  656,  -24, -700,-1364,-2013,-2641,-3241,
	-3810,-4342,-4831,-5272,-5660,-5989,-6255,-6451,
	-6572,-19819,-19807,-19771,-19715,-19638,-19544,-19434,
	-19310,-19173,-19026,-18870,-18706,-18537,-18365,-18191,
	-18017,-17844,-17676,-17512,-17356,-17208,-17072,-16947,
	-16837,-16743,-16667,-16610,-16575,-16563,-16572,-16599,
	-16643,-16703,-16776,-16863,-16962,-17072,-17191,-17318,
	-17453,-17593,-17738,-17887,-18038,-18191,-18343,-18494,
	-18643,-18789,-18929,-19064,-19191,-19310,-19420,-19518,
	-19605,-19679,-19738,-19782,-19809,-5799,-5786,-5751,
	-5693,-5616,-5520,-5408,-5282,-5142,-4991,-4830,
	-4662,-4487,-4308,-4127,-3945,-3763,-3585,-3410,
	-3242,-3081,-2930,-2790,-2664,-2552,-2456,-2379,
	-2321,-2286,-2273,-2284,-2315,-2366,-2434,-2519,
	-2618,-2731,-2856,-2992,-3137,-3290,-3449,-3613,
	-3781,-3951,-4121,-4291,-4459,-4623,-4782,-4935,
	-5080,-5215,-5341,-5454,-5553,-5638,-5706,-5756,
	-5788,  140,-13871,-13850,-13787,-13686,-13549,-13381,
	-13183,-12960,-12713,-12447,-12164,-11867,-11559,-11244,
	-10924,-10603,-10283,-9967,-9660,-9363,-9080,-8813,
	-8567,-8343,-8146,-7977,-7841,-7740,-7677,-7655,
	-7674,-7729,-7819,-7939,-8088,-8264,-8463,-8683,
	-8923,-9178,-9448,-9728,-10018,-10314,-10613,-10914,
	-11213,-11509,-11798,-12079,-12348,-12604,-12843,-13064,
	-13263,-13439,-13588,-13708,-13797,-13852,  -71, 2918,
	 2908, 2878, 2831, 2767, 2688, 2595, 2490, 2374,
	 2249, 2116, 1977, 1833, 1684, 1534, 1383, 1233,
	 1085,  941,  801,  668,  543,  428,  323,  230,
	  151,   87,   39,   10,    0,    8,   34,   76,
	  133,  203,  285,  379,  482,  595,  715,  841,
	  973, 1109, 1248, 1388, 1529, 1670, 1809, 1945,
	 2076, 2203, 2323, 2435, 2539, 2632, 2715, 2785,
	 2841, 2883, 2909,-8600,-8547,-8391,-8140,-7803,
	-7386,-6898,-6344,-5735,-5076,-4375,-3640,-2879,
	-2099,-1308, -512,  278, 1058, 1819, 2554, 3255,
	 3914, 4523, 5076, 5565, 5982, 6319, 6570, 6725,
	 6779, 6732, 6595, 6375, 6077, 5708, 5274, 4781,
	 4235, 3643, 3010, 2344, 1649,  933,  202, -538,
	-1282,-2023,-2754,-3471,-4165,-4831,-5464,-6056,
	-6602,-7095,-7529,-7898,-8196,-8416,-8553,-20454,
	-20440,-20401,-20337,-20252,-20147,-20023,-19883,-19729,
	-19562,-19385,-19199,-19006,-18809,-18609,-18408,-18207,
	-18010,-17818,-17632,-17454,-17288,-17133,-16994,-16870,
	-16764,-16679,-16616,-16576,-16563,-16575,-16609,-16665,
	-16740,-16834,-16944,-17068,-17206,-17356,-17516,-17685,
	-17861,-18042,-18227,-18414,-18602,-18790,-18975,-19156,
	-19332,-19500,-19660,-19810,-19948,-20073,-20183,-20276,
	-20351,-20407,-20442,-12617,-12762,-13167,-13789,-14584,
	-15510,-16522,-17578,-18633,-19644,-20569,-21362,-21982,
	-22384,-22526,-22400,-22053,-21517,-20827,-20014,-19113,
	-18157,-17179,-16212,-15290,-14446,-13713,-13124,-12713,
	-12513,-12536,-12752,-13132,-13648,-14271,-14971,-15721,
	-16490,-17252,-17975,-18633,-19195,-19633,-19919,-20022,
	-19942,-19709,-19346,-18873,-18313,-17687,-17018,-16326,
	-15635,-14965,-14338,-13777,-13302,-12936,-12700,10103,
	10216,10533,11017,11628,12332,13090,13866,14623,
	15323,15929,16404,16711,16813,16673,16260,15591,
	14709,13654,12466,11186, 9853, 8509, 7194, 5948,
	 4812, 3827, 3032, 2468, 2176, 2066, 2020, 2034,
	 2104, 2225, 2394, 2606, 2858, 3145, 3463, 3808,
	 4176, 4562, 4964, 5377, 5796, 6217, 6638, 7052,
	 7457, 7848, 8221, 8573, 8898, 9193, 9454, 9676,
	 9857, 9991,10074,-7237,-7323,-7571,-7970,-8508,
	-9172,-9951,-10832,-11804,-12854,-13971,-15142,-16355,
	-17598,-18859,-20126,-21388,-22631,-23844,-25015,-26131,
	-27181,-28153,-29035,-29813,-30478,-31015,-31414,-31663,
	-31748,-31673,-31455,-31104,-30629,-30041,-29349,-28563,
	-27694,-26750,-25742,-24680,-23573,-22432,-21266,-20086,
	-18900,-17719,-16553,-15412,-14306,-13244,-12236,-11292,
	-10422,-9637,-8945,-8356,-7882,-7530,-7312,-16268,
	-16324,-16482,-16724,-17032,-17388,-17774,-18173,-18566,
	-18936,-19265,-19535,-19728,-19827,-19814,-19671,-19406,
	-19040,-18593,-18085,-17536,-16966,-16396,-15845,-15334,
	-14882,-14511,-14239,-14088,-14077,-14229,-14535,-14973,
	-15518,-16147,-16835,-17559,-18296,-19021,-19711,-20341,
	-20889,-21330,-21640,-21795,-21796,-21666,-21425,-21091,
	-20680,-20212,-19704,-19173,-18638,-18116,-17626,-17184,
	-16810,-16521,-16334, 1759, 1780, 1842, 1943, 2080,
	 2253, 2457, 2692, 2954, 3243, 3555, 3889, 4243,
	 4614, 5000, 5398, 5808, 6227, 6652, 7081, 7513,
	 7945, 8375, 8800, 9219, 9630,10030,10418,10790,
	11146,11540,12019,12563,13151,13765,14385,14991,
	15563,16083,16530,16884,17126,17237,17197,16986,
	16549,15868,14981,13926,12739,11459,10122, 8767,
	 7431, 6151, 4965, 3911, 3025, 2347, 1912,-31018,
	-30936,-30697,-30313,-29796,-29157,-28408,-27561,-26626,
	-25616,-24542,-23416,-22250,-21054,-19841,-18623,-17410,
	-16214,-15048,-13922,-12848,-11838,-10903,-10056,-9307,
	-8668,-8151,-7767,-7528,-7446,-7518,-7728,-8066,
	-8522,-9088,-9753,-10509,-11345,-12253,-13222,-14244,
	-15308,-16405,-17526,-18662,-19802,-20938,-22059,-23156,
	-24220,-25242,-26211,-27119,-27955,-28711,-29376,-29942,
	-30398,-30736,-30946, 8191,16383,-8191,-16383, 8253,
	16383,-8253,-32767,-16383, 8253,16383,-8253,-7624,
	-7577,-7440,-7220,-6924,-6558,-6129,-5643,-5108,
	-4529,-3914,-3269,-2601,-1916,-1221, -523,  171,
	  856, 1524, 2169, 2784, 3363, 3898, 4384, 4813,
	 5179, 5475, 5695, 5831, 5879, 5837, 5717, 5524,
	 5262, 4938, 4557, 4124, 3645, 3125, 2570, 1984,
	 1375,  746,  104, -546,-1199,-1849,-2492,-3120,
	-3730,-4315,-4870,-5390,-5869,-6302,-6683,-7007,
	-7269,-7463,-7583, 2013, 2013, 2013, 2013, 2013,
	 2013, 2012, 2012, 2012, 2012, 2012, 2011, 2011,
	 2011, 2010, 2010, 2010, 2009, 2009, 2009, 2009,
	 2008, 2008, 2008, 2008, 2008, 2007, 2007, 2007,
	 2007, 2007, 2007, 2007, 2008, 2008, 2008, 2008,
	 2008, 2008, 2009, 2009, 2009, 2009, 2010, 2010,
	 2010, 2011, 2011, 2011, 2011, 2012, 2012, 2012,
	 2012, 2013, 2013, 2013, 2013, 2013, 2013, -754,
	 -748, -732, -706, -672, -629, -579, -522, -459,
	 -391, -319, -244, -166,  -85,   -4,   77,  158,
	  238,  317,  392,  464,  532,  595,  651,  702,
	  745,  779,  805,  821,  827,  822,  808,  785,
	  754,  716,  672,  621,  565,  504,  439,  371,
	  299,  226,  150,   74,   -1,  -78, -153, -226,
	 -298, -366, -431, -492, -548, -599, -644, -682,
	 -712, -735, -749, 5653, 5610, 5486, 5286, 5017,
	 4684, 4295, 3854, 3367, 2842, 2283, 1697, 1090,
	  468, -162, -796,-1428,-2050,-2657,-3243,-3801,
	-4327,-4813,-5254,-5644,-5976,-6246,-6445,-6569,
	-6612,-6575,-6466,-6290,-6052,-5758,-5412,-5018,
	-4583,-4111,-3607,-3075,-2521,-1950,-1367, -776,
	 -183,  407,  991, 1562, 2115, 2647, 3151, 3624,
	 4059, 4452, 4798, 5093, 5330, 5506, 5615, -124,
	  530,  525,  509,  485,  453,  415,  371,  324,
	  275,  225,  174,  125,   79,   37,    0,  -35,
	  -73, -112, -153, -193, -233, -272, -309, -344,
	 -375, -402, -424, -441, -451, -455, -451, -440,
	 -423, -400, -372, -340, -305, -268, -229, -188,
	 -148, -108,  -69,  -33,    0,   33,   71,  111,
	  154,  198,  242,  286,  329,  369,  407,  441,
	  471,  496,  514,  526,-3613,-3592,-3535,-3447,
	-3335,-3204,-3060,-2911,-2762,-2619,-2488,-2376,
	-2288,-2231,-2211,-2229,-2280,-2358,-2459,-2577,
	-2708,-2847,-2988,-3126,-3257,-3375,-3476,-3554,
	-3605,-3623,-3605,-3554,-3476,-3375,-3257,-3126,
	-2988,-2847,-2708,-2577,-2459,-2358,-2280,-2229,
	-2211,-2226,-2270,-2339,-2429,-2535,-2654,-2780,
	-2911,-3042,-3169,-3287,-3393,-3483,-3552,-3597,
	14954,14970,15016,15087,15181,15293,15419,15557,
	15701,15849,15996,16140,16275,16399,16507,16611,
	16721,16837,16955,17073,17191,17305,17413,17513,
	17604,17683,17748,17797,17828,17839,17828,17795,
	17745,17678,17597,17504,17402,17292,17177,17059,
	16941,16824,16712,16605,16507,16408,16298,16180,
	16055,15927,15798,15669,15545,15425,15315,15214,
	15127,15055,15000,14966,};
static unsigned short DEMO_Fox_run_tbl[]={
	    1,    0,	/* chn1translate x */
	    1,    1,	/* chn1 translate y */
	    1,    0,	/* chn1 translate z */
	    1,    0,	/* chn1 rotate x */
	    1,    0,	/* chn1 rotate y */
	    1,    0,	/* chn1 rotate z */
	    1,    0,	/* cube4 rotate x */
	    1,    0,	/* cube4 rotate y */
	    1,    2,	/* cube4 rotate z */
	    1,    3,	/* cube35 rotate x */
	   60,    4,	/* cube35 rotate y */
	    1,   64,	/* cube35 rotate z */
	    1,    0,	/* cube26 rotate x */
	   60,   65,	/* cube26 rotate y */
	   60,  125,	/* cube26 rotate z */
	   60,  185,	/* cube10 rotate x */
	   60,  245,	/* cube10 rotate y */
	   60,  305,	/* cube10 rotate z */
	    1,    0,	/* cube36 rotate x */
	   60,  365,	/* cube36 rotate y */
	    1,  425,	/* cube36 rotate z */
	    1,    0,	/* cube31 rotate x */
	   60,  426,	/* cube31 rotate y */
	    1,  486,	/* cube31 rotate z */
	   60,  487,	/* cube37 rotate x */
	   60,  547,	/* cube37 rotate y */
	   60,  607,	/* cube37 rotate z */
	    1,    0,	/* cube34 rotate x */
	    1,    0,	/* cube34 rotate y */
	   60,  667,	/* cube34 rotate z */
	    1,    0,	/* octa1 rotate x */
	    1,    0,	/* octa1 rotate y */
	   60,  727,	/* octa1 rotate z */
	    1,    0,	/* cube19 rotate x */
	    1,    0,	/* cube19 rotate y */
	   60,  787,	/* cube19 rotate z */
	    1,    0,	/* cube24 rotate x */
	    1,    0,	/* cube24 rotate y */
	   60,  847,	/* cube24 rotate z */
	    1,    0,	/* octa2 rotate x */
	    1,    0,	/* octa2 rotate y */
	   60,  907,	/* octa2 rotate z */
	    1,    0,	/* cube29 rotate x */
	    1,    0,	/* cube29 rotate y */
	   60,  967,	/* cube29 rotate z */
	    1, 1027,	/* chn8 rotate x */
	    1, 1028,	/* chn8 rotate y */
	    1, 1029,	/* chn8 rotate z */
	    1,    0,	/* chn2 rotate x */
	    1,    0,	/* chn2 rotate y */
	    1, 1030,	/* chn2 rotate z */
	    1, 1031,	/* chn7 rotate x */
	    1, 1032,	/* chn7 rotate y */
	    1, 1033,	/* chn7 rotate z */
	    1,    0,	/* chn4 rotate x */
	    1, 1034,	/* chn4 rotate y */
	    1, 1035,	/* chn4 rotate z */
	    1, 1036,	/* chn5 rotate x */
	    1, 1037,	/* chn5 rotate y */
	    1, 1038,	/* chn5 rotate z */
	   60, 1039,	/* cube3 rotate x */
	   60, 1099,	/* cube3 rotate y */
	   60, 1159,	/* cube3 rotate z */
	   60, 1219,	/* cube5 rotate x */
	    1,    0,	/* cube5 rotate y */
	    1, 1279,	/* cube5 rotate z */
	   60, 1280,	/* cube15 rotate x */
	   60, 1340,	/* cube15 rotate y */
	   60, 1400,	/* cube15 rotate z */
};
AnimeRecord DEMO_Fox_run_anm={
	60,
	22,
	DEMO_Fox_run_prm,
	DEMO_Fox_run_tbl
};
static SkeletonRecord cube4[1]=
	{DEMO_Fox_ago,0.000000,0.000000,0.000000,0,0,-32262,NULL,NULL};
static SkeletonRecord cube35[1]=
	{DEMO_Fox_arm06,50.808998,0.000000,0.000000,-32767,-32767,-32626,NULL,NULL};
static SkeletonRecord cube26[1]=
	{DEMO_Fox_arm05,71.000000,0.000000,0.000000,0,7342,-71,NULL,cube35};
static SkeletonRecord cube10[1]=
	{DEMO_Fox_arm04,0.000000,0.000000,0.000000,0,-6863,-16563,NULL,cube26};
static SkeletonRecord cube36[1]=
	{DEMO_Fox_arm01,50.808998,0.000000,0.000000,0,-5799,140,NULL,NULL};
static SkeletonRecord cube31[1]=
	{DEMO_Fox_arm02,71.000000,0.000000,0.000000,0,-13871,-71,NULL,cube36};
static SkeletonRecord cube37[1]=
	{DEMO_Fox_arm03,0.000000,0.000000,0.000000,0,-8969,-16563,NULL,cube31};
static SkeletonRecord cube34[1]=
	{DEMO_Fox_reg01,88.261002,0.000000,0.000000,0,0,-12617,NULL,NULL};
static SkeletonRecord octa1[1]=
	{DEMO_Fox_reg02,54.201000,0.000000,0.000000,0,0,10103,NULL,cube34};
static SkeletonRecord cube19[1]=
	{DEMO_Fox_reg03,0.000000,0.000000,0.000000,0,0,-7237,NULL,octa1};
static SkeletonRecord cube24[1]=
	{DEMO_Fox_reg06,88.261002,0.000000,0.000000,0,0,-16268,NULL,NULL};
static SkeletonRecord octa2[1]=
	{DEMO_Fox_reg05,54.201000,0.000000,0.000000,0,0,1759,NULL,cube24};
static SkeletonRecord cube29[1]=
	{DEMO_Fox_reg04,0.000000,0.000000,0.000000,0,0,-26637,NULL,octa2};
static SkeletonRecord chn8[1]=
	{NULL,22.643000,0.306000,14.125000,8191,16383,-8191,NULL,cube4};
static SkeletonRecord chn2[1]=
	{NULL,80.169998,67.318001,0.000000,0,0,-16383,NULL,cube37};
static SkeletonRecord chn7[1]=
	{NULL,2.712000,-29.254999,-3.010000,8253,16383,-8253,NULL,cube29};
static SkeletonRecord chn4[1]=
	{NULL,80.169998,-66.706001,0.000000,0,-32767,-16383,chn2,cube10};
static SkeletonRecord chn5[1]=
	{NULL,3.429000,31.018000,-3.010000,8253,16383,-8253,chn7,cube19};
static SkeletonRecord cube3[1]=
	{DEMO_Fox_head,82.005997,0.000000,0.000000,-7812,2013,-754,chn4,chn8};
static SkeletonRecord cube5[1]=
	{DEMO_Fox_body,51.410000,0.000000,0.000000,7780,0,-124,chn5,cube3};
static SkeletonRecord cube15[1]=
	{DEMO_Fox_kosi,0.000000,0.000000,0.000000,530,-3613,14954,NULL,cube5};
static SkeletonRecord chn1[1]=
	{NULL,0.918000,156.934006,0.000000,0,0,0,NULL,cube15};
SkeletonPtr DEMO_Fox_run_list[]={
	chn1,
	cube4,
	cube35,
	cube26,
	cube10,
	cube36,
	cube31,
	cube37,
	cube34,
	octa1,
	cube19,
	cube24,
	octa2,
	cube29,
	chn8,
	chn2,
	chn7,
	chn4,
	chn5,
	cube3,
	cube5,
	cube15,
	NULL
};
