sm64/data/Anime/transfer.c
2022-12-04 22:27:02 -05:00

354 lines
16 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario transfer animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
December 26, 1995
********************************************************************************/
#include "../headers.h"
static short mario_h_carry_walk_prm[]={
0, -20, 163, 163, 163, 163, 164, 164,
165, 165, 166, 166, 167, 168, 169, 169,
170, 171, 171, 172, 172, 173, 173, 174,
174, 174, 174, 174, 174, 174, 174, 173,
173, 172, 172, 171, 170, 170, 169, 168,
168, 167, 167, 166, 165, 165, 164, 164,
164, 164, 163, 163, 164, 164, 165, 165,
166, 167, 168, 169, 170, 170, 171, 171,
172, 172, 173, 173, 174, 174, 174, 174,
174, 174, 174, 174, 174, 173, 173, 172,
172, 171, 171, 170, 169, 169, 168, 167,
167, 166, 165, 165, 164, 164, 164, 163,
163, 163, 163, 57,16383,-6194,-1660,-5781,
-5088, 6121,-13646,30243, 2767, 525,-4654,-3940,
-4604, 4907,28983, 1937, 1936, 1932, 1926, 1917,
1907, 1894, 1878, 1861, 1842, 1820, 1797, 1772,
1745, 1716, 1685, 1653, 1619, 1583, 1546, 1508,
1468, 1427, 1385, 1341, 1294, 1240, 1181, 1116,
1048, 976, 901, 824, 745, 665, 585, 506,
427, 350, 275, 204, 136, 72, 13, -39,
-86, -126, -159, -183, -200, -212, -218, -220,
-218, -210, -199, -184, -165, -143, -118, -89,
-58, -25, 9, 47, 86, 127, 168, 211,
255, 299, 343, 387, 436, 492, 555, 625,
700, 779, 861, 946, 1033, 1121, 1208, 1295,
1380, 1462, 1540, 1614, 1682, 1745, 1800, 1847,
1885, 1913, 1931, 1937, -25, -28, -37, -52,
-71, -96, -124, -157, -192, -231, -272, -315,
-360, -406, -453, -500, -546, -593, -638, -682,
-723, -763, -800, -833, -863, -891, -920, -949,
-979,-1008,-1038,-1067,-1096,-1124,-1151,-1178,
-1203,-1227,-1250,-1271,-1290,-1308,-1323,-1336,
-1347,-1355,-1361,-1363,-1362,-1358,-1351,-1340,
-1327,-1310,-1291,-1270,-1247,-1221,-1194,-1166,
-1136,-1105,-1073,-1041,-1008, -975, -942, -909,
-877, -845, -814, -784, -756, -726, -694, -660,
-624, -586, -547, -507, -467, -426, -386, -346,
-307, -268, -232, -197, -165, -135, -108, -84,
-63, -47, -35, -27, -25,-21929,-21917,-21884,
-21829,-21755,-21663,-21554,-21430,-21292,-21142,-20981,
-20810,-20630,-20444,-20253,-20057,-19858,-19658,-19458,
-19260,-19065,-18873,-18688,-18509,-18339,-18165,-17974,
-17769,-17552,-17325,-17091,-16850,-16607,-16362,-16118,
-15876,-15640,-15411,-15192,-14984,-14790,-14611,-14451,
-14311,-14193,-14099,-14032,-13994,-13986,-14012,-14069,
-14157,-14271,-14411,-14574,-14757,-14959,-15176,-15407,
-15649,-15900,-16157,-16419,-16682,-16945,-17205,-17461,
-17708,-17946,-18172,-18384,-18579,-18754,-18922,-19095,
-19271,-19449,-19629,-19809,-19988,-20166,-20341,-20512,
-20678,-20838,-20992,-21137,-21274,-21400,-21516,-21619,
-21710,-21786,-21847,-21892,-21920,-21929, 9840, 9850,
9879, 9925, 9986,10062,10149,10247,10353,10467,
10585,10707,10830,10954,11076,11194,11308,11414,
11512,11599,11674,11736,11782,11811,11821,11812,
11786,11745,11690,11622,11543,11454,11356,11252,
11143,11029,10913,10796,10679,10563,10451,10344,
10242,10148,10063, 9988, 9925, 9875, 9840, 9813,
9789, 9767, 9747, 9729, 9713, 9699, 9687, 9676,
9667, 9660, 9654, 9649, 9646, 9644, 9644, 9644,
9646, 9649, 9652, 9657, 9662, 9668, 9674, 9682,
9689, 9697, 9706, 9714, 9723, 9733, 9742, 9751,
9760, 9769, 9778, 9786, 9794, 9802, 9809, 9816,
9821, 9827, 9831, 9835, 9837, 9839, 9840, 2003,
1998, 1984, 1961, 1930, 1891, 1846, 1795, 1738,
1677, 1612, 1543, 1471, 1398, 1323, 1247, 1171,
1096, 1021, 949, 879, 813, 750, 692, 639,
587, 531, 473, 412, 349, 286, 221, 157,
93, 30, -30, -88, -144, -197, -245, -289,
-327, -360, -386, -406, -417, -421, -416, -402,
-381, -355, -325, -291, -253, -212, -167, -119,
-68, -14, 42, 101, 162, 224, 289, 355,
423, 491, 561, 631, 701, 772, 843, 913,
984, 1053, 1122, 1190, 1256, 1322, 1385, 1446,
1506, 1563, 1618, 1670, 1719, 1764, 1807, 1846,
1881, 1912, 1939, 1961, 1979, 1992, 2000, 2003,
2558, 2556, 2549, 2537, 2522, 2502, 2479, 2453,
2424, 2392, 2358, 2322, 2284, 2245, 2204, 2163,
2121, 2079, 2037, 1996, 1955, 1915, 1877, 1840,
1804, 1768, 1728, 1685, 1638, 1590, 1540, 1488,
1435, 1383, 1331, 1279, 1229, 1181, 1135, 1092,
1052, 1016, 985, 959, 938, 924, 916, 914,
921, 933, 948, 967, 988, 1013, 1039, 1069,
1100, 1134, 1170, 1208, 1247, 1289, 1331, 1375,
1420, 1466, 1513, 1560, 1608, 1657, 1705, 1754,
1803, 1851, 1899, 1947, 1993, 2039, 2085, 2128,
2171, 2212, 2252, 2290, 2326, 2360, 2392, 2422,
2449, 2473, 2495, 2514, 2529, 2542, 2551, 2557,
2558,-18228,-18247,-18301,-18389,-18508,-18655,-18827,
-19023,-19238,-19471,-19719,-19979,-20250,-20527,-20809,
-21093,-21376,-21656,-21930,-22195,-22449,-22690,-22914,
-23119,-23303,-23479,-23665,-23857,-24054,-24255,-24458,
-24661,-24862,-25060,-25253,-25439,-25617,-25784,-25940,
-26083,-26210,-26320,-26412,-26484,-26533,-26559,-26559,
-26532,-26477,-26399,-26306,-26198,-26078,-25944,-25799,
-25642,-25474,-25297,-25110,-24915,-24712,-24502,-24286,
-24064,-23837,-23606,-23371,-23134,-22894,-22653,-22412,
-22170,-21929,-21690,-21453,-21219,-20988,-20762,-20541,
-20325,-20116,-19914,-19720,-19534,-19358,-19192,-19036,
-18892,-18761,-18641,-18536,-18445,-18369,-18308,-18264,
-18237,-18228, 25, 19, 0, -30, -71, -122,
-181, -248, -323, -403, -488, -578, -671, -766,
-862, -959,-1056,-1151,-1243,-1333,-1419,-1499,
-1574,-1641,-1701,-1757,-1813,-1869,-1925,-1980,
-2035,-2089,-2142,-2193,-2243,-2291,-2337,-2380,
-2421,-2460,-2495,-2527,-2556,-2581,-2602,-2619,
-2632,-2640,-2644,-2642,-2636,-2625,-2610,-2591,
-2568,-2541,-2511,-2478,-2442,-2403,-2361,-2318,
-2272,-2224,-2174,-2123,-2070,-2017,-1963,-1908,
-1852,-1796,-1741,-1681,-1613,-1537,-1455,-1368,
-1277,-1182,-1085, -986, -887, -788, -690, -595,
-503, -416, -333, -257, -187, -126, -74, -31,
0, 18, 25, 321, 321, 320, 318, 316,
313, 310, 306, 302, 299, 295, 291, 287,
283, 280, 277, 274, 272, 271, 270, 270,
271, 272, 275, 279, 284, 291, 299, 308,
318, 330, 342, 354, 367, 381, 395, 409,
422, 436, 449, 462, 474, 486, 496, 506,
514, 521, 527, 531, 534, 535, 536, 535,
534, 532, 529, 526, 521, 517, 511, 506,
500, 494, 487, 481, 475, 468, 462, 456,
450, 444, 439, 435, 430, 425, 420, 414,
408, 402, 396, 390, 383, 377, 371, 365,
359, 353, 348, 343, 338, 334, 330, 327,
325, 323, 321, 321,-14302,-14310,-14335,-14374,
-14427,-14493,-14571,-14660,-14759,-14867,-14984,-15107,
-15237,-15371,-15510,-15653,-15797,-15943,-16089,-16235,
-16379,-16520,-16658,-16791,-16919,-17050,-17194,-17349,
-17514,-17686,-17864,-18047,-18233,-18420,-18607,-18792,
-18973,-19150,-19319,-19480,-19631,-19770,-19896,-20007,
-20102,-20178,-20235,-20271,-20283,-20272,-20237,-20181,
-20106,-20012,-19903,-19778,-19640,-19490,-19330,-19162,
-18987,-18807,-18623,-18437,-18251,-18066,-17884,-17706,
-17534,-17370,-17216,-17072,-16940,-16813,-16679,-16541,
-16399,-16254,-16108,-15960,-15813,-15668,-15524,-15384,
-15247,-15117,-14992,-14874,-14765,-14664,-14574,-14495,
-14428,-14375,-14335,-14311,-14302, 9109, 9105, 9092,
9071, 9043, 9007, 8964, 8915, 8859, 8797, 8730,
8658, 8581, 8500, 8415, 8326, 8234, 8139, 8041,
7941, 7840, 7737, 7633, 7528, 7423, 7318, 7214,
7110, 7008, 6907, 6808, 6711, 6617, 6525, 6438,
6354, 6274, 6198, 6128, 6063, 6003, 5949, 5902,
5861, 5828, 5802, 5783, 5773, 5772, 5790, 5836,
5908, 6004, 6121, 6257, 6411, 6578, 6757, 6947,
7143, 7345, 7550, 7755, 7958, 8157, 8349, 8533,
8705, 8864, 9007, 9132, 9236, 9318, 9381, 9431,
9469, 9496, 9513, 9520, 9519, 9511, 9497, 9476,
9451, 9422, 9391, 9357, 9322, 9287, 9253, 9220,
9190, 9164, 9141, 9124, 9113, 9109,-7291,-7288,
-7281,-7269,-7252,-7231,-7206,-7176,-7144,-7107,
-7067,-7024,-6978,-6929,-6878,-6824,-6769,-6711,
-6651,-6590,-6527,-6463,-6398,-6333,-6267,-6200,
-6133,-6066,-5999,-5933,-5867,-5802,-5738,-5675,
-5614,-5554,-5495,-5439,-5385,-5333,-5284,-5237,
-5193,-5153,-5116,-5082,-5052,-5026,-5004,-4988,
-4980,-4979,-4986,-4998,-5017,-5041,-5071,-5105,
-5143,-5185,-5230,-5278,-5328,-5380,-5434,-5489,
-5544,-5599,-5654,-5708,-5761,-5812,-5861,-5912,
-5969,-6032,-6099,-6171,-6245,-6322,-6401,-6481,
-6561,-6640,-6719,-6795,-6869,-6939,-7005,-7066,
-7121,-7170,-7211,-7245,-7270,-7286,-7291,-4619,
-4615,-4601,-4579,-4549,-4511,-4466,-4414,-4355,
-4290,-4219,-4142,-4060,-3974,-3883,-3788,-3689,
-3587,-3482,-3374,-3264,-3152,-3039,-2925,-2810,
-2694,-2579,-2464,-2349,-2236,-2124,-2014,-1907,
-1802,-1699,-1600,-1505,-1414,-1327,-1246,-1169,
-1098,-1032, -973, -921, -875, -837, -807, -785,
-778, -793, -827, -879, -948,-1032,-1129,-1238,
-1358,-1486,-1622,-1763,-1908,-2056,-2204,-2352,
-2498,-2640,-2777,-2907,-3029,-3140,-3240,-3327,
-3407,-3487,-3566,-3645,-3722,-3799,-3873,-3946,
-4017,-4085,-4150,-4213,-4272,-4327,-4379,-4426,
-4469,-4507,-4540,-4568,-4590,-4606,-4616,-4619,
-23555,-23545,-23516,-23468,-23403,-23320,-23222,-23108,
-22979,-22837,-22682,-22515,-22336,-22147,-21949,-21741,
-21525,-21302,-21072,-20837,-20596,-20352,-20104,-19853,
-19601,-19348,-19095,-18843,-18592,-18343,-18097,-17855,
-17618,-17386,-17161,-16943,-16732,-16530,-16338,-16156,
-15985,-15826,-15679,-15546,-15427,-15324,-15236,-15165,
-15111,-15089,-15112,-15175,-15276,-15412,-15579,-15774,
-15994,-16236,-16497,-16773,-17062,-17360,-17664,-17971,
-18277,-18580,-18876,-19163,-19436,-19694,-19932,-20147,
-20337,-20515,-20696,-20879,-21064,-21249,-21434,-21617,
-21797,-21974,-22146,-22313,-22474,-22627,-22772,-22908,
-23034,-23148,-23250,-23340,-23415,-23475,-23519,-23546,
-23555,-32767,-32767,16753,-16545,-32767,-32767,19152,
-16545,14963, 527, -722,-1563,-1562,-1560,-1557,
-1553,-1548,-1542,-1536,-1528,-1521,-1513,-1505,
-1496,-1488,-1480,-1472,-1464,-1457,-1450,-1445,
-1440,-1435,-1432,-1430,-1430,-1430,-1431,-1433,
-1436,-1439,-1443,-1448,-1453,-1459,-1466,-1473,
-1481,-1489,-1498,-1508,-1518,-1528,-1539,-1551,
-1563,-1576,-1592,-1609,-1627,-1647,-1668,-1690,
-1712,-1735,-1758,-1781,-1803,-1825,-1847,-1867,
-1886,-1904,-1920,-1934,-1947,-1956,-1964,-1968,
-1970,-1968,-1964,-1957,-1947,-1936,-1922,-1906,
-1889,-1871,-1851,-1831,-1810,-1788,-1766,-1745,
-1723,-1702,-1682,-1662,-1644,-1627,-1611,-1597,
-1585,-1576,-1569,-1564,-1563, -103, -103, -105,
-109, -113, -119, -126, -133, -141, -149, -158,
-167, -176, -185, -194, -203, -212, -219, -227,
-233, -239, -243, -247, -249, -250, -249, -248,
-246, -243, -240, -235, -230, -224, -218, -211,
-203, -194, -185, -175, -164, -153, -141, -129,
-116, -103, -88, -70, -51, -30, -8, 15,
40, 65, 91, 117, 143, 168, 193, 217,
240, 262, 282, 301, 317, 331, 342, 350,
355, 357, 355, 350, 342, 332, 318, 303,
285, 266, 245, 223, 200, 176, 151, 127,
102, 78, 54, 31, 9, -11, -31, -48,
-64, -77, -88, -96, -101, -103,-9298,-9298,
-9299,-9301,-9303,-9305,-9308,-9311,-9315,-9319,
-9323,-9327,-9331,-9335,-9339,-9343,-9347,-9351,
-9354,-9357,-9359,-9361,-9363,-9364,-9364,-9364,
-9363,-9362,-9361,-9359,-9357,-9355,-9352,-9349,
-9346,-9342,-9338,-9334,-9330,-9325,-9320,-9315,
-9309,-9304,-9298,-9291,-9284,-9276,-9267,-9258,
-9248,-9237,-9227,-9216,-9205,-9194,-9183,-9173,
-9163,-9153,-9144,-9135,-9128,-9121,-9115,-9110,
-9107,-9105,-9104,-9105,-9107,-9110,-9115,-9120,
-9127,-9134,-9142,-9151,-9161,-9170,-9180,-9191,
-9201,-9211,-9222,-9232,-9241,-9251,-9259,-9268,
-9275,-9281,-9287,-9292,-9295,-9297,-9298,-3111,
-3112,-3113,-3115,-3118,-3121,-3125,-3129,-3133,
-3138,-3143,-3148,-3152,-3157,-3161,-3165,-3168,
-3171,-3173,-3174,-3174,-3174,-3174,-3172,-3171,
-3169,-3167,-3165,-3162,-3159,-3156,-3153,-3150,
-3146,-3143,-3139,-3136,-3132,-3129,-3125,-3122,
-3119,-3116,-3114,-3111,-3109,-3107,-3104,-3102,
-3099,-3097,-3094,-3092,-3089,-3087,-3084,-3082,
-3079,-3077,-3075,-3073,-3070,-3069,-3067,-3065,
-3064,-3062,-3061,-3060,-3059,-3059,-3058,-3058,
-3059,-3059,-3061,-3062,-3064,-3067,-3069,-3072,
-3075,-3078,-3081,-3085,-3088,-3091,-3094,-3097,
-3100,-3103,-3105,-3107,-3109,-3110,-3111,-3111,
1218, 1215, 1207, 1193, 1175, 1154, 1129, 1102,
1073, 1043, 1012, 981, 951, 922, 895, 870,
849, 831, 818, 809, 806, 807, 812, 819,
828, 840, 854, 870, 887, 906, 926, 947,
969, 991, 1014, 1037, 1060, 1083, 1105, 1127,
1148, 1167, 1186, 1203, 1218, 1233, 1248, 1264,
1280, 1296, 1312, 1329, 1345, 1362, 1378, 1394,
1410, 1425, 1440, 1454, 1468, 1481, 1494, 1505,
1516, 1526, 1534, 1542, 1548, 1553, 1557, 1559,
1560, 1558, 1553, 1545, 1535, 1522, 1507, 1490,
1471, 1452, 1432, 1411, 1389, 1368, 1347, 1326,
1307, 1289, 1272, 1257, 1244, 1233, 1225, 1220,
1218,17968,17968,17967,17967,17967,17967,17966,
17966,17965,17965,17965,17964,17964,17963,17963,
17962,17962,17962,17962,17962,17961,17962,17962,
17962,17962,17962,17962,17962,17963,17963,17963,
17963,17964,17964,17964,17965,17965,17965,17966,
17966,17966,17967,17967,17967,17968,17968,17968,
17968,17969,17969,17969,17970,17970,17970,17971,
17971,17971,17972,17972,17972,17973,17973,17973,
17973,17974,17974,17974,17974,17974,17974,17974,
17975,17975,17975,17974,17974,17974,17974,17973,
17973,17973,17972,17972,17972,17971,17971,17970,
17970,17969,17969,17969,17968,17968,17968,17968,
17968,17968
};
static short mario_h_carry_walk_tbl[]={
1, 1, /* chn14_2translate x */
97, 2, /* chn14_2 translate y */
1, 99, /* chn14_2 translate z */
1, 0, /* chn14_2 rotate x */
1, 100, /* chn14_2 rotate y */
1, 0, /* chn14_2 rotate z */
97, 1775, /* <m_waist>1_3_3 rotate x */
97, 1872, /* <m_waist>1_3_3 rotate y */
97, 1969, /* <m_waist>1_3_3 rotate z */
97, 1484, /* <m_body>1_3 rotate x */
97, 1581, /* <m_body>1_3 rotate y */
97, 1678, /* <m_body>1_3 rotate z */
1, 1481, /* <m_head>2_3 rotate x */
1, 1482, /* <m_head>2_3 rotate y */
1, 1483, /* <m_head>2_3 rotate z */
1, 1477, /* chn6_3 rotate x */
1, 1478, /* chn6_3 rotate y */
1, 1479, /* chn6_3 rotate z */
1, 105, /* <m_larmA>1_1_3 rotate x */
1, 106, /* <m_larmA>1_1_3 rotate y */
1, 107, /* <m_larmA>1_1_3 rotate z */
1, 0, /* <m_larmB>1_3 rotate x */
1, 0, /* <m_larmB>1_3 rotate y */
1, 104, /* <m_larmB>1_3 rotate z */
1, 101, /* <m_lhand>1_3 rotate x */
1, 102, /* <m_lhand>1_3 rotate y */
1, 103, /* <m_lhand>1_3 rotate z */
1, 1473, /* chn10_3 rotate x */
1, 1474, /* chn10_3 rotate y */
1, 1475, /* chn10_3 rotate z */
1, 112, /* <m_rarmA>1_1_3 rotate x */
1, 113, /* <m_rarmA>1_1_3 rotate y */
1, 114, /* <m_rarmA>1_1_3 rotate z */
1, 0, /* <m_rarmB>1_3 rotate x */
1, 0, /* <m_rarmB>1_3 rotate y */
1, 111, /* <m_rarmB>1_3 rotate z */
1, 108, /* <m_rhand>1_3 rotate x */
1, 109, /* <m_rhand>1_3 rotate y */
1, 110, /* <m_rhand>1_3 rotate z */
1, 0, /* chn15_3 rotate x */
1, 0, /* chn15_3 rotate y */
1, 1476, /* chn15_3 rotate z */
97, 1182, /* <m_llegA>1_3 rotate x */
97, 1279, /* <m_llegA>1_3 rotate y */
97, 1376, /* <m_llegA>1_3 rotate z */
1, 0, /* <m_llegB>1_3 rotate x */
1, 0, /* <m_llegB>1_3 rotate y */
97, 1085, /* <m_llegB>1_3 rotate z */
97, 794, /* <m_ltoot>1_3 rotate x */
97, 891, /* <m_ltoot>1_3 rotate y */
97, 988, /* <m_ltoot>1_3 rotate z */
1, 0, /* chn17_3 rotate x */
1, 0, /* chn17_3 rotate y */
1, 1480, /* chn17_3 rotate z */
97, 503, /* <m_rlegA>1_3 rotate x */
97, 600, /* <m_rlegA>1_3 rotate y */
97, 697, /* <m_rlegA>1_3 rotate z */
1, 0, /* <m_rlegB>1_3 rotate x */
1, 0, /* <m_rlegB>1_3 rotate y */
97, 406, /* <m_rlegB>1_3 rotate z */
97, 115, /* <m_rfoot>1_3 rotate x */
97, 212, /* <m_rfoot>1_3 rotate y */
97, 309, /* <m_rfoot>1_3 rotate z */
};
AnimeRecord animMarioTransfer = {
MAP_ANIM_NORMAL, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
97, /* number of frames */
20, /* number of joints */
mario_h_carry_walk_prm,
mario_h_carry_walk_tbl
};