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

216 lines
9.2 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario u-turn junmping animation data
Copyright 1995 Nintendo co., ltd. All rights reserved
December 19, 1995
********************************************************************************/
#include "../headers.h"
static short mario_U_roll_start_prm[]={
0, 108, 112, 116, 120, 124, 128, 132,
136, 140, 145, 149, 153, 157, 161, 165,
169, 173, 177, 180, 183, 187, 189, 192,
195,16383, 4659, 4826, 4767, 4699, 4718, 4659,
4498, 4324, 4140, 3946, 3744, 3535, 3321, 3103,
2883, 2661, 2439, 2218, 2001, 1787, 1579, 1378,
1186, 1002, 817, 903, 872, 837, 847, 817,
730, 638, 540, 436, 328, 217, 103, -12,
-130, -249, -367, -485, -601, -715, -825, -933,
-1036,-1133,-9085,-9263,-9199,-9127,-9142,-9085,
-8934,-8771,-8598,-8417,-8228,-8032,-7832,-7628,
-7422,-7214,-7006,-6800,-6596,-6397,-6202,-6014,
-5834,-5663,-3963,-2535,-1026, -325,-2136,-3963,
-3685,-2956,-2030,-1157, -591, -583, -985,-1476,
-2044,-2680,-3373,-4112,-4887,-5688,-6504,-7325,
-8140,-8939,-13761,-11483,-7572,-5911,-6812,-7968,
-9340,-10891,-12583,-14377,-16234,-18118,-19988,-21808,
-23540,-25143,-26582,-27816,-28809,-29521,-29915,-29953,
-29259,-27613,-2307,-2928,-4158,-5094,-5583,-6078,
-6576,-7075,-7572,-8064,-8548,-9023,-9485,-9932,
-10361,-10770,-11156,-11516,-11849,-12150,-12418,-12650,
-12807,-12865, 913,-3110,-10018,-13328,-12503,-11356,
-9930,-8269,-6419,-4424,-2327, -174, 1991, 4125,
6182, 8119, 9891,11454,12763,13774,14443,14725,
14279,12916,-10148,-10324,-10236,-10148,-10209,-10148,
-9893,-9619,-9327,-9020,-8700,-8369,-8030,-7683,
-7333,-6980,-6627,-6277,-5931,-5591,-5260,-4940,
-4633,-4341,-13871,-10999,-6170,-2503,-1979,-2503,
-2514,-2473,-2414,-2369,-2371,-2455,-2653,-2999,
-3470,-4015,-4623,-5284,-5987,-6721,-7476,-8242,
-9007,-9761,-12333,-10737,-5932, 267, 6048, 9594,
11405,13180,14905,16567,18151,19644,21032,22301,
23437,24427,25257,25912,26380,26645,26695,26515,
25769,24236,10095,10393,11001,11712,12316,12606,
12651,12663,12645,12602,12537,12454,12356,12247,
12131,12012,11893,11779,11672,11577,11497,11436,
11389,11350,-31781,-30158,-25175,-18711,-12646,-8858,
-6846,-4863,-2925,-1047, 755, 2467, 4074, 5560,
6911, 8110, 9143, 9994,10649,11092,11307,11281,
10673, 9265, -348, -300, -225, -169, -161, -169,
-172, -180, -193, -208, -226, -245, -264, -282,
-298, -310, -319, -322, -318, -307, -288, -259,
-220, -169, 494, 549, 569, 580, 584, 580,
581, 584, 588, 593, 599, 605, 611, 617,
622, 626, 629, 630, 629, 625, 619, 609,
597, 580,-20424,-19782,-18204,-16978,-16823,-16978,
-16979,-16979,-16980,-16982,-16983,-16985,-16987,-16988,
-16989,-16991,-16991,-16992,-16991,-16990,-16989,-16986,
-16983,-16978,21834,24225,24885,24225,19910,15985,
15003,14055,13141,12262,11418,10610, 9838, 9103,
8405, 7745, 7123, 6540, 5996, 5492, 5029, 4607,
4226, 3886,10772, 8076, 3732, 342, -668, -594,
-424, -178, 119, 449, 787, 1114, 1406, 1642,
1800, 1858, 1769, 1529, 1184, 778, 353, -43,
-369, -579,10578, 6843, 1510,-2482,-3090,-2434,
-2237,-2019,-1785,-1542,-1298,-1057, -827, -615,
-426, -267, -161, -111, -100, -107, -115, -103,
-53, 52,-12846,-17065,-23989,-28804,-27535,-24835,
-24135,-23455,-22809,-22209,-21668,-21200,-20817,-20533,
-20361,-20314,-20453,-20802,-21324,-21981,-22733,-23544,
-24373,-25184, 208, 106, -51, -15, 62, 208,
203, 188, 166, 140, 115, 93, 77, 71,
78, 94, 118, 146, 174, 200, 219, 229,
227, 208, -200, -237, -265, -282, -282, -200,
-211, -228, -250, -274, -297, -317, -331, -336,
-335, -332, -326, -318, -306, -292, -274, -253,
-229, -200,-15958,-13894,-7063,-7485,-9838,-15958,
-15596,-14783,-13674,-12421,-11178,-10100,-9341,-9053,
-9182,-9543,-10095,-10799,-11614,-12500,-13418,-14327,
-15187,-15958,19086, 8140, 1308, 2452, 4760, 5423,
5403, 5339, 5244, 5134, 5022, 4925, 4856, 4829,
4800, 4729, 4639, 4553, 4494, 4486, 4552, 4714,
4997, 5423, -68, 1840, 1512, 848, 60, -675,
-1399,-2229,-3098,-3939,-4687,-5276,-5640,-5713,
-5487,-5033,-4399,-3633,-2785,-1902,-1034, -230,
462, 993, 3946, 1153, -632,-2190,-3804,-4633,
-4685,-4556,-4288,-3925,-3509,-3083,-2690,-2373,
-2102,-1824,-1544,-1267, -998, -743, -508, -297,
-116, 28,-30886,-19615,-15629,-15371,-15733,-16229,
-16642,-17080,-17539,-18018,-18513,-19024,-19546,-20079,
-20607,-21121,-21629,-22140,-22660,-23197,-23759,-24354,
-24990,-25673,-32767,-32767,16753,-16545,-16538,-16539,
-16542,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
-16545,-16545,-16545,-16545,-16545,-32767,-32767,16753,
-3460,-2549,-1097, 0, 155, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
5694, 4196, 1806, 0, -256, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-23859,-21934,-18866,-16545,-16216,-16545,-16545,-16545,
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
-16545,-16545,-16545,-16545,-16545,-16545,-16545,-16545,
4913, 7652, 7490, 5666, 4321, 2857, 1339, -165,
-1591,-2870,-4125,-5327,-6180,-6393,-6087,-5608,
-4992,-4278,-3503,-2702,-1914,-1177, -526, 0,
3450, 3850, 3338, 2318, 1488, 592, -319,-1197,
-1989,-2646,-3137,-3457,-3585,-3505,-3275,-2976,
-2624,-2235,-1824,-1408,-1001, -620, -281, 0,
-3821,-5092,-3658,-2064,-2788,-3926,-5291,-6696,
-7957,-8887,-9512,-9880,-9833,-9215,-8146,-6884,
-5476,-3971,-2418, -864, 641, 2052, 3318, 4392,
2200, 2331, 2438, 2506, 2521, 2469, 2372, 2265,
2148, 2023, 1891, 1753, 1610, 1462, 1311, 1159,
1005, 851, 699, 548, 401, 259, 105, 0,
-192, 127, 598, 1096, 1496, 1675, 1690, 1682,
1653, 1605, 1541, 1463, 1373, 1273, 1166, 1053,
936, 819, 703, 590, 482, 382, 184, 0,
3380, 2852, 1913, 842, -80, -574, -751, -912,
-1053,-1174,-1274,-1351,-1404,-1432,-1432,-1406,
-1349,-1263,-1145, -993, -807, -586, 1404, 3640,
13593,13762,14019,14454,15024,15625,16259,16931,
17641,18392,19187,20029,20919,21886,22943,24065,
25232,26420,27608,28774,29895,30949,31913,-32767,
-572, -430, -316, -268, -288, -340, -415, -504,
-596, -682, -751, -795, -803, -777, -731, -667,
-589, -502, -409, -315, -223, -137, -61, 0,
11319,10558, 9384, 7648, 5549, 3294, 896,-1632,
-4279,-7030,-9873,-12795,-15784,-18991,-22513,-26257,
-30127,31504,27666,23985,20556,17475,14835,12732
};
static short mario_U_roll_start_tbl[]={
1, 0, /* chn14_2_1translate x */
24, 1, /* chn14_2_1 translate y */
1, 0, /* chn14_2_1 translate z */
1, 0, /* chn14_2_1 rotate x */
1, 25, /* chn14_2_1 rotate y */
1, 0, /* chn14_2_1 rotate z */
24, 896, /* <m_waist>1_3 rotate x */
24, 920, /* <m_waist>1_3 rotate y */
24, 944, /* <m_waist>1_3 rotate z */
24, 824, /* <m_body>1 rotate x */
24, 848, /* <m_body>1 rotate y */
24, 872, /* <m_body>1 rotate z */
24, 752, /* <m_head>2 rotate x */
24, 776, /* <m_head>2 rotate y */
24, 800, /* <m_head>2 rotate z */
1, 677, /* chn6 rotate x */
1, 678, /* chn6 rotate y */
1, 679, /* chn6 rotate z */
24, 122, /* <m_larmA>1_2 rotate x */
24, 146, /* <m_larmA>1_2 rotate y */
24, 170, /* <m_larmA>1_2 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
24, 98, /* <m_larmB>1 rotate z */
24, 26, /* <m_lhand>1 rotate x */
24, 50, /* <m_lhand>1 rotate y */
24, 74, /* <m_lhand>1 rotate z */
1, 650, /* chn10 rotate x */
1, 651, /* chn10 rotate y */
1, 652, /* chn10 rotate z */
24, 242, /* <m_rarmA>1_2 rotate x */
24, 266, /* <m_rarmA>1_2 rotate y */
24, 290, /* <m_rarmA>1_2 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
24, 218, /* <m_rarmB>1 rotate z */
1, 0, /* <m_rhand>1 rotate x */
1, 0, /* <m_rhand>1 rotate y */
24, 194, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
24, 653, /* chn15 rotate z */
24, 578, /* <m_llegA>1 rotate x */
24, 602, /* <m_llegA>1 rotate y */
24, 626, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
24, 554, /* <m_llegB>1 rotate z */
24, 482, /* <m_ltoot>1 rotate x */
24, 506, /* <m_ltoot>1 rotate y */
24, 530, /* <m_ltoot>1 rotate z */
24, 680, /* chn17 rotate x */
24, 704, /* chn17 rotate y */
24, 728, /* chn17 rotate z */
24, 410, /* <m_rlegA>1 rotate x */
24, 434, /* <m_rlegA>1 rotate y */
24, 458, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
24, 386, /* <m_rlegB>1 rotate z */
24, 314, /* <m_rfoot>1 rotate x */
24, 338, /* <m_rfoot>1 rotate y */
24, 362, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioUJumping = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
24, /* number of frames */
20, /* number of joints */
mario_U_roll_start_prm,
mario_U_roll_start_tbl
};