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

282 lines
12 KiB
C

/********************************************************************************
Ultra 64 MARIO Brothers
mario chasing animation data
Copyright 1996 Nintendo co., ltd. All rights reserved
May 5, 1996
********************************************************************************/
#include "../headers.h"
static short mario_slide_down_prm[]={
0, 166, 170, 170, 159, 145, 130, 114,
99, 84, 73, 65, 62, 67, 80, 93,
98, 82, 66, 73, 80, 74, 66, 66,
69, 70, 67, 65, 64, 64, 66, 70,
87, 108, 121, 131, 142, 153, 160, 166,
170, 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,
0,16383,-1668,-4724,-10985,-10985,-10985,-11025,
-11139,-11315,-11545,-11816,-12120,-12445,-12782,-13119,
-13764,-14604,-14999,-14454,-13464,-12864,-13612,-14365,
-13441,-12394,-12140,-12045,-12020,-11972,-11813,-11450,
-10636,-9422,-8165,-7224,-6956,-7456,-8443,-9720,
-11087,-12345,-13294,-13735,-11922,-11922,-11922,-11957,
-12050,-12181,-12332,-12481,-12610,-12700,-12731,-12684,
-12578,-12448,-12297,-12127,-11941,-11741,-11531,-11313,
-11090,-10863,-10637,-10412,-10193,-9982,-9780,-9592,
-9513,-9543,-9541,-9369,-8886,-7974,-6721,-5297,
-3870,-2609,-1683,-1261,-8609,-8609,-8609,-8620,
-8646,-8673,-8691,-8685,-8645,-8557,-8410,-8191,
-7906,-7575,-7205,-6804,-6378,-5935,-5482,-5025,
-4573,-4132,-3709,-3312,-2948,-2623,-2346,-2123,
-2084,-2318,-2771,-3393,-4128,-5096,-6347,-7729,
-9092,-10284,-11153,-11547, 2445, 2445, 2445, 2508,
2670, 2896, 3148, 3389, 3582, 3690, 3676, 3504,
3201, 2827, 2392, 1906, 1380, 824, 248, -337,
-923,-1499,-2053,-2577,-3060,-3492,-3863,-4162,
-4007,-3298,-2445,-1859,-1952,-2857,-4280,-5990,
-7755,-9345,-10528,-11072,-5287,-5287,-5287,-5314,
-5388,-5496,-5626,-5766,-5904,-6028,-6125,-6185,
-6223,-6266,-6310,-6355,-6398,-6437,-6470,-6496,
-6512,-6516,-6506,-6481,-6438,-6376,-6292,-6185,
-5892,-5349,-4702,-4094,-3670,-3412,-3200,-3032,
-2905,-2817,-2763,-2743,-8729,-8729,-8729,-8706,
-8652,-8584,-8521,-8483,-8487,-8554,-8701,-8947,
-9856,-11321,-12354,-11881,-11392,-12455,-13935,-14637,
-12919,-10965,-10543,-10339,-10276,-10282,-10281,-10199,
-9960,-9626,-9325,-9187,-9341,-9862,-10654,-11595,
-12560,-13426,-14069,-14364,-26669,-26669,-26669,-26539,
-26191,-25686,-25084,-24446,-23833,-23306,-22926,-22753,
-22655,-22472,-22233,-21960,-21681,-21420,-21204,-21057,
-21006,-21075,-21291,-21678,-22263,-23071,-24127,-25457,
-28833,30587,23335,16539,11797, 8888, 6503, 4613,
3184, 2187, 1589, 1360,12275,12275,12275,12237,
12143,12026,11915,11841,11837,11932,12157,12545,
13122,13877,14774,15780,16863,17989,19123,20234,
21287,22249,23086,23766,24255,24519,24525,24239,
21945,17047,11199, 6050, 3254, 2884, 3657, 5189,
7094, 8989,10487,11205,22309,22309,22309,22374,
22557,22837,23194,23606,24054,24516,24972,25402,
25932,26672,27573,28589,29672,30776,31853,-32676,
-31795,-31081,-30583,-30348,-30423,-30855,-31691,32554,
28091,19429, 9072, -476,-6715,-9828,-11821,-12925,
-13370,-13389,-13212,-13070, 154, 140, 125, 105,
62, 19, -18, -55, -80, -86, -80, -74,
-67, -53, -34, -11, 13, 38, 63, 85,
102, 114, 118, 112, 97, 68, 26, -31,
-260, -688,-1131,-1402, -647, -427, -285, -187,
-101, -35, -6, 0, -147, -159, -172, -180,
-195, -206, -205, -199, -195, -194, -194, -194,
-196, -199, -204, -210, -216, -223, -229, -234,
-239, -242, -243, -241, -237, -230, -220, -206,
-88, 119, 250, 134,-1681,-1807,-1697,-1466,
-1226, -890, -465, -215,-22268,-21329,-20390,-19349,
-17078,-14855,-12923,-11041,-9762,-9471,-9784,-10108,
-10226,-10315,-10382,-10435,-10479,-10521,-10569,-10627,
-10704,-10805,-10938,-11108,-11323,-11588,-11912,-12299,
-13197,-14792,-16702,-18544,-20698,-20620,-20273,-19674,
-18835,-17214,-15132,-13896,20150,20916,21193,20069,
18706,17176,15552,13909,12318,10420, 8440, 7336,
7884, 9306,10229, 9907, 9085, 8629, 9406,10303,
9933, 9647,10083,10567,11135,11822,12664,13699,
15212,17206,19288,21068,21186,19268,16937,14442,
12031, 9949, 8446, 7769, 5053, 5053, 5053, 3332,
30,-2062,-1610, 50, 1701, 3168, 4624, 5369,
5514, 5640, 5746, 5830, 5891, 5927, 5937, 5920,
5875, 5799, 5691, 5551, 5377, 5166, 4919, 4633,
3700, 2001, 276, -737, 2569, 3494, 4371, 5169,
5855, 6397, 6761, 6917, 4747, 4747, 4747, 5134,
5929, 6581, 6924, 7125, 7132, 6805, 6285, 5939,
5802, 5666, 5532, 5401, 5274, 5154, 5040, 4934,
4838, 4752, 4679, 4618, 4572, 4542, 4529, 4533,
4738, 5205, 5759, 6225, 6347, 6081, 5751, 5393,
5044, 4741, 4522, 4423,-26688,-26688,-26688,-29699,
30019,26230,26767,29328,31836,-31598,-29551,-28563,
-28469,-28430,-28444,-28505,-28609,-28751,-28928,-29135,
-29367,-29620,-29890,-30173,-30463,-30757,-31051,-31339,
-32043,32358,31417,31286,-28944,-27385,-25886,-24508,
-23313,-22363,-21719,-21442, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
-11, -42, -89, -146, -210, -275, -337, -391,
-434, -459, -463, -440, -388, -300, -172, 0,
632, 1815, 3071, 3919, 2415, 1733, 1166, 700,
323, 89, 7, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, -3, -7, -11, -17, -22, -27, -31,
-35, -37, -37, -35, -31, -24, -14, 0,
59, 170, 275, 319, -27, -58, -43, -11,
8, 8, 3, 0,-13342,-13176,-13442,-15016,
-16953,-17666,-16016,-13143,-10880,-9962,-9654,-9588,
-9516,-9440,-9361,-9284,-9211,-9146,-9091,-9050,
-9026,-9022,-9041,-9085,-9159,-9266,-9407,-9588,
-10078,-11030,-12263,-13598,-16218,-16739,-16962,-17019,
-17043,-16956,-16733,-16580,19122,20447,21398,20446,
19165,17674,16094,14544,13144,11622,10222, 9840,
11387,13951,15695,15593,14671,14157,15210,16197,
15141,14035,13969,14022,14181,14433,14763,15159,
15777,16642,17546,18278,18042,16797,15309,13728,
12208,10901, 9960, 9536, 923, 923, 923, 1416,
2254, 2477, 1657, 222,-1511,-3977,-6741,-8182,
-8382,-8509,-8569,-8567,-8512,-8407,-8261,-8078,
-7864,-7627,-7373,-7106,-6835,-6564,-6300,-6048,
-5521,-4658,-3811,-3333,-5163,-6121,-7147,-8165,
-9102,-9882,-10430,-10672,-6643,-6643,-6643,-6501,
-6287,-6321,-6919,-7765,-8230,-7833,-7055,-6709,
-6877,-7092,-7347,-7635,-7948,-8279,-8620,-8963,
-9302,-9629,-9935,-10215,-10459,-10661,-10813,-10908,
-10538,-9614,-8605,-7979,-9519,-9017,-8298,-7464,
-6620,-5869,-5315,-5061,30562,30562,30562,29665,
27971,26977,27384,28490,29690,31068,32539,-32284,
-32264,-32288,-32352,-32453,-32585,-32746,32603,32398,
32177,31944,31703,31458,31213,30972,30739,30518,
29952,29093,28561,28973,-29563,-27418,-25333,-23401,
-21714,-20365,-19446,-19050,-32767,-32767,16753,-16545,
-16563,-16589,-16605,-16623,-16640,-16653,-16661,-16661,
-16676,-16669,-16545,-16314,-16054,-15771,-15470,-15158,
-14839,-14520,-14207,-13905,-13619,-13356,-13122,-12921,
-12761,-12646,-12582,-12918,-13784,-14858,-15816,-16545,
-16611,-16638,-16636,-16615,-16586,-16559,-16545,-32767,
-32767,16753, 56, 56, 56, 55, 52, 47,
42, 36, 29, 19, 7, 0, -1, -2,
-3, -3, -3, -3, -3, -3, -2, -2,
-1, -1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0,-16581,-16581,-16581,-16580,-16578,-16576,
-16572,-16568,-16564,-16558,-16549,-16545,-16536,-16514,
-16481,-16441,-16397,-16352,-16309,-16272,-16243,-16226,
-16224,-16239,-16276,-16337,-16426,-16545,-17045,-17969,
-18859,-19257,-16545,-16299,-16200,-16208,-16286,-16393,
-16492,-16544, 725, 1186, 1695, 1709, 1550, 1198,
676, 53, -618,-1284,-1892,-2387,-2647,-2671,
-2592,-2408,-2121,-1869,-1757,-1651,-1463,-1258,
-1045, -835, -638, -416, -212, -158, -295, -529,
-796,-1028,-1160,-1087, -859, -638, -452, -250,
-84, -1,-1534, -974, -380, -526, -899,-1198,
-1369,-1541,-1695,-1810,-1869,-1850,-1537, -994,
-619, -644, -838, -902, -529, -117, 38, 154,
238, 303, 359, 397, 389, 318, 181, 5,
-184, -366, -516, -633, -705, -690, -548, -326,
-115, -2, 4408, -369,-5868,-6120,-4730,-2808,
-823, 1418, 3792, 6177, 8448,10484,12254,13573,
14080,13147,11401,10366,11718,13218,13222,13001,
12580,11983,11232, 9933, 8165, 6665, 5686, 4896,
4156, 3325, 2262, 415,-1815,-3142,-3077,-2341,
-1455, -939,-1791,-1430, -935, -657, -369, -81,
198, 462, 701, 907, 1071, 1184, 1261, 1324,
1373, 1409, 1434, 1448, 1452, 1447, 1433, 1412,
1385, 1353, 1316, 1275, 1231, 1186, 1071, 858,
605, 372, 216, 132, 73, 35, 13, 2,
0, 0, 769, 438, 69, 3, -41, -70,
-85, -89, -88, -82, -78, -76, -76, -72,
-66, -57, -47, -36, -23, -11, 0, 11,
21, 29, 34, 36, 35, 29, -2, -68,
-144, -208, -236, -225, -193, -149, -99, -52,
-17, 0, 4570, 2926, 1125, 878, 753, 722,
762, 844, 945, 1038, 1098, 1098, 1027, 899,
727, 524, 301, 72, -151, -356, -530, -661,
-736, -742, -668, -500, -226, 165, 1522, 4109,
7068, 9539,10664,10337, 9223, 7617, 5815, 4113,
2807, 2194, 640, 600, 508, 409, 314, 207,
94, -16, -120, -209, -277, -317, -338, -352,
-360, -362, -360, -352, -341, -327, -311, -293,
-273, -253, -233, -214, -196, -180, -156, -117,
-73, -35, -10, 1, 7, 8, 7, 4,
1, 0, 350, 384, 452, 505, 532, 557,
580, 600, 618, 634, 647, 657, 666, 677,
688, 700, 712, 723, 734, 743, 750, 754,
756, 755, 750, 740, 726, 707, 649, 539,
407, 283, 196, 143, 98, 63, 35, 16,
4, 0,23440,22606,20784,18989,17436,15726,
13957,12223,10621, 9246, 8196, 7565, 7221, 6963,
6787, 6688, 6660, 6698, 6798, 6955, 7164, 7419,
7716, 8050, 8416, 8809, 9223, 9655,10585,12205,
14071,15742,16774,17181,17319,17262,17082,16854,
16651,16548
};
static short mario_slide_down_tbl[]={
1, 0, /* chn14translate x */
40, 1, /* chn14 translate y */
40, 41, /* chn14 translate z */
1, 0, /* chn14 rotate x */
1, 81, /* chn14 rotate y */
1, 0, /* chn14 rotate z */
40, 1370, /* <m_waist>1_3 rotate x */
40, 1410, /* <m_waist>1_3 rotate y */
40, 1450, /* <m_waist>1_3 rotate z */
40, 1250, /* <m_body>1 rotate x */
40, 1290, /* <m_body>1 rotate y */
40, 1330, /* <m_body>1 rotate z */
40, 1130, /* <m_head>2 rotate x */
40, 1170, /* <m_head>2 rotate y */
40, 1210, /* <m_head>2 rotate z */
1, 1047, /* chn6 rotate x */
1, 1048, /* chn6 rotate y */
1, 1049, /* chn6 rotate z */
40, 124, /* <m_larmA>1 rotate x */
40, 164, /* <m_larmA>1 rotate y */
40, 204, /* <m_larmA>1 rotate z */
1, 0, /* <m_larmB>1 rotate x */
1, 0, /* <m_larmB>1 rotate y */
40, 84, /* <m_larmB>1 rotate z */
1, 0, /* <m_lhand>1 rotate x */
1, 82, /* <m_lhand>1 rotate y */
1, 83, /* <m_lhand>1 rotate z */
1, 1004, /* chn10 rotate x */
1, 1005, /* chn10 rotate y */
1, 1006, /* chn10 rotate z */
40, 324, /* <m_rarmA>1 rotate x */
40, 364, /* <m_rarmA>1 rotate y */
40, 404, /* <m_rarmA>1 rotate z */
1, 0, /* <m_rarmB>1 rotate x */
1, 0, /* <m_rarmB>1 rotate y */
40, 284, /* <m_rarmB>1 rotate z */
1, 0, /* <m_rhand>1 rotate x */
1, 0, /* <m_rhand>1 rotate y */
40, 244, /* <m_rhand>1 rotate z */
1, 0, /* chn15 rotate x */
1, 0, /* chn15 rotate y */
40, 1007, /* chn15 rotate z */
40, 884, /* <m_llegA>1 rotate x */
40, 924, /* <m_llegA>1 rotate y */
40, 964, /* <m_llegA>1 rotate z */
1, 0, /* <m_llegB>1 rotate x */
1, 0, /* <m_llegB>1 rotate y */
40, 844, /* <m_llegB>1 rotate z */
40, 724, /* <m_ltoot>1 rotate x */
40, 764, /* <m_ltoot>1 rotate y */
40, 804, /* <m_ltoot>1 rotate z */
40, 1050, /* chn17 rotate x */
1, 0, /* chn17 rotate y */
40, 1090, /* chn17 rotate z */
40, 604, /* <m_rlegA>1 rotate x */
40, 644, /* <m_rlegA>1 rotate y */
40, 684, /* <m_rlegA>1 rotate z */
1, 0, /* <m_rlegB>1 rotate x */
1, 0, /* <m_rlegB>1 rotate y */
40, 564, /* <m_rlegB>1 rotate z */
40, 444, /* <m_rfoot>1 rotate x */
40, 484, /* <m_rfoot>1 rotate y */
40, 524, /* <m_rfoot>1 rotate z */
};
AnimeRecord animMarioSlideDown = {
MAP_ANIM_ONETIME, /* attribute */
0, /* syncro */
0, /* start frame */
0, /* loop frame */
40,
20,
mario_slide_down_prm,
mario_slide_down_tbl
};