/********************************************************************************
						Ultra 64 MARIO Brothers

					mario jump to bar animation data

			Copyright 1995 Nintendo co., ltd.  All rights reserved

							October 31, 1995
 ********************************************************************************/

#include "../headers.h"


static short mario_jump_stick_prm[]={
	    0,   60,   59,   58,   55,   52,   49,   45,
	   40,   35,   30,   25,   20,   15,   10,    6,
	    2,    0,   -2,   -3,   -4,  292,  291,  289,
	  285,  280,  274,  268,  260,  253,  244,  236,
	  228,  220,  213,  206,  201,  196,  192,  190,
	  189, -200, -199, -197, -193, -188, -183, -176,
	 -169, -162, -154, -146, -138, -131, -124, -117,
	 -111, -107, -103, -101, -100,16383,-11229,-11231,
	-11237,-11247,-11260,-11275,-11293,-11312,-11332,-11353,
	-11375,-11396,-11416,-11435,-11453,-11468,-11481,-11491,
	-11497,-11499,-2890,-2899,-2922,-2958,-3006,-3064,
	-3129,-3201,-3277,-3356,-3436,-3515,-3591,-3663,
	-3728,-3786,-3834,-3870,-3893,-3902,-2605,-2593,
	-2561,-2510,-2442,-2361,-2269,-2168,-2061,-1950,
	-1838,-1727,-1620,-1519,-1427,-1346,-1278,-1227,
	-1195,-1183,-5319,-5351,-5441,-5584,-5772,-5998,
	-6255,-6536,-6835,-7144,-7457,-7766,-8065,-8346,
	-8603,-8829,-9017,-9160,-9250,-9282,10044,10056,
	10093,10150,10225,10316,10419,10532,10652,10776,
	10901,11025,11145,11258,11361,11451,11527,11584,
	11620,11633,  854,  844,  816,  772,  714,  644,
	  565,  478,  386,  290,  194,   98,    6,  -80,
	 -159, -229, -287, -331, -359, -369,-32322,-32296,
	-32223,-32108,-31956,-31774,-31567,-31340,-31099,-30849,
	-30597,-30348,-30106,-29879,-29672,-29490,-29338,-29223,
	-29150,-29124, 3499, 3539, 3655, 3838, 4078, 4368,
	 4697, 5057, 5439, 5835, 6235, 6630, 7013, 7373,
	 7702, 7991, 8231, 8414, 8530, 8571, 1540, 1544,
	 1554, 1570, 1591, 1616, 1645, 1677, 1711, 1745,
	 1781, 1815, 1849, 1881, 1910, 1935, 1956, 1972,
	 1982, 1986,-3769,-3707,-3530,-3251,-2884,-2442,
	-1940,-1390, -806, -202,  408, 1012, 1596, 2146,
	 2648, 3090, 3457, 3736, 3913, 3975,-5215,-5226,
	-5260,-5312,-5381,-5465,-5559,-5663,-5773,-5887,
	-6002,-6116,-6226,-6330,-6425,-6508,-6577,-6630,
	-6663,-6675,-6962,-6984,-7047,-7146,-7276,-7433,
	-7612,-7807,-8015,-8230,-8447,-8662,-8869,-9065,
	-9243,-9400,-9531,-9630,-9693,-9715, 1129, 1129,
	 1128, 1127, 1126, 1124, 1122, 1120, 1118, 1116,
	 1113, 1111, 1109, 1107, 1105, 1104, 1102, 1101,
	 1100, 1100,30923,30916,30898,30870,30833,30789,
	30738,30683,30624,30563,30502,30441,30382,30327,
	30276,30232,30195,30167,30149,30143,   27,   54,
	  129,  245,  394,  570,  765,  971, 1182, 1390,
	 1588, 1809, 2077, 2373, 2678, 2972, 3234, 3446,
	 3588, 3640,  603,  598,  583,  560,  530,  495,
	  457,  416,  374,  332,  293,  249,  196,  137,
	   76,   18,  -33,  -76, -104, -114,-13531,-13514,
	-13466,-13393,-13298,-13186,-13063,-12932,-12798,-12666,
	-12541,-12401,-12230,-12042,-11849,-11662,-11496,-11361,
	-11271,-11239,14325,14407,14630,14955,15345,15763,
	16172,16532,16808,16962,16955,16723,16267,15655,
	14953,14229,13550,12982,12592,12447, 5314, 5190,
	 4850, 4348, 3736, 3066, 2391, 1763, 1235,  859,
	  686,  770, 1081, 1558, 2136, 2752, 3341, 3841,
	 4188, 4318, -322, -116,  448, 1287, 2316, 3454,
	 4615, 5717, 6676, 7409, 7833, 7900, 7672, 7226,
	 6637, 5983, 5341, 4788, 4399, 4253,-24002,-24342,
	-25267,-26637,-28309,-30144,-31999,31800,30328,29258,
	28733,28875,29605,30761,32183,-31825,-30358,-29110,
	-28242,-27917,  -14,  -45, -134, -272, -452, -667,
	 -907,-1166,-1436,-1709,-1977,-2287,-2668,-3094,
	-3533,-3958,-4339,-4647,-4853,-4929, -288, -314,
	 -382, -479, -593, -711, -820, -908, -961, -968,
	 -915, -768, -524, -213,  133,  486,  814, 1086,
	 1272, 1341,-6986,-7182,-7716,-8506,-9471,-10529,
	-11598,-12598,-13446,-14061,-14361,-14274,-13844,-13164,
	-12331,-11437,-10577,-9847,-9339,-9149,14080, 5177,
	 5090, 4850, 4485, 4027, 3506, 2950, 2392, 1860,
	 1385,  997,  713,  511,  368,  259,  159,   85,
	   58,   57,   61,-9120,-9076,-8945,-8728,-8426,
	-8042,-7576,-7030,-6404,-5702,-4923,-3695,-1898,
	   89, 1890, 3124, 3491, 3224, 2751, 2499,-29312,
	-29182,-28834,-28331,-27736,-27111,-26520,-26026,-25691,
	-25579,-25752,-26756,-28704,-31011,32440,31169,31194,
	32120,-32318,-31790,-32767,-32767,16753,-16545,-32767,
	-32767,16753,-16545,-16808,-16808,-16808,-16808,-16808,
	-16807,-16807,-16807,-16806,-16806,-16805,-16805,-16804,
	-16804,-16804,-16803,-16803,-16803,-16803,-16803,-2597,
	-2608,-2640,-2691,-2757,-2836,-2927,-3026,-3132,
	-3241,-3351,-3460,-3565,-3664,-3755,-3835,-3901,
	-3951,-3983,-3994,-5693,-5659,-5562,-5410,-5210,
	-4969,-4695,-4394,-4076,-3746,-3412,-3083,-2764,
	-2464,-2190,-1948,-1748,-1596,-1499,-1465, 2785,
	  204,-4029, 3204, 3198, 3181, 3154, 3119, 3077,
	 3029, 2977, 2922, 2864, 2806, 2748, 2693, 2640,
	 2592, 2550, 2515, 2489, 2472, 2466, 4404, 4381,
	 4318, 4218, 4086, 3927, 3747, 3549, 3340, 3123,
	 2903, 2687, 2477, 2279, 2099, 1940, 1809, 1709,
	 1645, 1623,23005,22959,22826,22618,22343,22013,
	21638,21227,20790,20339,19882,19430,18994,18583,
	18207,17877,17603,17395,17262,17216
};
static short mario_jump_stick_tbl[]={
	   20,    1,	/* chn14translate x */
	   20,   21,	/* chn14 translate y */
	   20,   41,	/* chn14 translate z */
	    1,    0,	/* chn14 rotate x */
	    1,   61,	/* chn14 rotate y */
	    1,    0,	/* chn14 rotate z */
	   20,  674,	/* <m_waist>1_3 rotate x */
	   20,  694,	/* <m_waist>1_3 rotate y */
	   20,  714,	/* <m_waist>1_3 rotate z */
	    1,  671,	/* <m_body>1 rotate x */
	    1,  672,	/* <m_body>1 rotate y */
	    1,  673,	/* <m_body>1 rotate z */
	   20,  611,	/* <m_head>2 rotate x */
	   20,  631,	/* <m_head>2 rotate y */
	   20,  651,	/* <m_head>2 rotate z */

	    1,  607,	/* chn6 rotate x */
	    1,  608,	/* chn6 rotate y */
	    1,  609,	/* chn6 rotate z */
	   20,  142,	/* <m_larmA>1 rotate x */
	   20,  162,	/* <m_larmA>1 rotate y */
	   20,  182,	/* <m_larmA>1 rotate z */
	    1,    0,	/* <m_larmB>1 rotate x */
	    1,    0,	/* <m_larmB>1 rotate y */
	   20,  122,	/* <m_larmB>1 rotate z */
	   20,   62,	/* <m_lhand>1 rotate x */
	   20,   82,	/* <m_lhand>1 rotate y */
	   20,  102,	/* <m_lhand>1 rotate z */

	    1,  603,	/* chn10 rotate x */
	    1,  604,	/* chn10 rotate y */
	    1,  605,	/* chn10 rotate z */
	   20,  282,	/* <m_rarmA>1 rotate x */
	   20,  302,	/* <m_rarmA>1 rotate y */
	   20,  322,	/* <m_rarmA>1 rotate z */
	    1,    0,	/* <m_rarmB>1 rotate x */
	    1,    0,	/* <m_rarmB>1 rotate y */
	   20,  262,	/* <m_rarmB>1 rotate z */
	   20,  202,	/* <m_rhand>1 rotate x */
	   20,  222,	/* <m_rhand>1 rotate y */
	   20,  242,	/* <m_rhand>1 rotate z */

	    1,    0,	/* chn15 rotate x */
	    1,    0,	/* chn15 rotate y */
	    1,  606,	/* chn15 rotate z */
	   20,  543,	/* <m_llegA>1 rotate x */
	   20,  563,	/* <m_llegA>1 rotate y */
	   20,  583,	/* <m_llegA>1 rotate z */
	    1,    0,	/* <m_llegB>1 rotate x */
	    1,    0,	/* <m_llegB>1 rotate y */
	    1,  542,	/* <m_llegB>1 rotate z */
	   20,  482,	/* <m_ltoot>1 rotate x */
	   20,  502,	/* <m_ltoot>1 rotate y */
	   20,  522,	/* <m_ltoot>1 rotate z */

	    1,    0,	/* chn17 rotate x */
	    1,    0,	/* chn17 rotate y */
	    1,  610,	/* chn17 rotate z */
	   20,  422,	/* <m_rlegA>1 rotate x */
	   20,  442,	/* <m_rlegA>1 rotate y */
	   20,  462,	/* <m_rlegA>1 rotate z */
	    1,    0,	/* <m_rlegB>1 rotate x */
	    1,    0,	/* <m_rlegB>1 rotate y */
	   20,  402,	/* <m_rlegB>1 rotate z */
	   20,  342,	/* <m_rfoot>1 rotate x */
	   20,  362,	/* <m_rfoot>1 rotate y */
	   20,  382,	/* <m_rfoot>1 rotate z */
};

AnimeRecord animMarioBarJumping = {
	 MAP_ANIM_ONETIME,			/* attribute       	 */
	 0,							/* syncro			 */
	 0,							/* start frame     	 */
	 0,							/* loop frame		 */
	 1,							/* number of frames	 */
	20,							/* number of joints	 */
	mario_jump_stick_prm,
	mario_jump_stick_tbl
};
AnimeRecord animMarioBarJumpEnd = {
	 MAP_ANIM_ONETIME,			/* attribute       	 */
	 0,							/* syncro			 */
	 1,							/* start frame     	 */
	 0,							/* loop frame		 */
	20,							/* number of frames	 */
	20,							/* number of joints	 */
	mario_jump_stick_prm,
	mario_jump_stick_tbl
};
