211 lines
9.0 KiB
C
211 lines
9.0 KiB
C
/********************************************************************************
|
|
Ultra 64 MARIO Brothers
|
|
|
|
mario swimming wim demo end animation data
|
|
|
|
Copyright 1996 Nintendo co., ltd. All rights reserved
|
|
|
|
May 9, 1996
|
|
********************************************************************************/
|
|
|
|
#include "../headers.h"
|
|
|
|
|
|
static short mario_swim_win2wait_prm[]={
|
|
0, 127, 127, 128, 129, 131, 134, 137,
|
|
140, 144, 147, 151, 155, 159, 163, 167,
|
|
171, 175, 178, 181, 184, 186, 187, 188,
|
|
189, 23, 23, 23, 22, 21, 20, 19,
|
|
18, 17, 15, 14, 12, 11, 9, 8,
|
|
6, 5, 4, 3, 2, 1, 0, 0,
|
|
0,16383, 4874, 4889, 4933, 5003, 5097, 5211,
|
|
5342, 5489, 5649, 5818, 5994, 6174, 6356, 6536,
|
|
6713, 6882, 7043, 7191, 7325, 7440, 7536, 7609,
|
|
7655, 7674, 1438, 1429, 1404, 1365, 1312, 1248,
|
|
1174, 1091, 1001, 906, 807, 705, 602, 501,
|
|
401, 305, 215, 131, 56, -8, -62, -103,
|
|
-129, -140,-7658,-7645,-7607,-7548,-7468,-7371,
|
|
-7258,-7133,-6996,-6852,-6702,-6548,-6393,-6239,
|
|
-6088,-5943,-5806,-5680,-5566,-5467,-5385,-5323,
|
|
-5283,-5268,-6153,-6167,-6208,-6272,-6358,-6463,
|
|
-6584,-6719,-6866,-7021,-7183,-7349,-7516,-7682,
|
|
-7844,-8000,-8148,-8284,-8407,-8513,-8601,-8668,
|
|
-8711,-8728,-10383,-10475,-10739,-11160,-11721,-12405,
|
|
-13197,-14080,-15037,-16052,-17109,-18191,-19283,-20367,
|
|
-21427,-22447,-23411,-24301,-25103,-25799,-26373,-26809,
|
|
-27090,-27199,-10241,-10316,-10534,-10882,-11344,-11909,
|
|
-12561,-13289,-14079,-14916,-15787,-16680,-17580,-18474,
|
|
-19348,-20189,-20984,-21718,-22379,-22953,-23427,-23786,
|
|
-24018,-24108,-6397,-6337,-6162,-5885,-5515,-5064,
|
|
-4542,-3960,-3329,-2659,-1962,-1249, -529, 185,
|
|
884, 1556, 2192, 2779, 3307, 3766, 4145, 4432,
|
|
4617, 4690,-10786,-10762,-10696,-10589,-10447,-10274,
|
|
-10074,-9851,-9609,-9353,-9086,-8812,-8536,-8262,
|
|
-7994,-7736,-7493,-7268,-7065,-6889,-6744,-6634,
|
|
-6563,-6535, 5476, 5441, 5338, 5176, 4958, 4694,
|
|
4387, 4045, 3675, 3282, 2873, 2454, 2032, 1612,
|
|
1202, 807, 434, 89, -220, -490, -712, -880,
|
|
-989,-1032,-14748,-14702,-14570,-14361,-14082,-13742,
|
|
-13348,-12909,-12433,-11928,-11403,-10865,-10322,-9783,
|
|
-9256,-8748,-8269,-7826,-7428,-7082,-6796,-6580,
|
|
-6440,-6385,-3233, 806, 780, 705, 586, 427,
|
|
234, 10, -239, -510, -798,-1097,-1403,-1712,
|
|
-2019,-2319,-2608,-2881,-3133,-3360,-3557,-3719,
|
|
-3843,-3922,-3953, 9570, 9567, 9558, 9544, 9525,
|
|
9501, 9474, 9445, 9412, 9378, 9342, 9305, 9268,
|
|
9231, 9195, 9161, 9128, 9098, 9071, 9047, 9028,
|
|
9013, 9003, 9000,-22588,-22616,-22698,-22828,-23002,
|
|
-23213,-23458,-23731,-24026,-24340,-24667,-25001,-25339,
|
|
-25674,-26001,-26317,-26615,-26890,-27138,-27353,-27530,
|
|
-27665,-27752,-27786, 247, 246, 243, 238, 231,
|
|
222, 212, 201, 190, 177, 164, 150, 137,
|
|
123, 110, 98, 86, 75, 65, 56, 49,
|
|
43, 40, 39, 529, 529, 530, 532, 533,
|
|
536, 538, 541, 544, 547, 551, 554, 558,
|
|
561, 564, 568, 571, 574, 576, 578, 580,
|
|
582, 582, 583,-9366,-9387,-9448,-9544,-9673,
|
|
-9831,-10013,-10215,-10435,-10669,-10911,-11160,-11411,
|
|
-11660,-11904,-12138,-12359,-12564,-12748,-12908,-13040,
|
|
-13140,-13205,-13230, 8187, 8218, 8310, 8456, 8651,
|
|
8889, 9164, 9471, 9803,10156,10523,10899,11278,
|
|
11654,12022,12377,12711,13021,13299,13541,13740,
|
|
13891,13989,14027, 708, 724, 773, 849, 952,
|
|
1077, 1221, 1382, 1556, 1742, 1934, 2132, 2331,
|
|
2528, 2722, 2908, 3083, 3246, 3392, 3519, 3624,
|
|
3703, 3754, 3774, 1867, 1886, 1938, 2021, 2133,
|
|
2268, 2425, 2600, 2790, 2991, 3201, 3416, 3632,
|
|
3847, 4057, 4259, 4450, 4627, 4786, 4924, 5038,
|
|
5124, 5180, 5202,-21828,-21820,-21794,-21754,-21700,
|
|
-21635,-21559,-21474,-21383,-21285,-21184,-21080,-20976,
|
|
-20872,-20770,-20672,-20580,-20495,-20418,-20351,-20296,
|
|
-20255,-20228,-20217, 43, 43, 44, 46, 48,
|
|
51, 54, 58, 62, 66, 71, 75, 80,
|
|
84, 89, 93, 97, 101, 104, 107, 109,
|
|
111, 112, 113, -277, -277, -277, -276, -275,
|
|
-275, -274, -273, -271, -270, -269, -268, -266,
|
|
-265, -264, -262, -261, -260, -259, -258, -258,
|
|
-257, -257, -257,-9104,-9119,-9162,-9230,-9320,
|
|
-9430,-9558,-9701,-9855,-10019,-10189,-10364,-10540,
|
|
-10715,-10886,-11050,-11206,-11349,-11479,-11591,-11683,
|
|
-11754,-11799,-11817, 8099, 8134, 8236, 8398, 8613,
|
|
8877, 9181, 9520, 9888,10279,10685,11101,11521,
|
|
11938,12346,12738,13108,13451,13759,14027,14247,
|
|
14415,14523,14565, -305, -325, -385, -481, -608,
|
|
-763, -943,-1143,-1360,-1590,-1829,-2075,-2322,
|
|
-2568,-2808,-3040,-3258,-3460,-3642,-3799,-3930,
|
|
-4028,-4092,-4117, -401, -430, -514, -647, -825,
|
|
-1042,-1294,-1574,-1877,-2199,-2534,-2878,-3224,
|
|
-3568,-3904,-4228,-4533,-4816,-5070,-5291,-5473,
|
|
-5611,-5700,-5735,-11020,-11073,-11224,-11465,-11786,
|
|
-12177,-12630,-13135,-13683,-14264,-14868,-15487,-16112,
|
|
-16732,-17338,-17922,-18473,-18983,-19442,-19840,-20168,
|
|
-20417,-20578,-20641,-31313,32755,16406,-16545,31399,
|
|
-32687,16399,-16545,-7811,-7768,-7645,-7450,-7189,
|
|
-6871,-6503,-6093,-5649,-5177,-4686,-4184,-3677,
|
|
-3173,-2681,-2207,-1760,-1346, -974, -650, -384,
|
|
-181, -51, 0, 3032, 3016, 2968, 2892, 2791,
|
|
2667, 2525, 2365, 2193, 2010, 1819, 1624, 1427,
|
|
1232, 1041, 857, 683, 522, 378, 252, 149,
|
|
70, 19, 0, 1964, 1910, 1752, 1500, 1166,
|
|
757, 284, -241, -813,-1419,-2050,-2696,-3347,
|
|
-3994,-4627,-5236,-5811,-6343,-6821,-7237,-7579,
|
|
-7839,-8007,-8073, 6185, 6152, 6054, 5900, 5693,
|
|
5441, 5150, 4826, 4474, 4100, 3711, 3313, 2912,
|
|
2513, 2123, 1748, 1393, 1066, 771, 515, 304,
|
|
144, 40, 0,-1755,-1746,-1718,-1674,-1615,
|
|
-1544,-1461,-1369,-1269,-1163,-1053, -940, -826,
|
|
-713, -602, -496, -395, -302, -218, -146, -86,
|
|
-40, -11, 0,-6682,-6637,-6508,-6302,-6027,
|
|
-5693,-5305,-4874,-4406,-3909,-3392,-2863,-2329,
|
|
-1799,-1280, -781, -310, 125, 517, 857, 1138,
|
|
1351, 1488, 1542, 2886, 2871, 2825, 2753, 2657,
|
|
2539, 2403, 2252, 2087, 1913, 1732, 1546, 1359,
|
|
1173, 991, 815, 650, 497, 360, 240, 142,
|
|
67, 19, 0,-2234,-2221,-2186,-2130,-2056,
|
|
-1965,-1860,-1743,-1615,-1480,-1340,-1196,-1051,
|
|
-907, -766, -631, -503, -385, -278, -186, -109,
|
|
-52, -14, 0,20085,20107,20169,20268,20399,
|
|
20560,20745,20953,21177,21415,21663,21917,22173,
|
|
22427,22676,22915,23141,23350,23538,23702,23836,
|
|
23938,24004,24030
|
|
};
|
|
static short mario_swim_win2wait_tbl[]={
|
|
1, 0, /* chn14_2_1translate x */
|
|
24, 1, /* chn14_2_1 translate y */
|
|
24, 25, /* chn14_2_1 translate z */
|
|
1, 0, /* chn14_2_1 rotate x */
|
|
1, 49, /* chn14_2_1 rotate y */
|
|
1, 0, /* chn14_2_1 rotate z */
|
|
24, 851, /* <m_waist>1_3_1 rotate x */
|
|
24, 875, /* <m_waist>1_3_1 rotate y */
|
|
24, 899, /* <m_waist>1_3_1 rotate z */
|
|
24, 779, /* <m_body>1_1 rotate x */
|
|
24, 803, /* <m_body>1_1 rotate y */
|
|
24, 827, /* <m_body>1_1 rotate z */
|
|
24, 707, /* <m_head>2_1 rotate x */
|
|
24, 731, /* <m_head>2_1 rotate y */
|
|
24, 755, /* <m_head>2_1 rotate z */
|
|
|
|
1, 703, /* chn6_1 rotate x */
|
|
1, 704, /* chn6_1 rotate y */
|
|
1, 705, /* chn6_1 rotate z */
|
|
24, 146, /* <m_larmA>1_1 rotate x */
|
|
24, 170, /* <m_larmA>1_1 rotate y */
|
|
24, 194, /* <m_larmA>1_1 rotate z */
|
|
1, 0, /* <m_larmB>1_1 rotate x */
|
|
1, 0, /* <m_larmB>1_1 rotate y */
|
|
24, 122, /* <m_larmB>1_1 rotate z */
|
|
24, 50, /* <m_rhand2>2_1 rotate x */
|
|
24, 74, /* <m_rhand2>2_1 rotate y */
|
|
24, 98, /* <m_rhand2>2_1 rotate z */
|
|
|
|
1, 699, /* chn10_1 rotate x */
|
|
1, 700, /* chn10_1 rotate y */
|
|
1, 701, /* chn10_1 rotate z */
|
|
24, 291, /* <m_rarmA>1_1 rotate x */
|
|
24, 315, /* <m_rarmA>1_1 rotate y */
|
|
24, 339, /* <m_rarmA>1_1 rotate z */
|
|
1, 0, /* <m_rarmB>1_1 rotate x */
|
|
1, 0, /* <m_rarmB>1_1 rotate y */
|
|
1, 290, /* <m_rarmB>1_1 rotate z */
|
|
24, 218, /* <m_rhand2>1_1 rotate x */
|
|
24, 242, /* <m_rhand2>1_1 rotate y */
|
|
24, 266, /* <m_rhand2>1_1 rotate z */
|
|
|
|
1, 0, /* chn15_1 rotate x */
|
|
1, 0, /* chn15_1 rotate y */
|
|
1, 702, /* chn15_1 rotate z */
|
|
24, 627, /* <m_llegA>1_1 rotate x */
|
|
24, 651, /* <m_llegA>1_1 rotate y */
|
|
24, 675, /* <m_llegA>1_1 rotate z */
|
|
1, 0, /* <m_llegB>1_1 rotate x */
|
|
1, 0, /* <m_llegB>1_1 rotate y */
|
|
24, 603, /* <m_llegB>1_1 rotate z */
|
|
24, 531, /* <m_ltoot>1_1 rotate x */
|
|
24, 555, /* <m_ltoot>1_1 rotate y */
|
|
24, 579, /* <m_ltoot>1_1 rotate z */
|
|
|
|
1, 0, /* chn17_1 rotate x */
|
|
1, 0, /* chn17_1 rotate y */
|
|
1, 706, /* chn17_1 rotate z */
|
|
24, 459, /* <m_rlegA>1_1 rotate x */
|
|
24, 483, /* <m_rlegA>1_1 rotate y */
|
|
24, 507, /* <m_rlegA>1_1 rotate z */
|
|
1, 0, /* <m_rlegB>1_1 rotate x */
|
|
1, 0, /* <m_rlegB>1_1 rotate y */
|
|
24, 435, /* <m_rlegB>1_1 rotate z */
|
|
24, 363, /* <m_rfoot>1_1 rotate x */
|
|
24, 387, /* <m_rfoot>1_1 rotate y */
|
|
24, 411, /* <m_rfoot>1_1 rotate z */
|
|
};
|
|
AnimeRecord animMarioSwimWinEnd = {
|
|
MAP_ANIM_ONETIME, /* attribute */
|
|
0, /* syncro */
|
|
0, /* start frame */
|
|
0, /* loop frame */
|
|
24, /* number of frames */
|
|
20, /* number of joints */
|
|
mario_swim_win2wait_prm,
|
|
mario_swim_win2wait_tbl
|
|
};
|