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

237 lines
10 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario back jumping animation data
Copyright 1996 Nintendo co., ltd. All rights reserved
January 18, 1996
********************************************************************************/
#include "../headers.h"
static short mario_Z_back_jump_prm[]={
0, 123, 124, 124, 125, 126, 126, 127,
129, 130, 132, 134, 136, 138, 140, 142,
143, 143, 144, 144, 145, 145, 147, 148,
149, 149, 149, 149, 148, 147, 146, 146,
145, 144, 4, 8, 13, 18, 21, 22,
16, 6, -1, -3, -3, -3, -3, -1,
0, 3, 7, 12, 17, 21, 22, 20,
13, 6, 2, 2, 2, 3, 4, 6,
7, 7, 7,16383, 0, 0, 0, -1,
-2, -3, -5, -6, -8, -9, -11, -12,
-14, -15, -16, -16, -16, -16, -15, -14,
-13, -10, -7, -4, 0, 6, 15, 26,
38, 53, 68, 84, 100,-1668,-1668,-1668,
-1668,-1668,-1669,-1669,-1669,-1669,-1669,-1669,
-1669,-1669,-1669,-1669,-1669,-1669,-1669,-1669,
-1669,-1669,-1669,-1669,-1669,-1668,-1668,-1667,
-1667,-1666,-1665,-1665,-1664,-1663,-4724,-4723,
-4720,-4715,-4708,-4700,-4691,-4681,-4672,-4662,
-4652,-4643,-4635,-4629,-4623,-4620,-4619,-4620,
-4624,-4631,-4642,-4656,-4674,-4697,-4724,-4763,
-4819,-4888,-4969,-5059,-5156,-5256,-5357,-1355,
-1376,-1384,-1381,-1368,-1346,-1317,-1281,-1240,
-1194,-1145,-1094,-1042, -990, -940, -892, -847,
-807, -773, -745, -726, -715, -715, -726, -750,
-775, -803, -858, -962,-1139,-1411,-1800,-2331,
10840,10508, 9544, 8065, 6187, 4025, 1694, -687,
-3007,-5148,-6994,-8704,-10496,-12345,-14225,-16113,
-17982,-19807,-21564,-23226,-24769,-26168,-27398,-28433,
-29248,-29686,-29641,-29165,-28309,-27127,-25669,-23987,
-22134,-4066,-4469,-5191,-6154,-7279,-8488,-9704,
-10846,-11838,-12600,-13054,-13262,-13348,-13328,-13218,
-13034,-12792,-12508,-12198,-11877,-11563,-11271,-11016,
-10816,-10685,-10580,-10465,-10368,-10315,-10332,-10449,
-10690,-11084,21819,21232,21805,23333,25613,28441,
31615,-30602,-27348,-24359,-21839,-19545,-17124,-14607,
-12029,-9422,-6820,-4255,-1761, 627, 2879, 4961,
6840, 8481, 9853,10733,10987,10711,10003, 8960,
7680, 6261, 4798,-2743,-2740,-2733,-2721,-2706,
-2688,-2668,-2646,-2624,-2602,-2581,-2561,-2543,
-2527,-2516,-2508,-2506,-2508,-2518,-2534,-2557,
-2589,-2631,-2681,-2743,-2865,-3080,-3363,-3688,
-4029,-4360,-4656,-4891,-3754,-3860,-3947,-4016,
-4068,-4104,-4125,-4132,-4128,-4111,-4085,-4049,
-4005,-3954,-3897,-3836,-3771,-3703,-3634,-3564,
-3495,-3428,-3364,-3304,-3249,-3093,-2780,-2390,
-2004,-1701,-1560,-1662,-2086,-13950,-13241,-11752,
-9638,-7053,-4153,-1092, 1973, 4890, 7502, 9654,
11546,13465,15392,17305,19185,21011,22762,24419,
25961,27367,28617,29691,30568,31228,31300,30569,
29254,27570,25736,23967,22481,21494, 5874, 6129,
6608, 7258, 8025, 8853, 9690,10481,11172,11709,
12038,12197,12271,12270,12208,12096,11947,11773,
11585,11397,11220,11066,10949,10879,10869,10915,
11005,11142,11326,11558,11841,12176,12564,21955,
21820,22824,24755,27403,30557,-31528,-27996,-24590,
-21521,-19002,-16794,-14537,-12250,-9954,-7670,-5419,
-3220,-1095, 934, 2850, 4630, 6254, 7701, 8951,
9697, 9766, 9333, 8578, 7676, 6805, 6141, 5862,
-92, -48, -13, 12, 31, 43, 49, 49,
45, 37, 26, 13, -2, -18, -34, -50,
-64, -76, -86, -92, -93, -90, -81, -68,
-51, -32, -10, 11, 33, 55, 74, 92,
105, -187, -189, -191, -192, -193, -194, -195,
-195, -195, -195, -195, -194, -194, -193, -192,
-191, -191, -190, -189, -188, -187, -186, -185,
-183, -180, -177, -174, -170, -167, -164, -162,
-161, -160,-9065,-8515,-8038,-7630,-7290,-7014,
-6799,-6641,-6538,-6487,-6484,-6526,-6610,-6733,
-6893,-7085,-7306,-7555,-7827,-8119,-8429,-8753,
-9228,-9959,-10895,-11986,-13180,-14428,-15678,-16880,
-17982,-18934,-19686, 7962, 7568, 7261, 7033, 6880,
6795, 6773, 6806, 6890, 7017, 7183, 7380, 7604,
7847, 8104, 8369, 8636, 8898, 9150, 9385, 9598,
9783, 9971,10195,10454,10743,11061,11403,11767,
12150,12548,12959,13380, 1888, 1801, 1731, 1674,
1628, 1588, 1549, 1509, 1470, 1433, 1400, 1373,
1352, 1339, 1337, 1364, 1427, 1508, 1587, 1647,
1668, 1631, 1538, 1409, 1252, 1076, 891, 704,
526, 365, 230, 129, 73, 225, 9, -122,
-188, -210, -207, -183, -134, -65, 14, 99,
182, 256, 315, 350, 353, 328, 285, 233,
185, 150, 138, 139, 134, 128, 124, 125,
134, 155, 191, 246, 323, 426,-16723,-15450,
-14748,-14467,-14457,-14570,-14787,-15160,-15647,-16204,
-16788,-17354,-17860,-18262,-18517,-18539,-18335,-18001,
-17630,-17319,-17161,-17252,-17534,-17882,-18289,-18749,
-19255,-19801,-20379,-20984,-21609,-22247,-22891, 0,
37, 69, 94, 114, 129, 139, 145, 147,
146, 142, 135, 126, 115, 103, 90, 77,
64, 51, 39, 28, 19, 12, 7, 6,
5, 5, 4, 4, 3, 2, 1, 1,
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,-9483,-9014,-8601,-8242,-7935,-7677,-7467,
-7301,-7178,-7095,-7049,-7039,-7062,-7116,-7198,
-7306,-7437,-7590,-7762,-7951,-8154,-8369,-8593,
-8825,-9061,-9496,-10267,-11288,-12474,-13739,-14998,
-16164,-17153, 8171, 8227, 8365, 8578, 8861, 9207,
9611,10066,10568,11109,11685,12289,12915,13558,
14212,14870,15527,16177,16814,17433,18027,18590,
19117,19601,20038,20437,20802,21117,21366,21534,
21603,21559,21385,-1605,-1599,-1551,-1479,-1404,
-1347,-1303,-1257,-1208,-1159,-1108,-1057,-1006,
-955, -906, -858, -812, -769, -729, -692, -660,
-632, -609, -591, -580, -598, -658, -748, -851,
-955,-1044,-1105,-1124, -306, -5, 164, 235,
241, 217, 183, 142, 93, 38, -22, -88,
-158, -231, -307, -383, -461, -538, -615, -689,
-761, -830, -894, -953,-1005,-1046,-1072,-1088,
-1096,-1101,-1108,-1119,-1139,-16610,-15438,-14835,
-14676,-14840,-15205,-15664,-16188,-16769,-17398,-18067,
-18767,-19490,-20227,-20970,-21710,-22439,-23147,-23827,
-24471,-25068,-25612,-26093,-26503,-26834,-26896,-26583,
-26005,-25276,-24507,-23810,-23298,-23082,-32767,-32767,
16753,-16545,-32767,-32767,16753,-16545, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-1, -5, -12, -19, -28, -36, -44, -50,
-54, -56, -54, -48, -38, -22, 0, 44,
121, 217, 321, 423, 509, 570, 592,-5724,
-5965,-6308,-6702,-7093,-7430,-7661,-7734,-7597,
-7197,-6563,-5777,-4861,-3839,-2736,-1575, -380,
823, 2014, 3166, 4256, 5261, 6156, 6916, 7519,
7854, 7870, 7630, 7199, 6642, 6022, 5404, 4852,
0, 0, 0, 0, 0, 0, 1, 2,
3, 5, 6, 7, 9, 10, 11, 12,
12, 12, 12, 12, 10, 9, 6, 3,
0, -8, -24, -45, -67, -89, -106, -118,
-120, 0, 0, 0, 0, 0, 2, 6,
10, 15, 20, 26, 31, 37, 42, 46,
49, 51, 52, 51, 49, 44, 37, 27,
15, 0, -33, -94, -172, -258, -342, -415,
-467, -489, 615,-1873,-4291,-5437,-5521,-5558,
-5551,-5503,-5419,-5301,-5154,-4981,-4786,-4572,
-4343,-4103,-3855,-3603,-3350,-3101,-2858,-2625,
-2407,-2206,-2026,-1700,-1105, -309, 614, 1598,
2571, 3462, 4202,12467, 8546, 4461, 228,-4139,
-8624,-13213,-17889,-22637,-27441,-32287,28374,23491,
18614,13756, 8935, 4164, -540,-5162,-9688,-14101,
-18386,-22527,-26510,-30319,31594,28180,24985,22026,
19319,16877,14718,12855
};
static short mario_Z_back_jump_tbl[]={
1, 0, /* chn14_3_1translate x */
33, 1, /* chn14_3_1 translate y */
33, 34, /* chn14_3_1 translate z */
1, 0, /* chn14_3_1 rotate x */
1, 67, /* chn14_3_1 rotate y */
1, 0, /* chn14_3_1 rotate z */
1, 0, /* <m_waist>1_3 rotate x */
1, 0, /* <m_waist>1_3 rotate y */
33, 1099, /* <m_waist>1_3 rotate z */
33, 1000, /* <m_body>1 rotate x */
33, 1033, /* <m_body>1 rotate y */
33, 1066, /* <m_body>1 rotate z */
1, 0, /* <m_head>2 rotate x */
33, 934, /* <m_head>2 rotate y */
33, 967, /* <m_head>2 rotate z */
1, 930, /* chn6 rotate x */
1, 931, /* chn6 rotate y */
1, 932, /* chn6 rotate z */
33, 200, /* <m_larmA>1_1 rotate x */
33, 233, /* <m_larmA>1_1 rotate y */
33, 266, /* <m_larmA>1_1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
33, 167, /* <m_larmB>1 rotate z */
33, 68, /* <m_lhand>1 rotate x */
33, 101, /* <m_lhand>1 rotate y */
33, 134, /* <m_lhand>1 rotate z */
1, 926, /* chn10 rotate x */
1, 927, /* chn10 rotate y */
1, 928, /* chn10 rotate z */
33, 365, /* <m_rarmA>1_1 rotate x */
33, 398, /* <m_rarmA>1_1 rotate y */
33, 431, /* <m_rarmA>1_1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
33, 332, /* <m_rarmB>1 rotate z */
1, 0, /* <m_rhand>1 rotate x */
1, 0, /* <m_rhand>1 rotate y */
33, 299, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
1, 929, /* chn15 rotate z */
33, 827, /* <m_llegA>1 rotate x */
33, 860, /* <m_llegA>1 rotate y */
33, 893, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
33, 794, /* <m_llegB>1 rotate z */
33, 695, /* <m_ltoot>1 rotate x */
33, 728, /* <m_ltoot>1 rotate y */
33, 761, /* <m_ltoot>1 rotate z */
1, 0, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
1, 933, /* chn17 rotate z */
33, 596, /* <m_rlegA>1 rotate x */
33, 629, /* <m_rlegA>1 rotate y */
33, 662, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
33, 563, /* <m_rlegB>1 rotate z */
33, 464, /* <m_rfoot>1 rotate x */
33, 497, /* <m_rfoot>1 rotate y */
33, 530, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioBackJumping = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
33, /* number of frames */
20, /* number of joints */
mario_Z_back_jump_prm,
mario_Z_back_jump_tbl
};