running.inc 16.7 KB
/********************************************************************************
						Ultra 64 MARIO Brothers

					  mario running animation data

			Copyright 1995 Nintendo co., ltd.  All rights reserved

							July 18, 1995
 ********************************************************************************/


static short mario_run2_prm[]={
	    0,  192,  189,  184,  180,  177,  175,  173,
	  171,  172,  174,  176,  179,  183,  186,  190,
	  194,  197,  200,  203,  206,  209,  211,  214,
	  216,  217,  217,  217,  216,  215,  213,  210,
	  208,  205,  202,  200,  197,  193,  189,  185,
	  181,  178,  176,  174,  173,  172,  171,  171,
	  171,  172,  173,  175,  178,  182,  188,  194,
	  198,  202,  205,  207,  210,  212,  214,  216,
	  217,  217,  216,  213,  211,  207,  202,  197,
	  195,16383,-8239,-8208,-8117,-7970,-7774,-7531,
	-7247,-6927,-6575,-6195,-5793,-5373,-4939,-4496,
	-4050,-3604,-3162,-2731,-2314,-1916,-1542,-1196,
	 -882, -607, -373, -186,  -51,   27,   46,    0,
	 -100, -238, -412, -620, -860,-1130,-1428,-1751,
	-2099,-2468,-2858,-3265,-3689,-4126,-4575,-5035,
	-5502,-5976,-6453,-6933,-7412,-7890,-8363,-8831,
	-9291,-9741,-10179,-10604,-11012,-11403,-11774,-12123,
	-12448,-12747,-13019,-13261,-13471,-13647,-13788,-13891,
	-13954,-13976, 1147, 1138, 1114, 1074, 1020,  953,
	  874,  785,  686,  578,  463,  341,  215,   84,
	  -49, -184, -321, -457, -592, -724, -853, -977,
	-1095,-1207,-1310,-1404,-1488,-1561,-1622,-1668,
	-1706,-1740,-1771,-1798,-1822,-1843,-1861,-1876,
	-1889,-1899,-1906,-1911,-1914,-1915,-1914,-1912,
	-1907,-1902,-1894,-1886,-1877,-1866,-1855,-1843,
	-1831,-1818,-1805,-1792,-1779,-1765,-1753,-1740,
	-1728,-1717,-1707,-1697,-1689,-1682,-1676,-1672,
	-1669,-1668,-4724,-8321,-8382,-8513,-8639,-8684,
	-8662,-8636,-8607,-8575,-8540,-8503,-8464,-8424,
	-8381,-8338,-8293,-8248,-8202,-8156,-8110,-8065,
	-8020,-7976,-7933,-7892,-7852,-7814,-7779,-7745,
	-7715,-7686,-7656,-7626,-7596,-7566,-7535,-7504,
	-7473,-7442,-7410,-7379,-7348,-7318,-7287,-7257,
	-7227,-7197,-7168,-7140,-7112,-7084,-7058,-7032,
	-7007,-6982,-6959,-6937,-6915,-6895,-6876,-6858,
	-6841,-6826,-6812,-6800,-6788,-6779,-6771,-6765,
	-6760,-6758,-6757,-9490,-9461,-9376,-9239,-9053,
	-8822,-8550,-8240,-7896,-7521,-7119,-6694,-6249,
	-5788,-5314,-4831,-4344,-3854,-3367,-2885,-2412,
	-1952,-1508,-1085, -684, -312,   29,  337,  606,
	  834, 1038, 1236, 1429, 1617, 1800, 1978, 2151,
	 2319, 2483, 2641, 2794, 2942, 3085, 3223, 3357,
	 3485, 3608, 3727, 3840, 3949, 4053, 4152, 4246,
	 4335, 4419, 4498, 4573, 4642, 4707, 4767, 4822,
	 4872, 4917, 4958, 4994, 5025, 5051, 5073, 5089,
	 5101, 5108, 5111,-18753,-18724,-18641,-18508,-18328,
	-18106,-17846,-17552,-17229,-16880,-16509,-16120,-15719,
	-15308,-14891,-14474,-14060,-13653,-13258,-12877,-12517,
	-12179,-11870,-11592,-11351,-11149,-10992,-10883,-10826,
	-10826,-10871,-10945,-11048,-11177,-11332,-11510,-11710,
	-11931,-12172,-12429,-12703,-12991,-13292,-13605,-13927,
	-14258,-14596,-14940,-15287,-15636,-15987,-16336,-16684,
	-17027,-17366,-17697,-18021,-18334,-18636,-18926,-19201,
	-19460,-19701,-19924,-20126,-20306,-20462,-20594,-20699,
	-20775,-20823,-20839,-17551,-17509,-17388,-17193,-16930,
	-16607,-16229,-15802,-15332,-14826,-14290,-13730,-13152,
	-12563,-11968,-11374,-10787,-10213,-9658,-9129,-8631,
	-8171,-7756,-7390,-7081,-6835,-6657,-6555,-6534,
	-6600,-6738,-6927,-7164,-7446,-7772,-8138,-8541,
	-8979,-9449,-9949,-10476,-11026,-11598,-12189,-12796,
	-13416,-14047,-14686,-15331,-15978,-16625,-17270,-17909,
	-18540,-19161,-19768,-20359,-20931,-21482,-22009,-22509,
	-22980,-23418,-23822,-24188,-24514,-24798,-25035,-25225,
	-25364,-25449,-25478,    0,   44,  173,  380,  660,
	 1007, 1415, 1878, 2390, 2945, 3537, 4160, 4809,
	 5477, 6159, 6848, 7539, 8225, 8902, 9562,10200,
	10811,11387,11924,12415,12854,13235,13554,13802,
	13976,14096,14189,14256,14299,14319,14317,14294,
	14251,14189,14111,14016,13906,13782,13645,13497,
	13339,13172,12997,12815,12627,12436,12241,12044,
	11846,11648,11452,11259,11070,10886,10708,10537,
	10375,10223,10082, 9953, 9838, 9737, 9651, 9583,
	 9533, 9501, 9491,    0,   15,   59,  131,  228,
	  348,  489,  648,  825, 1016, 1219, 1433, 1656,
	 1884, 2117, 2352, 2587, 2820, 3049, 3271, 3485,
	 3689, 3880, 4057, 4217, 4358, 4478, 4576, 4648,
	 4693, 4718, 4733, 4736, 4730, 4715, 4690, 4658,
	 4617, 4569, 4514, 4453, 4386, 4313, 4236, 4155,
	 4069, 3981, 3889, 3796, 3700, 3603, 3506, 3408,
	 3311, 3215, 3119, 3026, 2935, 2847, 2762, 2681,
	 2604, 2532, 2466, 2405, 2351, 2304, 2264, 2232,
	 2209, 2195, 2190,-2743,-2739,-2728,-2710,-2686,
	-2655,-2620,-2580,-2535,-2487,-2435,-2381,-2324,
	-2266,-2206,-2145,-2084,-2023,-1963,-1904,-1847,
	-1792,-1740,-1691,-1645,-1604,-1568,-1536,-1511,
	-1491,-1476,-1462,-1451,-1441,-1432,-1426,-1420,
	-1416,-1414,-1412,-1412,-1413,-1415,-1418,-1421,
	-1426,-1431,-1437,-1444,-1451,-1458,-1466,-1475,
	-1483,-1492,-1501,-1509,-1518,-1527,-1535,-1543,
	-1551,-1559,-1566,-1572,-1578,-1583,-1587,-1591,
	-1593,-1595,-1595,-7591,-7592,-7595,-7601,-7609,
	-7621,-7635,-7653,-7675,-7701,-7731,-7766,-7805,
	-7850,-7900,-7955,-8017,-8084,-8158,-8239,-8326,
	-8421,-8523,-8633,-8751,-8877,-9011,-9155,-9307,
	-9468,-9759,-10252,-10883,-11585,-12292,-12936,-13453,
	-13776,-13839,-13732,-13594,-13426,-13232,-13012,-12769,
	-12506,-12225,-11927,-11616,-11292,-10960,-10620,-10275,
	-9927,-9579,-9232,-8889,-8552,-8224,-7906,-7600,
	-7310,-7036,-6782,-6550,-6341,-6159,-6004,-5881,
	-5789,-5733,-5714, 4838, 4869, 4960, 5106, 5304,
	 5549, 5838, 6166, 6529, 6924, 7346, 7791, 8256,
	 8735, 9225, 9723,10224,10723,11217,11703,12175,
	12630,13063,13472,13851,14196,14504,14771,14992,
	15164,15303,15428,15540,15640,15729,15805,15871,
	15927,15973,16009,16036,16055,16066,16069,16066,
	16056,16041,16019,15993,15963,15928,15890,15849,
	15805,15760,15713,15665,15617,15568,15520,15473,
	15428,15384,15344,15305,15271,15240,15214,15193,
	15177,15167,15164,12836,12848,12882,12936,13010,
	13102,13210,13332,13468,13616,13773,13940,14113,
	14292,14476,14662,14849,15035,15220,15402,15578,
	15748,15910,16063,16204,16334,16449,16548,16631,
	16695,16747,16794,16836,16873,16906,16935,16960,
	16980,16997,17011,17021,17028,17032,17034,17032,
	17029,17023,17015,17005,16994,16981,16967,16951,
	16935,16918,16900,16882,16864,16846,16828,16811,
	16794,16778,16762,16748,16735,16724,16714,16706,
	16700,16696,16695,-2729,-2750,-2810,-2906,-3035,
	-3193,-3376,-3582,-3807,-4048,-4300,-4562,-4829,
	-5098,-5365,-5628,-5882,-6125,-6353,-6563,-6751,
	-6913,-7047,-7149,-7216,-7244,-7230,-7171,-7062,
	-6901,-6693,-6445,-6159,-5839,-5485,-5101,-4689,
	-4250,-3787,-3302,-2798,-2275,-1738,-1188, -626,
	  -56,  519, 1100, 1683, 2266, 2847, 3423, 3992,
	 4553, 5103, 5639, 6160, 6663, 7146, 7607, 8044,
	 8455, 8836, 9187, 9505, 9788,10033,10239,10402,
	10522,10595,10620,-15533,-15519,-15479,-15413,-15320,
	-15202,-15059,-14891,-14698,-14482,-14246,-13992,-13725,
	-13448,-13163,-12875,-12587,-12301,-12022,-11753,-11496,
	-11256,-11036,-10835,-10650,-10480,-10320,-10169,-10023,
	-9881,-9618,-9289,-9156,-9483,-10202,-11050,-11999,
	-13019,-14081,-15157,-16218,-17235,-18178,-19020,-19730,
	-20281,-20643,-20783,-20709,-20456,-20060,-19555,-18978,
	-18362,-17744,-17159,-16641,-16226,-15950,-15780,-15656,
	-15574,-15528,-15510,-15517,-15542,-15578,-15622,-15665,
	-15704,-15731,-15741, 7065, 7159, 7409, 7766, 8181,
	 8603, 8983, 9273, 9422, 9443, 9391, 9279, 9126,
	 8945, 8752, 8563, 8394, 8259, 8175, 8156, 8219,
	 8379, 8719, 9273, 9984,10794,11646,12482,13246,
	13880,14358,14721,15009,15263,15517,15775,16033,
	16289,16541,16785,17020,17243,17450,17640,17810,
	17957,18079,18207,18364,18534,18700,18847,18958,
	19017,19009,18917,18724,18416,17975,17324,16431,
	15346,14120,12806,11454,10116, 8843, 7687, 6698,
	 5928, 5428, 5250,  104,    0,  -11,  -43,  -88,
	 -141, -196, -247, -287, -312, -325, -334, -339,
	 -341, -341, -338, -335, -330, -325, -320, -316,
	 -313, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312,-29871,-29644,-29030,-28129,
	-27039,-25860,-24690,-23630,-22778,-22081,-21417,-20782,
	-20169,-19576,-18997,-18428,-17864,-17300,-16732,-16155,
	-15564,-14956,-14287,-13547,-12775,-12012,-11298,-10674,
	-10180,-9856,-9974,-10586,-11404,-12139,-12725,-13291,
	-13845,-14394,-14947,-15511,-16095,-16706,-17352,-18105,
	-18954,-19785,-20483,-21077,-21668,-22256,-22841,-23421,
	-23995,-24563,-25122,-25673,-26214,-26745,-27263,-27801,
	-28382,-28990,-29611,-30229,-30831,-31400,-31922,-32383,
	-32767,-33060,-33247,-33312,-10422,-10554,-10911,-11429,
	-12047,-12703,-13335,-13882,-14281,-14582,-14873,-15152,
	-15417,-15665,-15894,-16102,-16287,-16447,-16579,-16680,
	-16750,-16784,-16753,-16638,-16456,-16225,-15962,-15685,
	-15411,-15158,-14942,-14782,-14695,-14698,-14814,-15039,
	-15348,-15721,-16134,-16564,-16988,-17384,-17729,-17999,
	-18174,-18228,-18140,-17878,-17447,-16876,-16196,-15438,
	-14633,-13811,-13004,-12241,-11553,-10971,-10526,-10188,
	-9902,-9664,-9470,-9316,-9197,-9107,-9044,-9003,
	-8978,-8966,-8962,-8962,15472,15590,15902,16345,
	16855,17368,17820,18148,18288,18323,18369,18413,
	18443,18447,18411,18323,18170,17940,17620,17197,
	16659,15993,14942,13373,11462, 9388, 7324, 5449,
	 3938, 2967, 3299, 4910, 6798, 7962, 8402, 8789,
	 9127, 9420, 9674, 9892,10078,10237,10373,10491,
	10595,10690,10778,10830,10819,10758,10660,10540,
	10409,10282,10170,10089,10050,10066,10152,10322,
	10571,10882,11240,11628,12031,12432,12816,13166,
	13466,13701,13853,13907,  208,   43, -391,-1010,
	-1723,-2442,-3079,-3546,-3754,-3758,-3678,-3526,
	-3314,-3057,-2766,-2453,-2132,-1814,-1513,-1241,
	-1010, -834, -718, -654, -630, -635, -658, -688,
	 -715, -726, -741, -777, -813, -834, -839, -843,
	 -845, -846, -846, -845, -844, -842, -839, -837,
	 -836, -834, -834, -837, -844, -855, -867, -879,
	 -890, -898, -901, -897, -886, -865, -834, -786,
	 -720, -640, -550, -453, -353, -255, -161,  -75,
	   -2,   54,   91,  104,    0,    6,   20,   38,
	   54,   64,   61,   42,    0,  -61, -136, -220,
	 -313, -411, -513, -617, -720, -820, -915,-1002,
	-1080,-1147,-1197,-1231,-1250,-1259,-1260,-1257,
	-1253,-1251,-1245,-1227,-1195,-1147,-1087,-1022,
	 -952, -879, -804, -730, -656, -584, -517, -454,
	 -399, -351, -312, -284, -266, -256, -253, -256,
	 -262, -272, -283, -294, -303, -310, -312, -312,
	 -312, -312, -312, -312, -312, -312, -312, -312,
	 -312, -312, -312, -312,-12765,-13002,-13629,-14522,
	-15556,-16606,-17547,-18256,-18606,-18670,-18614,-18457,
	-18217,-17915,-17568,-17195,-16816,-16449,-16112,-15826,
	-15608,-15477,-15476,-15607,-15829,-16104,-16391,-16650,
	-16842,-16926,-16859,-16629,-16237,-15686,-15038,-14360,
	-13656,-12932,-12193,-11445,-10693,-9943,-9199,-8468,
	-7755,-7065,-6403,-5758,-5117,-4482,-3856,-3242,
	-2642,-2061,-1500, -962, -451,   30,  480,  916,
	 1353, 1785, 2205, 2608, 2987, 3336, 3648, 3918,
	 4138, 4304, 4407, 4443,32767,32767,16753,    0,
	 -165, -602,-1221,-1929,-2638,-3256,-3693,-3859,
	-3805,-3653,-3419,-3119,-2767,-2381,-1975,-1565,
	-1166, -795, -466, -196,    0,  129,  214,  260,
	  273,  262,  231,  187,  136,   86,   42,   11,
	    0,    0,    0,    0,    0,    0,    0,    0,
	    0,    0,    0,    0,    0,    0,    0,    0,
	    0,    0,    0,    0,    0,    0,    0,    0,
	    0,    0,    0,    0,    0,    0,    0,    0,
	    0,    0,    0,    0,    0,    0,    0,-14876,
	-14863,-14846,-14860,-14936,-15109,-15413,-15880,-16545,
	-17408,-18427,-19572,-20810,-22111,-23444,-24777,-26079,
	-27320,-28468,-29492,-30360,-31043,-31529,-31847,-32020,
	-32072,-32028,-31911,-31746,-31557,-31368,-31204,-31087,
	-31043,-31043,-31043,-31043,-31043,-31043,-31043,-31043,
	-31043,-31043,-31043,-31043,-31043,-31043,-31043,-31043,
	-31043,-31043,-31043,-31043,-31043,-31043,-31043,-31043,
	-31043,-31043,-31043,-31043,-31043,-31043,-31043,-31043,
	-31043,-31043,-31043,-31043,-31043,-31043,-31043,32767,
	32767,16753,-16545, 5163, 5135, 5053, 4921, 4743,
	 4521, 4260, 3962, 3632, 3273, 2889, 2482, 2057,
	 1617, 1166,  706,  242, -222, -684,-1140,-1586,
	-2019,-2436,-2832,-3204,-3550,-3864,-4144,-4387,
	-4587,-4744,-4851,-4907,-4907,-4856,-4759,-4621,
	-4442,-4227,-3977,-3695,-3383,-3044,-2681,-2295,
	-1891,-1469,-1033, -585, -127,  336,  804, 1275,
	 1744, 2210, 2671, 3123, 3564, 3992, 4404, 4797,
	 5170, 5519, 5842, 6136, 6400, 6630, 6823, 6978,
	 7092, 7163, 7187,  392,  416,  472,  542,  605,
	  669,  744,  804,  826,  813,  790,  757,  719,
	  678,  636,  597,  563,  538,  517,  496,  475,
	  455,  437,  421,  407,  397,  390,  388,  391,
	  400,  417,  442,  475,  514,  556,  601,  646,
	  689,  730,  766,  796,  817,  829,  830,  822,
	  806,  784,  757,  726,  694,  661,  630,  601,
	  577,  558,  542,  527,  511,  496,  481,  467,
	  453,  440,  427,  416,  406,  397,  390,  384,
	  379,  376,  375,-5110,-4863,-4586,-4282,-3953,
	-3602,-3231,-2843,-2439,-2023,-1597,-1162, -723,
	 -280,  162,  603, 1040, 1470, 1891, 2301, 2696,
	 3075, 3435, 3774, 4090, 4379, 4639, 4869, 5065,
	 5226, 5348, 5429, 5468, 5461, 5411, 5325, 5203,
	 5048, 4862, 4646, 4402, 4132, 3837, 3520, 3182,
	 2825, 2451, 2061, 1658, 1243,  818,  384,  -55,
	 -500, -947,-1396,-1845,-2290,-2732,-3168,-3596,
	-4014,-4421,-4815,-5194,-5557,-5901,-6224,-6526,
	-6804,-7056,-7281, -146, -123,  -63,   20,  115,
	  208,  286,  335,  342,  319,  287,  247,  200,
	  146,   87,   25,  -39, -107, -175, -242, -308,
	 -372, -432, -488, -538, -581, -616, -642, -659,
	 -664, -654, -625, -580, -522, -453, -375, -291,
	 -203, -113,  -25,   59,  139,  210,  270,  318,
	  350,  365,  365,  358,  343,  322,  294,  262,
	  224,  183,  138,   91,   42,   -7,  -58, -109,
	 -159, -207, -253, -297, -336, -372, -402, -427,
	 -446, -458, -462,14981,15013,15099,15221,15361,
	15500,15622,15708,15741,15738,15728,15712,15691,
	15664,15633,15598,15560,15520,15477,15433,15388,
	15343,15298,15254,15212,15171,15133,15099,15068,
	15042,15020,15004,14994,14991,15018,15088,15189,
	15309,15435,15556,15658,15729,15757,15757,15753,
	15743,15730,15713,15692,15669,15643,15614,15583,
	15551,15518,15483,15448,15412,15377,15342,15308,
	15275,15244,15214,15187,15162,15140,15121,15106,
	15094,15087,15085,
};

static short mario_run2_tbl[]={
	    1,    0,	/* chn14translate x */
	   72,    1,	/* chn14 translate y */
	    1,    0,	/* chn14 translate z */
	    1,    0,	/* chn14 rotate x */
	    1,   73,	/* chn14 rotate y */
	    1,    0,	/* chn14 rotate z */
	    1,    0,	/* <m_waist>1_3 rotate x */
	    1,    0,	/* <m_waist>1_3 rotate y */
	   72, 2099,	/* <m_waist>1_3 rotate z */
	   72, 1955,	/* <m_body>1 rotate x */
	    1,    0,	/* <m_body>1 rotate y */
	   72, 2027,	/* <m_body>1 rotate z */
	   72, 1811,	/* <m_head>2 rotate x */
	    1,    0,	/* <m_head>2 rotate y */
	   72, 1883,	/* <m_head>2 rotate z */

	    1, 1807,	/* chn6 rotate x */
	    1, 1808,	/* chn6 rotate y */
	    1, 1809,	/* chn6 rotate z */
	   72,  291,	/* <m_larmA>1 rotate x */
	   72,  363,	/* <m_larmA>1 rotate y */
	   72,  435,	/* <m_larmA>1 rotate z */
	    1,    0,	/* <m_larmB>1 rotate x */
	    1,    0,	/* <m_larmB>1 rotate y */
	   72,  219,	/* <m_larmB>1 rotate z */
	   72,   74,	/* <m_lhand>1 rotate x */
	   72,  146,	/* <m_lhand>1 rotate y */
	    1,  218,	/* <m_lhand>1 rotate z */

	    1, 1660,	/* chn10 rotate x */
	    1, 1661,	/* chn10 rotate y */
	    1, 1662,	/* chn10 rotate z */
	   72,  795,	/* <m_rarmA>1 rotate x */
	   72,  867,	/* <m_rarmA>1 rotate y */
	   72,  939,	/* <m_rarmA>1 rotate z */
	    1,    0,	/* <m_rarmB>1 rotate x */
	    1,    0,	/* <m_rarmB>1 rotate y */
	   72,  723,	/* <m_rarmB>1 rotate z */
	   72,  507,	/* <m_rhand>1 rotate x */
	   72,  579,	/* <m_rhand>1 rotate y */
	   72,  651,	/* <m_rhand>1 rotate z */

	    1,    0,	/* chn15 rotate x */
	   72, 1663,	/* chn15 rotate y */
	   72, 1735,	/* chn15 rotate z */
	   72, 1444,	/* <m_llegA>1 rotate x */
	   72, 1516,	/* <m_llegA>1 rotate y */
	   72, 1588,	/* <m_llegA>1 rotate z */
	    1,    0,	/* <m_llegB>1 rotate x */
	    1,    0,	/* <m_llegB>1 rotate y */
	   72, 1372,	/* <m_llegB>1 rotate z */
	    1,    0,	/* <m_ltoot>1 rotate x */
	    1,    0,	/* <m_ltoot>1 rotate y */
	   72, 1300,	/* <m_ltoot>1 rotate z */

	    1,    0,	/* chn17 rotate x */
	    1,    0,	/* chn17 rotate y */
	    1, 1810,	/* chn17 rotate z */
	    1, 1155,	/* <m_rlegA>1 rotate x */
	   72, 1156,	/* <m_rlegA>1 rotate y */
	   72, 1228,	/* <m_rlegA>1 rotate z */
	    1,    0,	/* <m_rlegB>1 rotate x */
	    1,    0,	/* <m_rlegB>1 rotate y */
	   72, 1083,	/* <m_rlegB>1 rotate z */
	    1,    0,	/* <m_rfoot>1 rotate x */
	    1,    0,	/* <m_rfoot>1 rotate y */
	   72, 1011,	/* <m_rfoot>1 rotate z */
};

AnimeData animMarioRunning = {
	 HMS_ANIM_NORMAL,			/* attribute       	 */
	 0,							/* syncro			 */
	 0,							/* start frame     	 */
	 0,							/* loop frame		 */
	72,
	20,
	mario_run2_prm,
	mario_run2_tbl
};