327 lines
15 KiB
C
327 lines
15 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario take a hat animation data
|
|
|
|
Copyright 1996 Nintendo co., ltd. All rights reserved
|
|
|
|
January 11, 1996
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short hat_mario_take_hat_prm[]={
|
|
0, 0, 10, 15, 20, 22, 19, 14,
|
|
9, 5, 2, 2, 3, 3, 3, 3,
|
|
2, 2, 2, 2, 2, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 148,
|
|
165, 169, 171, 173, 176, 180, 182, 183,
|
|
181, 178, 174, 171, 169, 168, 166, 165,
|
|
165, 165, 165, 165, 165, 165, 165, 166,
|
|
166, 166, 166, 166, 167, 167, 167, 168,
|
|
168, 168, 168, 169, 169, 169, 169, 169,
|
|
170, 170, 170, 170, 170, 22, 30, 34,
|
|
37, 38, 34, 29, 23, 19, 16, 14,
|
|
12, 11, 10, 9, 7, 6, 6, 5,
|
|
5, 5, 4, 4, 4, 3, 3, 3,
|
|
3, 2, 2, 2, 1, 1, 1, 1,
|
|
1, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0,16383, 77, 0, -402, -814,
|
|
-1234,-1660,-2094,-2532,-2975,-3423,-3873,-4325,
|
|
-4779,-5233,-5687,-6140,-6591,-7039,-7484,-7924,
|
|
-8359,-8788,-9210,-9624,-10030,-10426,-10813,-11188,
|
|
-11551,-11902,-12239,-12562,-12870,-13094,-13150,-13011,
|
|
-12654,-12052,-11181,-9830,-7974,-5867,-3763,-1916,
|
|
-578, -5,-1663,-1668,-1695,-1723,-1751,-1780,
|
|
-1810,-1841,-1872,-1903,-1934,-1966,-1998,-2030,
|
|
-2062,-2094,-2125,-2156,-2186,-2217,-2246,-2275,
|
|
-2302,-2329,-2355,-2380,-2403,-2426,-2446,-2466,
|
|
-2484,-2500,-2514,-2507,-2467,-2402,-2325,-2244,
|
|
-2170,-2094,-2004,-1910,-1821,-1745,-1691,-1669,
|
|
-4738,-4724,-4652,-4577,-4500,-4421,-4340,-4258,
|
|
-4174,-4089,-4003,-3917,-3831,-3744,-3658,-3572,
|
|
-3487,-3403,-3321,-3239,-3160,-3082,-3007,-2934,
|
|
-2864,-2797,-2733,-2673,-2616,-2564,-2515,-2472,
|
|
-2433,-2451,-2562,-2736,-2947,-3165,-3365,-3571,
|
|
-3814,-4068,-4311,-4517,-4662,-4724,-10106,-12355,
|
|
-10548,-8963,-9060,-9181,-9325,-9491,-9675,-9878,
|
|
-10095,-10327,-10570,-10823,-11084,-11351,-11622,-11896,
|
|
-12170,-12442,-12711,-12976,-13232,-13480,-13717,-13942,
|
|
-14151,-14345,-14519,-14674,-14806,-14914,-14996,-14788,
|
|
-14158,-13303,-12420,-11706,-11358,-11414,-11717,-12177,
|
|
-12701,-13198,-13576,-13743,10620,-10488,-11280,-10454,
|
|
-8628,-6423,-4456,-3347,-3716,-5141,-6777,-8602,
|
|
-10594,-12731,-14991,-17354,-19797,-22299,-24838,-27392,
|
|
-29940,-32461,30602,28202,25895,23702,21646,19747,
|
|
18028,16509,15214,14162,13377,14312,17874,23262,
|
|
29675,-29222,-23164,-16472,-9223,-4153,-1964,-1144,
|
|
-1102,-1249,-9901,-10701,-10582,-10380,-10130,-9869,
|
|
-9634,-9460,-9384,-9374,-9375,-9385,-9403,-9430,
|
|
-9463,-9501,-9545,-9593,-9645,-9699,-9754,-9810,
|
|
-9866,-9921,-9974,-10024,-10070,-10113,-10149,-10180,
|
|
-10203,-10218,-10225,-10165,-10012,-9816,-9623,-9481,
|
|
-9438,-9638,-10042,-10424,-10763,-11125,-11419,-11555,
|
|
-23446,-1475,-1469,-3173,-5947,-9149,-12141,-14282,
|
|
-14931,-14537,-13980,-13278,-12445,-11496,-10447,-9312,
|
|
-8107,-6847,-5548,-4223,-2889,-1561, -254, 1017,
|
|
2237, 3391, 4463, 5438, 6302, 7039, 7633, 8070,
|
|
8334, 7438, 4833, 1168,-2910,-6754,-9717,-11236,
|
|
-11677,-11786,-11791,-11549,-11251,-11086, 4879, 773,
|
|
-8472,-18250,-23952,-23920,-20741,-16179,-11998,-8356,
|
|
-4361, -199, 3939, 7869,11402,14350,16525,17850,
|
|
18468,18524,18160,17520,16747,15984,15375,14438,
|
|
12978,11561,10757,11095,12127,12954,12676,10794,
|
|
7880, 4638, 1776, 0, -767,-1133,-1188,-1024,
|
|
-732, -403, -129, -1, 3319, 4973, 8905,13572,
|
|
17433,20694,23955,26262,26657,25320,23216,20568,
|
|
17599,14532,11591, 8999, 6980, 5460, 4200, 3168,
|
|
2333, 1663, 1128, 697, 338, 409, 1083, 2054,
|
|
3016, 4304, 5994, 7391, 7800, 6884, 5121, 3036,
|
|
1153, 0, -472, -697, -731, -630, -450, -248,
|
|
-79, 0,-6958,-9345,-14816,-20843,-24894,-26420,
|
|
-26714,-26016,-24565,-22475,-19842,-16869,-13763,-10726,
|
|
-7964,-5682,-4084,-3205,-2865,-2949,-3344,-3934,
|
|
-4605,-5242,-5731,-6335,-7201,-8041,-8564,-8756,
|
|
-8764,-8553,-8083,-7204,-5965,-4632,-3470,-2743,
|
|
-2419,-2265,-2242,-2311,-2434,-2573,-2688,-2742,
|
|
-4302,-4325,-4391,-4495,-4632,-4797,-4985,-5191,
|
|
-5410,-5670,-5994,-6368,-6778,-7212,-7655,-8094,
|
|
-8515,-8905,-9251,-9539,-9755,-9886,-9918,-9838,
|
|
-9633,-8181,-5232,-2075, 0, 0, 0, 0,
|
|
0,-1360,-3094,-5077,-7185,-9293,-11276,-13010,
|
|
-14371,-15103,-15208,-14948,-14582,-14373,24483,27561,
|
|
-31505,-25795,-24989,29887,12875, 2860, 1015, -418,
|
|
-1481,-2215,-2661,-2858,-2849,-2674,-2375,-1991,
|
|
-1564,-1135, -746, -436, -246, -219, -394, -866,
|
|
-1600,-2440,-3228,-4140,-5187,-5967,-6082,-5606,
|
|
-4919,-4074,-3123,-2121,-1118, -170, 672, 1355,
|
|
1691, 1663, 1483, 1357,11652,12035,12917,13896,
|
|
14570,14816,14771,14420,13899,13355,12792,12212,
|
|
11617,11013,10400, 9782, 9162, 8543, 7928, 7319,
|
|
6721, 6135, 5564, 5013, 4483, 4025, 3701, 3531,
|
|
3534, 3745, 4144, 4667, 5249, 5875, 6556, 7272,
|
|
8005, 8734, 9440,10103,10704,11222,11491,11470,
|
|
11324,11223,-3243, 1123,10495,19281,21889,10520,
|
|
-8590,-19977,-22097,-23743,-24965,-25813,-26336,-26583,
|
|
-26602,-26444,-26158,-25792,-25396,-25019,-24710,-24519,
|
|
-24494,-24686,-25142,-26415,-28561,-30884,-32688,31361,
|
|
29954,29253,29886,31677,-31586,-28966,-26124,-23189,
|
|
-20287,-17547,-15097,-13066,-12048,-12131,-12680,-13062,
|
|
12, 14, 20, 29, 38, 46, 52, 53,
|
|
49, 40, 28, 15, 5, 0, -1, -3,
|
|
-3, -4, -3, -3, -2, -1, 0, 1,
|
|
2, 3, 4, 4, 5, 5, 4, 4,
|
|
4, 4, 3, 3, 2, 2, 1, 1,
|
|
1, 0, 0, 0, 0, 0, -205, -204,
|
|
-204, -202, -201, -200, -200, -199, -200, -202,
|
|
-204, -206, -207, -208, -208, -209, -209, -209,
|
|
-209, -209, -209, -209, -209, -209, -208, -208,
|
|
-208, -208, -208, -208, -208, -208, -208, -208,
|
|
-208, -208, -208, -208, -208, -208, -208, -208,
|
|
-208, -208, -208, -208,-14498,-14623,-14944,-15379,
|
|
-15848,-16269,-16562,-16645,-16421,-15933,-15307,-14671,
|
|
-14150,-13872,-13777,-13720,-13694,-13697,-13723,-13769,
|
|
-13828,-13898,-13973,-14048,-14120,-14184,-14235,-14269,
|
|
-14281,-14277,-14265,-14247,-14223,-14194,-14163,-14128,
|
|
-14092,-14056,-14020,-13985,-13953,-13924,-13900,-13881,
|
|
-13869,-13864,16696,16762,16910,17069,17163,17120,
|
|
16867,16329,15254,13637,11779, 9979, 8539, 7759,
|
|
7471, 7299, 7227, 7243, 7331, 7478, 7670, 7892,
|
|
8130, 8371, 8599, 8801, 8963, 9071, 9109, 9096,
|
|
9058, 8999, 8921, 8829, 8726, 8614, 8497, 8378,
|
|
8261, 8148, 8044, 7950, 7871, 7810, 7770, 7754,
|
|
1977, 2097, 2417, 2880, 3427, 4001, 4544, 4998,
|
|
5401, 5811, 6198, 6533, 6785, 6927, 6988, 7022,
|
|
7034, 7025, 6999, 6960, 6911, 6856, 6797, 6738,
|
|
6682, 6633, 6593, 6567, 6558, 6561, 6571, 6587,
|
|
6607, 6632, 6660, 6690, 6721, 6753, 6785, 6815,
|
|
6843, 6868, 6889, 6906, 6916, 6921, 4532, 4531,
|
|
4528, 4523, 4517, 4510, 4503, 4495, 4482, 4461,
|
|
4440, 4425, 4420, 4433, 4461, 4496, 4537, 4582,
|
|
4630, 4680, 4730, 4779, 4826, 4870, 4908, 4941,
|
|
4965, 4981, 4986, 4980, 4964, 4939, 4907, 4868,
|
|
4825, 4778, 4730, 4680, 4631, 4584, 4541, 4502,
|
|
4469, 4444, 4427, 4420,-15855,-16003,-16398,-16967,
|
|
-17636,-18332,-18980,-19507,-19942,-20351,-20721,-21040,
|
|
-21295,-21472,-21599,-21712,-21812,-21900,-21977,-22043,
|
|
-22099,-22145,-22183,-22213,-22236,-22252,-22263,-22268,
|
|
-22269,-22260,-22236,-22199,-22151,-22094,-22030,-21962,
|
|
-21890,-21817,-21746,-21677,-21613,-21556,-21508,-21471,
|
|
-21446,-21436,-1050, -769, -568, -822, -866, -470,
|
|
119, 476, 514, 453, 332, 190, 68, 3,
|
|
-17, -31, -41, -47, -49, -47, -44, -38,
|
|
-32, -24, -17, -10, -5, -1, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
6, 135, 115, 101, 99, 120, 151, 161,
|
|
142, 112, 77, 43, 15, 0, -6, -11,
|
|
-15, -16, -17, -16, -15, -13, -11, -8,
|
|
-6, -3, -1, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0,-16705,-16803,
|
|
-17160,-17212,-17019,-16330,-15434,-14963,-15035,-15297,
|
|
-15665,-16057,-16391,-16583,-16668,-16738,-16794,-16837,
|
|
-16870,-16892,-16907,-16914,-16916,-16914,-16908,-16902,
|
|
-16896,-16891,-16889,-16885,-16876,-16863,-16845,-16823,
|
|
-16800,-16774,-16747,-16719,-16692,-16667,-16642,-16621,
|
|
-16603,-16589,-16579,-16576,11744, 9471, 8294, 8161,
|
|
7799, 6812, 5657, 5212, 5634, 6393, 7326, 8271,
|
|
9067, 9552, 9808,10030,10219,10377,10509,10615,
|
|
10700,10764,10812,10845,10866,10878,10883,10883,
|
|
10883,10869,10830,10770,10693,10601,10497,10385,
|
|
10268,10150,10033, 9920, 9816, 9723, 9644, 9583,
|
|
9543, 9527,-2233,-2429,-2687,-2867,-3340,-4288,
|
|
-5458,-6490,-7361,-8246,-9083,-9812,-10370,-10696,
|
|
-10856,-10965,-11027,-11049,-11037,-10997,-10936,-10858,
|
|
-10771,-10680,-10593,-10513,-10449,-10406,-10390,-10392,
|
|
-10400,-10412,-10428,-10448,-10470,-10494,-10519,-10544,
|
|
-10569,-10593,-10616,-10636,-10653,-10666,-10674,-10678,
|
|
1396, 1193, 718, 372, 2, -327, -642,-1101,
|
|
-1770,-2553,-3362,-4112,-4718,-5092,-5303,-5476,
|
|
-5614,-5722,-5802,-5858,-5894,-5913,-5918,-5912,
|
|
-5900,-5884,-5868,-5856,-5850,-5842,-5819,-5783,
|
|
-5738,-5683,-5623,-5557,-5489,-5419,-5351,-5285,
|
|
-5224,-5170,-5124,-5088,-5065,-5055,-27073,-27155,
|
|
-24683,-24065,-23286,-22087,-20829,-19980,-19573,-19308,
|
|
-19153,-19077,-19047,-19032,-19024,-19034,-19059,-19097,
|
|
-19144,-19200,-19260,-19323,-19386,-19446,-19501,-19548,
|
|
-19585,-19609,-19618,-19612,-19597,-19572,-19539,-19500,
|
|
-19456,-19408,-19358,-19308,-19258,-19210,-19165,-19126,
|
|
-19092,-19066,-19049,-19042,-32767,-32767,16753,-16545,
|
|
-32767,-32767,16753,-16545,-11228,-10508,-11002,-11684,
|
|
-11745,-10570,-8735,-7219,-6468,-6028,-5622,-5224,
|
|
-4831,-4443,-4059,-3677,-3296,-2916,-2535,-2153,
|
|
-1767,-1377, -917, -508, -428, -692,-1092,-1574,
|
|
-2086,-2572,-2981,-3257,-3348,-3275,-3109,-2866,
|
|
-2563,-2219,-1849,-1472,-1103, -761, -463, -225,
|
|
-65, 0, -416,-2734,-2839,-2518,-2073,-1450,
|
|
-671, -151, -357, -670, -621, -556, -478, -388,
|
|
-290, -187, -79, 28, 134, 236, 331, 417,
|
|
445, 433, 474, 596, 755, 933, 1113, 1278,
|
|
1411, 1494, 1511, 1467, 1384, 1270, 1132, 976,
|
|
811, 644, 482, 332, 201, 98, 28, 0,
|
|
-3520,-4945,-4662,-4072,-3684,-3772,-4053,-4212,
|
|
-4055,-3637,-3092,-2528,-1947,-1354, -751, -144,
|
|
464, 1070, 1670, 2260, 2837, 3395, 3819, 4055,
|
|
4196, 4343, 4517, 4695, 4852, 4964, 5005, 4952,
|
|
4781, 4482, 4079, 3593, 3048, 2464, 1864, 1271,
|
|
705, 190, -252, -600, -832, -925, 3569, 2972,
|
|
4218, 5750, 6402, 5168, 3041, 1856, 3869, 5834,
|
|
5549, 5106, 4537, 3875, 3152, 2399, 1649, 933,
|
|
285, -264, -683, -938,-1084,-1195,-1274,-1324,
|
|
-1347,-1346,-1323,-1280,-1221,-1147,-1062, -967,
|
|
-865, -758, -650, -542, -437, -338, -247, -167,
|
|
-99, -47, -13, 0,-5525,-4790,-3529,-2211,
|
|
-1454,-1722,-2531,-3075,-2747,-2240,-2020,-1792,
|
|
-1562,-1332,-1107, -891, -687, -501, -334, -193,
|
|
-80, 0, 57, 105, 144, 174, 197, 212,
|
|
221, 224, 221, 214, 204, 189, 173, 154,
|
|
134, 113, 92, 72, 53, 36, 21, 10,
|
|
3, 0, 4045, 4881, 6699, 8643, 9815, 9705,
|
|
8859, 7961, 6860, 5954, 5663, 5392, 5141, 4910,
|
|
4697, 4502, 4323, 4159, 4010, 3874, 3751, 3640,
|
|
3535, 3433, 3334, 3238, 3145, 3055, 2969, 2886,
|
|
2807, 2732, 2661, 2594, 2532, 2474, 2421, 2373,
|
|
2329, 2291, 2258, 2231, 2209, 2193, 2183, 2180,
|
|
6442, 5512, 5047, 4588, 4136, 3690, 3252, 2821,
|
|
2397, 1981, 1548, 1089, 630, 197, -185, -493,
|
|
-700, -792, -789, -713, -592, -448, -308, -196,
|
|
-136, -113, -92, -75, -61, -50, -40, -33,
|
|
-27, -23, -21, -19, -17, -17, -16, -15,
|
|
-14, -12, -9, -5, 0, 0, 1110, -295,
|
|
-373, -385, -348, -278, -191, -105, -35, 0,
|
|
5, -2, -19, -40, -62, -79, -88, -88,
|
|
-85, -78, -69, -60, -51, -43, -38, -35,
|
|
-32, -30, -27, -25, -23, -21, -19, -17,
|
|
-16, -14, -12, -11, -9, -8, -6, -5,
|
|
-3, -1, 0, 0,20814,22574,21993,21227,
|
|
20339,19396,18464,17607,16892,16383,16122,16067,
|
|
16159,16337,16542,16715,16797,16802,16790,16765,
|
|
16732,16695,16658,16627,16606,16591,16576,16561,
|
|
16546,16532,16517,16503,16490,16477,16464,16452,
|
|
16441,16430,16421,16412,16404,16397,16391,16386,
|
|
16383,16541
|
|
};
|
|
static short hat_mario_take_hat_tbl[]={
|
|
46, 1, /* chn14translate x */
|
|
46, 47, /* chn14 translate y */
|
|
46, 93, /* chn14 translate z */
|
|
1, 0, /* chn14 rotate x */
|
|
1, 139, /* chn14 rotate y */
|
|
1, 0, /* chn14 rotate z */
|
|
46, 1712, /* <m_waist>1 rotate x */
|
|
46, 1758, /* <m_waist>1 rotate y */
|
|
46, 1804, /* <m_waist>1 rotate z */
|
|
46, 1574, /* <m_body>1_1 rotate x */
|
|
46, 1620, /* <m_body>1_1 rotate y */
|
|
46, 1666, /* <m_body>1_1 rotate z */
|
|
46, 1436, /* bmerge1 rotate x */
|
|
46, 1482, /* bmerge1 rotate y */
|
|
46, 1528, /* bmerge1 rotate z */
|
|
|
|
1, 1432, /* chn6_1 rotate x */
|
|
1, 1433, /* chn6_1 rotate y */
|
|
1, 1434, /* chn6_1 rotate z */
|
|
46, 324, /* <m_larmA>1 rotate x */
|
|
46, 370, /* <m_larmA>1 rotate y */
|
|
46, 416, /* <m_larmA>1 rotate z */
|
|
1, 0, /* <m_larmB>1_1 rotate x */
|
|
1, 0, /* <m_larmB>1_1 rotate y */
|
|
46, 278, /* <m_larmB>1_1 rotate z */
|
|
46, 140, /* <m_lhand>1_1 rotate x */
|
|
46, 186, /* <m_lhand>1_1 rotate y */
|
|
46, 232, /* <m_lhand>1_1 rotate z */
|
|
|
|
1, 1428, /* chn10_1 rotate x */
|
|
1, 1429, /* chn10_1 rotate y */
|
|
1, 1430, /* chn10_1 rotate z */
|
|
46, 646, /* <m_rarmA>1 rotate x */
|
|
46, 692, /* <m_rarmA>1 rotate y */
|
|
46, 738, /* <m_rarmA>1 rotate z */
|
|
1, 0, /* <m_rarmB>1_1 rotate x */
|
|
1, 0, /* <m_rarmB>1_1 rotate y */
|
|
46, 600, /* <m_rarmB>1_1 rotate z */
|
|
46, 462, /* <m_rhand>1_1 rotate x */
|
|
46, 508, /* <m_rhand>1_1 rotate y */
|
|
46, 554, /* <m_rhand>1_1 rotate z */
|
|
|
|
1, 0, /* chn15_1 rotate x */
|
|
1, 0, /* chn15_1 rotate y */
|
|
1, 1431, /* chn15_1 rotate z */
|
|
46, 1290, /* <m_llegA>1_1 rotate x */
|
|
46, 1336, /* <m_llegA>1_1 rotate y */
|
|
46, 1382, /* <m_llegA>1_1 rotate z */
|
|
1, 0, /* <m_llegB>1_1 rotate x */
|
|
1, 0, /* <m_llegB>1_1 rotate y */
|
|
46, 1244, /* <m_llegB>1_1 rotate z */
|
|
46, 1106, /* <m_ltoot>1_1 rotate x */
|
|
46, 1152, /* <m_ltoot>1_1 rotate y */
|
|
46, 1198, /* <m_ltoot>1_1 rotate z */
|
|
|
|
1, 0, /* chn17_1 rotate x */
|
|
1, 0, /* chn17_1 rotate y */
|
|
1, 1435, /* chn17_1 rotate z */
|
|
46, 968, /* <m_rlegA>1_1 rotate x */
|
|
46, 1014, /* <m_rlegA>1_1 rotate y */
|
|
46, 1060, /* <m_rlegA>1_1 rotate z */
|
|
1, 0, /* <m_rlegB>1_1 rotate x */
|
|
1, 0, /* <m_rlegB>1_1 rotate y */
|
|
46, 922, /* <m_rlegB>1_1 rotate z */
|
|
46, 784, /* <m_rtoot>1 rotate x */
|
|
46, 830, /* <m_rtoot>1 rotate y */
|
|
46, 876, /* <m_rtoot>1 rotate z */
|
|
};
|
|
AnimeRecord animMarioHatTaking = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
10, /* start frame */
|
|
0, /* loop frame */
|
|
46, /* number of frames */
|
|
20, /* number of joints */
|
|
hat_mario_take_hat_prm,
|
|
hat_mario_take_hat_tbl
|
|
};
|