From fc60571b2efb8f7638efac9396a34296e447ee61 Mon Sep 17 00:00:00 2001 From: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com> Date: Mon, 15 May 2023 04:16:03 +0200 Subject: [PATCH] Custom animation examples (#392) --- .../actors/mario/anims/anim_72.inc.c | 357 ++++++++++++++++++ .../actors/mario/anims/table.inc.c | 3 + .../examples/custom-animations-dynos/main.lua | 6 + .../custom-animations-lua/animations.lua | 351 +++++++++++++++++ .../examples/custom-animations-lua/main.lua | 10 + 5 files changed, 727 insertions(+) create mode 100644 docs/lua/examples/custom-animations-dynos/actors/mario/anims/anim_72.inc.c create mode 100644 docs/lua/examples/custom-animations-dynos/actors/mario/anims/table.inc.c create mode 100644 docs/lua/examples/custom-animations-dynos/main.lua create mode 100644 docs/lua/examples/custom-animations-lua/animations.lua create mode 100644 docs/lua/examples/custom-animations-lua/main.lua diff --git a/docs/lua/examples/custom-animations-dynos/actors/mario/anims/anim_72.inc.c b/docs/lua/examples/custom-animations-dynos/actors/mario/anims/anim_72.inc.c new file mode 100644 index 00000000..1083f3e9 --- /dev/null +++ b/docs/lua/examples/custom-animations-dynos/actors/mario/anims/anim_72.inc.c @@ -0,0 +1,357 @@ +static const struct Animation anim_72[] = { + 0, + 189, + 0, + 0, + 0x4D, + ANIMINDEX_NUMPARTS(anim_72_indices), + anim_72_values, + anim_72_indices, + 0, +}; + +static const u16 anim_72_indices[] = { + 0x0001, 0x0000, 0x004D, 0x0001, 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x004E, 0x0001, 0x0000, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x09A8, + 0x004D, 0x090E, 0x0001, 0x0000, 0x004D, 0x095B, + 0x004D, 0x0874, 0x0001, 0x0000, 0x004D, 0x08C1, + 0x0001, 0x0870, 0x0001, 0x0871, 0x0001, 0x0872, + 0x004D, 0x0183, 0x004D, 0x01D0, 0x004D, 0x021D, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0136, + 0x004D, 0x004F, 0x004D, 0x009C, 0x004D, 0x00E9, + 0x0001, 0x0787, 0x0001, 0x0788, 0x004D, 0x0789, + 0x004D, 0x039E, 0x004D, 0x03EB, 0x004D, 0x0438, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0351, + 0x004D, 0x026A, 0x004D, 0x02B7, 0x004D, 0x0304, + 0x0001, 0x0000, 0x004D, 0x07D6, 0x004D, 0x0823, + 0x004D, 0x06A0, 0x004D, 0x06ED, 0x004D, 0x073A, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0653, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0606, + 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0873, + 0x004D, 0x051F, 0x004D, 0x056C, 0x004D, 0x05B9, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x04D2, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0485, +}; + +static const s16 anim_72_values[] = { + 0x0000, 0x00C0, 0x00BF, 0x00BB, 0x00B7, 0x00B4, 0x00B1, 0x00AE, + 0x00AC, 0x00AC, 0x00AD, 0x00AF, 0x00B1, 0x00B3, 0x00B6, 0x00B8, + 0x00BB, 0x00BE, 0x00C0, 0x00C3, 0x00C6, 0x00C8, 0x00CA, 0x00CD, + 0x00D0, 0x00D3, 0x00D5, 0x00D8, 0x00D9, 0x00D9, 0x00D9, 0x00D8, + 0x00D5, 0x00D3, 0x00D0, 0x00CD, 0x00CA, 0x00C8, 0x00C5, 0x00C3, + 0x00C0, 0x00BD, 0x00BA, 0x00B8, 0x00B5, 0x00B2, 0x00B0, 0x00AE, + 0x00AC, 0x00AB, 0x00AB, 0x00AB, 0x00AC, 0x00AC, 0x00AD, 0x00AE, + 0x00B0, 0x00B2, 0x00B6, 0x00BB, 0x00C2, 0x00C6, 0x00C9, 0x00CC, + 0x00CF, 0x00D2, 0x00D4, 0x00D6, 0x00D8, 0x00D9, 0x00D9, 0x00D8, + 0x00D6, 0x00D3, 0x00CF, 0x00CA, 0x00C5, 0x00C3, 0x3FFF, 0xDFD1, + 0xDFCB, 0xDFB9, 0xDF9C, 0xDF75, 0xDF46, 0xDF0E, 0xDECF, 0xDE89, + 0xDE3F, 0xDDEF, 0xDD9C, 0xDD47, 0xDCEF, 0xDC97, 0xDC3F, 0xDBE7, + 0xDB92, 0xDB3F, 0xDAF0, 0xDAA5, 0xDA5F, 0xDA20, 0xD9E9, 0xD9B9, + 0xD992, 0xD975, 0xD964, 0xD95D, 0xD960, 0xD967, 0xD973, 0xD984, + 0xD999, 0xD9B1, 0xD9CD, 0xD9ED, 0xDA10, 0xDA36, 0xDA5F, 0xDA8B, + 0xDAB9, 0xDAE9, 0xDB1A, 0xDB4E, 0xDB82, 0xDBB8, 0xDBEF, 0xDC27, + 0xDC5F, 0xDC97, 0xDCCF, 0xDD07, 0xDD3F, 0xDD76, 0xDDAC, 0xDDE0, + 0xDE14, 0xDE46, 0xDE75, 0xDEA3, 0xDECF, 0xDEF8, 0xDF1E, 0xDF41, + 0xDF61, 0xDF7D, 0xDF96, 0xDFAA, 0xDFBB, 0xDFC7, 0xDFCE, 0xDFD1, + 0xDFD1, 0xDFD1, 0xDFD1, 0xDFD1, 0x047B, 0x0470, 0x0451, 0x041E, + 0x03DB, 0x0387, 0x0326, 0x02B7, 0x023E, 0x01BB, 0x0130, 0x009F, + 0x0009, 0xFF71, 0xFED7, 0xFE3C, 0xFDA3, 0xFD0D, 0xFC7C, 0xFBF1, + 0xFB6E, 0xFAF5, 0xFA87, 0xFA25, 0xF9D1, 0xF98E, 0xF95B, 0xF93C, + 0xF931, 0xF936, 0xF943, 0xF958, 0xF975, 0xF999, 0xF9C4, 0xF9F6, + 0xFA2D, 0xFA6B, 0xFAAD, 0xFAF5, 0xFB41, 0xFB91, 0xFBE5, 0xFC3C, + 0xFC96, 0xFCF2, 0xFD51, 0xFDB1, 0xFE12, 0xFE74, 0xFED7, 0xFF39, + 0xFF9B, 0xFFFC, 0x005B, 0x00BA, 0x0116, 0x0170, 0x01C7, 0x021B, + 0x026B, 0x02B7, 0x02FF, 0x0341, 0x037F, 0x03B7, 0x03E8, 0x0413, + 0x0437, 0x0454, 0x0469, 0x0476, 0x047B, 0x047B, 0x047B, 0x047B, + 0x047B, 0xED8C, 0xED85, 0xED72, 0xED55, 0xED2C, 0xECFB, 0xECC0, + 0xEC7F, 0xEC36, 0xEBE9, 0xEB96, 0xEB40, 0xEAE6, 0xEA8B, 0xEA2F, + 0xE9D3, 0xE978, 0xE91F, 0xE8C9, 0xE876, 0xE828, 0xE7E0, 0xE79E, + 0xE764, 0xE732, 0xE70A, 0xE6EC, 0xE6D9, 0xE6D3, 0xE6D6, 0xE6DD, + 0xE6EA, 0xE6FB, 0xE711, 0xE72A, 0xE748, 0xE769, 0xE78E, 0xE7B5, + 0xE7E0, 0xE80D, 0xE83D, 0xE86F, 0xE8A3, 0xE8D8, 0xE90F, 0xE947, + 0xE980, 0xE9BA, 0xE9F5, 0xEA2F, 0xEA6A, 0xEAA4, 0xEADE, 0xEB17, + 0xEB50, 0xEB87, 0xEBBC, 0xEBF0, 0xEC22, 0xEC51, 0xEC7F, 0xECA9, + 0xECD1, 0xECF6, 0xED17, 0xED34, 0xED4E, 0xED63, 0xED75, 0xED81, + 0xED89, 0xED8C, 0xED8C, 0xED8C, 0xED8C, 0xED8C, 0xDF7F, 0xDF86, + 0xDF9A, 0xDFBB, 0xDFE7, 0xE01D, 0xE05D, 0xE0A4, 0xE0F3, 0xE148, + 0xE1A2, 0xE200, 0xE262, 0xE2C5, 0xE32A, 0xE38E, 0xE3F1, 0xE453, + 0xE4B1, 0xE50B, 0xE560, 0xE5AF, 0xE5F7, 0xE636, 0xE66C, 0xE698, + 0xE6B9, 0xE6CD, 0xE6D4, 0xE6D1, 0xE6C9, 0xE6BB, 0xE6A9, 0xE691, + 0xE675, 0xE655, 0xE631, 0xE609, 0xE5DD, 0xE5AF, 0xE57E, 0xE549, + 0xE513, 0xE4DB, 0xE4A0, 0xE464, 0xE427, 0xE3E8, 0xE3A9, 0xE36A, + 0xE32A, 0xE2EA, 0xE2AA, 0xE26B, 0xE22C, 0xE1EF, 0xE1B3, 0xE179, + 0xE140, 0xE10A, 0xE0D6, 0xE0A4, 0xE076, 0xE04A, 0xE023, 0xDFFE, + 0xDFDE, 0xDFC2, 0xDFAB, 0xDF98, 0xDF8A, 0xDF82, 0xDF7F, 0xDF7F, + 0xDF7F, 0xDF7F, 0xDF7F, 0xF765, 0xF75F, 0xF74F, 0xF734, 0xF711, + 0xF6E5, 0xF6B1, 0xF677, 0xF637, 0xF5F2, 0xF5A9, 0xF55C, 0xF50E, + 0xF4BD, 0xF46C, 0xF41A, 0xF3C9, 0xF37B, 0xF32E, 0xF2E5, 0xF2A0, + 0xF260, 0xF226, 0xF1F3, 0xF1C7, 0xF1A3, 0xF188, 0xF178, 0xF172, + 0xF175, 0xF17B, 0xF186, 0xF196, 0xF1A9, 0xF1BF, 0xF1DA, 0xF1F7, + 0xF217, 0xF23A, 0xF260, 0xF288, 0xF2B2, 0xF2DF, 0xF30C, 0xF33C, + 0xF36C, 0xF39E, 0xF3D1, 0xF404, 0xF438, 0xF46C, 0xF49F, 0xF4D3, + 0xF506, 0xF539, 0xF56B, 0xF59B, 0xF5CB, 0xF5F8, 0xF625, 0xF64F, + 0xF677, 0xF69D, 0xF6C0, 0xF6E0, 0xF6FE, 0xF718, 0xF72E, 0xF741, + 0xF751, 0xF75C, 0xF763, 0xF765, 0xF765, 0xF765, 0xF765, 0xF765, + 0xE83F, 0xE843, 0xE84D, 0xE85D, 0xE872, 0xE88C, 0xE8AB, 0xE8CE, + 0xE8F4, 0xE91D, 0xE949, 0xE977, 0xE9A6, 0xE9D6, 0xEA07, 0xEA37, + 0xEA68, 0xEA97, 0xEAC5, 0xEAF0, 0xEB19, 0xEB40, 0xEB63, 0xEB81, + 0xEB9C, 0xEBB1, 0xEBC1, 0xEBCB, 0xEBCE, 0xEBCD, 0xEBC9, 0xEBC2, + 0xEBB9, 0xEBAD, 0xEBA0, 0xEB90, 0xEB7F, 0xEB6B, 0xEB56, 0xEB40, + 0xEB28, 0xEB0F, 0xEAF4, 0xEAD9, 0xEABC, 0xEA9F, 0xEA82, 0xEA63, + 0xEA45, 0xEA26, 0xEA07, 0xE9E8, 0xE9C9, 0xE9AA, 0xE98C, 0xE96E, + 0xE951, 0xE935, 0xE919, 0xE8FF, 0xE8E6, 0xE8CE, 0xE8B7, 0xE8A2, + 0xE88F, 0xE87D, 0xE86E, 0xE860, 0xE855, 0xE84C, 0xE845, 0xE841, + 0xE83F, 0xE83F, 0xE83F, 0xE83F, 0xE83F, 0xBB44, 0xBB7E, 0xBC23, + 0xBD2E, 0xBE94, 0xC04E, 0xC253, 0xC49B, 0xC71E, 0xC9D3, 0xCCB1, + 0xCFB1, 0xD2CB, 0xD5F5, 0xD927, 0xDC59, 0xDF83, 0xE29C, 0xE59C, + 0xE87B, 0xEB30, 0xEDB3, 0xEFFB, 0xF200, 0xF3BA, 0xF520, 0xF62A, + 0xF6D0, 0xF709, 0xF6F2, 0xF6AD, 0xF63E, 0xF5A5, 0xF4E6, 0xF401, + 0xF2FB, 0xF1D4, 0xF08F, 0xEF2E, 0xEDB3, 0xEC20, 0xEA78, 0xE8BC, + 0xE6EF, 0xE513, 0xE32A, 0xE136, 0xDF3A, 0xDD37, 0xDB30, 0xD927, + 0xD71E, 0xD517, 0xD314, 0xD117, 0xCF24, 0xCD3B, 0xCB5F, 0xC992, + 0xC7D6, 0xC62E, 0xC49B, 0xC320, 0xC1BF, 0xC07A, 0xBF53, 0xBE4C, + 0xBD68, 0xBCA9, 0xBC10, 0xBBA0, 0xBB5C, 0xBB44, 0xBB44, 0xBB44, + 0xBB44, 0xBB44, 0x0000, 0x0014, 0x0050, 0x00B1, 0x0132, 0x01D2, + 0x028E, 0x0361, 0x044A, 0x0545, 0x064F, 0x0765, 0x0884, 0x09A9, + 0x0AD1, 0x0BFA, 0x0D1F, 0x0E3E, 0x0F54, 0x105E, 0x1159, 0x1242, + 0x1315, 0x13D0, 0x1470, 0x14F2, 0x1553, 0x158F, 0x15A3, 0x159B, + 0x1582, 0x155A, 0x1522, 0x14DD, 0x148A, 0x142B, 0x13C1, 0x134B, + 0x12CB, 0x1242, 0x11B0, 0x1116, 0x1076, 0x0FCF, 0x0F22, 0x0E71, + 0x0DBD, 0x0D04, 0x0C4A, 0x0B8E, 0x0AD1, 0x0A15, 0x0959, 0x089E, + 0x07E6, 0x0731, 0x0680, 0x05D4, 0x052D, 0x048D, 0x03F3, 0x0361, + 0x02D8, 0x0258, 0x01E2, 0x0178, 0x0118, 0x00C6, 0x0081, 0x0049, + 0x0021, 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x000D, 0x0035, 0x0074, 0x00CA, 0x0133, 0x01AE, 0x023A, 0x02D3, + 0x0378, 0x0428, 0x04DF, 0x059C, 0x065D, 0x0721, 0x07E4, 0x08A5, + 0x0962, 0x0A19, 0x0AC9, 0x0B6E, 0x0C07, 0x0C93, 0x0D0E, 0x0D77, + 0x0DCD, 0x0E0C, 0x0E34, 0x0E42, 0x0E3C, 0x0E2C, 0x0E11, 0x0DED, + 0x0DBF, 0x0D89, 0x0D4A, 0x0D04, 0x0CB6, 0x0C62, 0x0C07, 0x0BA7, + 0x0B42, 0x0AD8, 0x0A6A, 0x09F9, 0x0984, 0x090D, 0x0894, 0x0819, + 0x079D, 0x0721, 0x06A4, 0x0628, 0x05AE, 0x0534, 0x04BD, 0x0448, + 0x03D7, 0x0369, 0x02FF, 0x029A, 0x023A, 0x01DF, 0x018B, 0x013E, + 0x00F7, 0x00B9, 0x0082, 0x0055, 0x0030, 0x0015, 0x0005, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0xF549, 0xF540, 0xF525, 0xF4FA, + 0xF4C1, 0xF47A, 0xF426, 0xF3C8, 0xF361, 0xF2F1, 0xF27B, 0xF1FF, + 0xF17F, 0xF0FD, 0xF079, 0xEFF5, 0xEF72, 0xEEF3, 0xEE77, 0xEE01, + 0xED91, 0xED29, 0xECCB, 0xEC78, 0xEC31, 0xEBF7, 0xEBCC, 0xEBB2, + 0xEBA8, 0xEBAC, 0xEBB7, 0xEBC9, 0xEBE2, 0xEC01, 0xEC25, 0xEC50, + 0xEC7F, 0xECB4, 0xECEC, 0xED29, 0xED6A, 0xEDAF, 0xEDF6, 0xEE40, + 0xEE8D, 0xEEDC, 0xEF2C, 0xEF7E, 0xEFD1, 0xF025, 0xF079, 0xF0CD, + 0xF120, 0xF173, 0xF1C5, 0xF216, 0xF264, 0xF2B1, 0xF2FB, 0xF343, + 0xF387, 0xF3C8, 0xF405, 0xF43E, 0xF472, 0xF4A2, 0xF4CC, 0xF4F1, + 0xF510, 0xF528, 0xF53A, 0xF546, 0xF549, 0xF549, 0xF549, 0xF549, + 0xF549, 0xD47F, 0xD48C, 0xD4B4, 0xD4F4, 0xD549, 0xD5B2, 0xD62E, + 0xD6B9, 0xD753, 0xD7F8, 0xD8A7, 0xD95E, 0xDA1C, 0xDADD, 0xDBA0, + 0xDC63, 0xDD25, 0xDDE2, 0xDE99, 0xDF48, 0xDFEE, 0xE087, 0xE112, + 0xE18E, 0xE1F7, 0xE24D, 0xE28C, 0xE2B4, 0xE2C1, 0xE2BC, 0xE2AB, + 0xE291, 0xE26C, 0xE23F, 0xE208, 0xE1CA, 0xE183, 0xE136, 0xE0E1, + 0xE087, 0xE027, 0xDFC2, 0xDF58, 0xDEEA, 0xDE78, 0xDE04, 0xDD8C, + 0xDD13, 0xDC98, 0xDC1C, 0xDBA0, 0xDB24, 0xDAA8, 0xDA2D, 0xD9B4, + 0xD93D, 0xD8C8, 0xD856, 0xD7E8, 0xD77E, 0xD719, 0xD6B9, 0xD65F, + 0xD60B, 0xD5BD, 0xD577, 0xD538, 0xD502, 0xD4D4, 0xD4AF, 0xD495, + 0xD484, 0xD47F, 0xD47F, 0xD47F, 0xD47F, 0xD47F, 0x0340, 0x0331, + 0x0305, 0x02C0, 0x0262, 0x01EE, 0x0166, 0x00CD, 0x0024, 0xFF70, + 0xFEAF, 0xFDE6, 0xFD15, 0xFC41, 0xFB6A, 0xFA94, 0xF9BF, 0xF8EF, + 0xF826, 0xF765, 0xF6B0, 0xF607, 0xF56E, 0xF4E6, 0xF472, 0xF414, + 0xF3CE, 0xF3A3, 0xF394, 0xF39A, 0xF3AC, 0xF3C9, 0xF3F1, 0xF424, + 0xF460, 0xF4A4, 0xF4F2, 0xF547, 0xF5A4, 0xF607, 0xF671, 0xF6E0, + 0xF754, 0xF7CD, 0xF84A, 0xF8CA, 0xF94D, 0xF9D3, 0xFA5A, 0xFAE2, + 0xFB6A, 0xFBF3, 0xFC7B, 0xFD02, 0xFD88, 0xFE0B, 0xFE8B, 0xFF08, + 0xFF81, 0xFFF5, 0x0063, 0x00CD, 0x0130, 0x018D, 0x01E2, 0x0230, + 0x0274, 0x02B0, 0x02E2, 0x030A, 0x0328, 0x033A, 0x0340, 0x0340, + 0x0340, 0x0340, 0x0340, 0x2A4A, 0x2A3E, 0x2A1D, 0x29E7, 0x299E, + 0x2944, 0x28DB, 0x2865, 0x27E2, 0x2756, 0x26C1, 0x2625, 0x2584, + 0x24E0, 0x243A, 0x2393, 0x22EF, 0x224E, 0x21B2, 0x211D, 0x2091, + 0x200E, 0x1F98, 0x1F2F, 0x1ED5, 0x1E8C, 0x1E56, 0x1E35, 0x1E29, + 0x1E2E, 0x1E3C, 0x1E52, 0x1E71, 0x1E98, 0x1EC7, 0x1EFC, 0x1F38, + 0x1F7A, 0x1FC1, 0x200E, 0x2060, 0x20B6, 0x2110, 0x216E, 0x21CE, + 0x2231, 0x2297, 0x22FE, 0x2366, 0x23D0, 0x243A, 0x24A3, 0x250D, + 0x2575, 0x25DC, 0x2642, 0x26A5, 0x2705, 0x2763, 0x27BD, 0x2813, + 0x2865, 0x28B2, 0x28F9, 0x293B, 0x2977, 0x29AC, 0x29DB, 0x2A02, + 0x2A21, 0x2A37, 0x2A45, 0x2A4A, 0x2A4A, 0x2A4A, 0x2A4A, 0x2A4A, + 0xF36B, 0xF32A, 0xF26F, 0xF142, 0xEFAE, 0xEDBB, 0xEB72, 0xE8DF, + 0xE609, 0xE2FA, 0xDFBD, 0xDC59, 0xD8D9, 0xD546, 0xD1AA, 0xCE0E, + 0xCA7B, 0xC6FB, 0xC398, 0xC05A, 0xBD4B, 0xBA76, 0xB7E2, 0xB59A, + 0xB3A7, 0xB212, 0xB0E5, 0xB02A, 0xAFE9, 0xB004, 0xB051, 0xB0CF, + 0xB17C, 0xB254, 0xB356, 0xB47E, 0xB5CB, 0xB73B, 0xB8C9, 0xBA76, + 0xBC3C, 0xBE1C, 0xC011, 0xC219, 0xC433, 0xC65B, 0xC88F, 0xCACE, + 0xCD13, 0xCF5D, 0xD1AA, 0xD3F7, 0xD641, 0xD887, 0xDAC5, 0xDCF9, + 0xDF21, 0xE13B, 0xE344, 0xE539, 0xE718, 0xE8DF, 0xEA8B, 0xEC1A, + 0xED89, 0xEED6, 0xEFFF, 0xF100, 0xF1D8, 0xF285, 0xF303, 0xF351, + 0xF36B, 0xF36B, 0xF36B, 0xF36B, 0xF36B, 0xC353, 0xC37E, 0xC3EE, + 0xC489, 0xC535, 0xC5DA, 0xC65C, 0xC6A3, 0xC696, 0xC54D, 0xC2E4, + 0xC0C2, 0xC04B, 0xC14B, 0xC293, 0xC417, 0xC5CA, 0xC79F, 0xC98A, + 0xCB7E, 0xCD6E, 0xCF4D, 0xD10F, 0xD2A7, 0xD408, 0xD55B, 0xD6BD, + 0xD80F, 0xD932, 0xDA04, 0xDA69, 0xDA3E, 0xD967, 0xD7FB, 0xD633, + 0xD41E, 0xD1C9, 0xCF42, 0xCC99, 0xC9DB, 0xC716, 0xC459, 0xC1B2, + 0xBF2F, 0xBCDE, 0xBACF, 0xB90E, 0xB7AA, 0xB6B2, 0xB625, 0xB5F1, + 0xB60D, 0xB66E, 0xB70B, 0xB7D9, 0xB8CD, 0xB9DF, 0xBB03, 0xBC2F, + 0xBD5A, 0xBE79, 0xBF82, 0xC06A, 0xC128, 0xC1B2, 0xC211, 0xC258, + 0xC289, 0xC2A8, 0xC2B8, 0xC2BC, 0xC2B8, 0xC2AD, 0xC29F, 0xC291, + 0xC287, 0xC283, 0x17EE, 0x1871, 0x19CE, 0x1BBF, 0x1E00, 0x204D, + 0x2262, 0x23F9, 0x24CE, 0x2511, 0x2523, 0x250B, 0x24CF, 0x2476, + 0x2406, 0x2388, 0x2301, 0x2277, 0x21F3, 0x217B, 0x2115, 0x20C8, + 0x209B, 0x2094, 0x20BB, 0x212F, 0x21FF, 0x231B, 0x2472, 0x25F3, + 0x278E, 0x2933, 0x2AD0, 0x2C7F, 0x2E5C, 0x305F, 0x327D, 0x34AD, + 0x36E5, 0x391C, 0x3B48, 0x3D60, 0x3F59, 0x412B, 0x42CB, 0x4431, + 0x4552, 0x4624, 0x469F, 0x46C8, 0x46AE, 0x4656, 0x45C4, 0x44FE, + 0x4408, 0x42E7, 0x41A1, 0x4038, 0x3EB3, 0x3D17, 0x3B67, 0x39A9, + 0x37E2, 0x3616, 0x344A, 0x3229, 0x2F73, 0x2C4D, 0x28DE, 0x254A, + 0x21B7, 0x1E4A, 0x1B28, 0x1878, 0x165E, 0x14FF, 0x1482, 0x0057, + 0x0058, 0x005A, 0x005C, 0x005F, 0x0062, 0x0064, 0x0067, 0x0068, + 0x0068, 0x0068, 0x0068, 0x0068, 0x0067, 0x0066, 0x0065, 0x0064, + 0x0064, 0x0063, 0x0063, 0x0063, 0x0063, 0x0064, 0x0066, 0x0068, + 0x006C, 0x0073, 0x007D, 0x0087, 0x0091, 0x0099, 0x009F, 0x00A1, + 0x00A0, 0x009C, 0x0097, 0x0091, 0x008A, 0x0083, 0x007B, 0x0074, + 0x006F, 0x006A, 0x0068, 0x0068, 0x0075, 0x008F, 0x00A9, 0x00B5, + 0x00B5, 0x00B4, 0x00B3, 0x00B2, 0x00B0, 0x00AD, 0x00AA, 0x00A6, + 0x00A1, 0x009C, 0x0096, 0x008E, 0x0086, 0x007D, 0x0073, 0x0068, + 0x0059, 0x0045, 0x002C, 0x0011, 0xFFF5, 0xFFD8, 0xFFBC, 0xFFA2, + 0xFF8C, 0xFF7B, 0xFF6F, 0xFF6B, 0xFFC8, 0xFFBE, 0xFFA4, 0xFF7F, + 0xFF53, 0xFF25, 0xFEFC, 0xFEDB, 0xFEC8, 0xFEBE, 0xFEB7, 0xFEB2, + 0xFEAF, 0xFEAD, 0xFEAD, 0xFEAE, 0xFEB0, 0xFEB3, 0xFEB6, 0xFEBA, + 0xFEBD, 0xFEC1, 0xFEC4, 0xFEC6, 0xFEC8, 0xFEC9, 0xFECD, 0xFED1, + 0xFED5, 0xFEDA, 0xFEDD, 0xFEE0, 0xFEE1, 0xFEE0, 0xFEDF, 0xFEDD, + 0xFEDA, 0xFED6, 0xFED3, 0xFED0, 0xFECD, 0xFECA, 0xFEC8, 0xFEC7, + 0xFEC8, 0xFECE, 0xFEDB, 0xFEE7, 0xFEED, 0xFEED, 0xFEEB, 0xFEEA, + 0xFEE8, 0xFEE5, 0xFEE2, 0xFEDF, 0xFEDC, 0xFED8, 0xFED5, 0xFED2, + 0xFECF, 0xFECC, 0xFECA, 0xFEC9, 0xFEC8, 0xFEC7, 0xFEC8, 0xFEC9, + 0xFECB, 0xFECE, 0xFED0, 0xFED3, 0xFED5, 0xFED7, 0xFED9, 0xFEDA, + 0xFEDA, 0xA28A, 0xA293, 0xA2B2, 0xA2EF, 0xA352, 0xA3E5, 0xA4AE, + 0xA5B6, 0xA706, 0xA88C, 0xAA2F, 0xABEC, 0xADBF, 0xAFA6, 0xB19C, + 0xB39E, 0xB5A9, 0xB7B9, 0xB9CB, 0xBBDA, 0xBDE5, 0xBFE7, 0xC1DC, + 0xC3C2, 0xC594, 0xC784, 0xC9A9, 0xCBD9, 0xCDEA, 0xCFB4, 0xD10C, + 0xD1C9, 0xD1C1, 0xD126, 0xD048, 0xCF29, 0xCDCE, 0xCC3A, 0xCA72, + 0xC878, 0xC651, 0xC400, 0xC189, 0xBEF0, 0xBC38, 0xB775, 0xB063, + 0xA987, 0xA564, 0xA386, 0xA1CC, 0xA034, 0x9EBD, 0x9D65, 0x9C2C, + 0x9B11, 0x9A12, 0x992D, 0x9863, 0x97B1, 0x9717, 0x9693, 0x9624, + 0x95C9, 0x9581, 0x9579, 0x95D4, 0x967E, 0x9765, 0x9876, 0x999F, + 0x9ACE, 0x9BEF, 0x9CF1, 0x9DC0, 0x9E49, 0x9E7B, 0xD74A, 0xD6C1, + 0xD552, 0xD33F, 0xD0CA, 0xCE33, 0xCBBC, 0xC9A8, 0xC837, 0xC733, + 0xC639, 0xC54A, 0xC466, 0xC390, 0xC2C7, 0xC20B, 0xC15F, 0xC0C2, + 0xC036, 0xBFBB, 0xBF52, 0xBEFB, 0xBEB8, 0xBE89, 0xBE70, 0xBE86, + 0xBEDE, 0xBF6C, 0xC025, 0xC0FE, 0xC1EB, 0xC2E0, 0xC3D2, 0xC4B6, + 0xC57F, 0xC623, 0xC696, 0xC6E8, 0xC72A, 0xC752, 0xC756, 0xC72B, + 0xC6C8, 0xC621, 0xC52C, 0xC312, 0xBFAF, 0xBC09, 0xB924, 0xB6BB, + 0xB470, 0xB328, 0xB3C5, 0xB5E4, 0xB87A, 0xBB6D, 0xBEA7, 0xC20E, + 0xC58A, 0xC903, 0xCC61, 0xCF8B, 0xD269, 0xD4E4, 0xD6E2, 0xD872, + 0xD9B8, 0xDABC, 0xDB85, 0xDC1A, 0xDC84, 0xDCC8, 0xDCEF, 0xDD01, + 0xDD04, 0xDD01, 0xDCFE, 0x2A1A, 0x2B45, 0x2E5E, 0x32CA, 0x37EC, + 0x3D29, 0x41E6, 0x4587, 0x4770, 0x483B, 0x48E6, 0x496E, 0x49D1, + 0x4A0B, 0x4A19, 0x49F8, 0x49A4, 0x491B, 0x4859, 0x475C, 0x461F, + 0x44A1, 0x42DD, 0x40D1, 0x3E79, 0x3AC3, 0x3508, 0x2DE9, 0x2609, + 0x1E09, 0x168A, 0x102F, 0x0B97, 0x0AA9, 0x0D59, 0x1163, 0x1482, + 0x167C, 0x1891, 0x1AB7, 0x1CE4, 0x1F0C, 0x2124, 0x2322, 0x24FC, + 0x26A6, 0x2815, 0x2940, 0x2A1A, 0x2AB3, 0x2B21, 0x2B68, 0x2B8B, + 0x2B8F, 0x2B77, 0x2B46, 0x2B01, 0x2AAB, 0x2A48, 0x29DB, 0x2967, + 0x28F2, 0x287E, 0x280F, 0x27A8, 0x272E, 0x2687, 0x25BF, 0x24DF, + 0x23F3, 0x2304, 0x221D, 0x2149, 0x2092, 0x2002, 0x1FA4, 0x1F82, + 0x00D0, 0x002B, 0xFE76, 0xFC0A, 0xF93F, 0xF66F, 0xF3F2, 0xF221, + 0xF156, 0xF14A, 0xF17B, 0xF1E0, 0xF272, 0xF329, 0xF400, 0xF4EE, + 0xF5EC, 0xF6F3, 0xF7FC, 0xF8FF, 0xF9F5, 0xFAD8, 0xFB9F, 0xFC43, + 0xFCBE, 0xFCF7, 0xFCE6, 0xFC9F, 0xFC36, 0xFBBC, 0xFB44, 0xFAE3, + 0xFAAB, 0xFAB0, 0xFAE4, 0xFB28, 0xFB5C, 0xFB7E, 0xFBA1, 0xFBC4, + 0xFBE7, 0xFC0A, 0xFC2C, 0xFC4C, 0xFC69, 0xFC84, 0xFC9C, 0xFCAF, + 0xFCBE, 0xFCC7, 0xFCCA, 0xFCC8, 0xFCC1, 0xFCB8, 0xFCAD, 0xFCA0, + 0xFC94, 0xFC8A, 0xFC81, 0xFC7C, 0xFC7C, 0xFC81, 0xFC8E, 0xFCA1, + 0xFCBE, 0xFCED, 0xFD32, 0xFD89, 0xFDED, 0xFE58, 0xFEC6, 0xFF30, + 0xFF93, 0xFFE9, 0x002C, 0x0058, 0x0068, 0x0000, 0x0005, 0x0011, + 0x0021, 0x002F, 0x0038, 0x0035, 0x0024, 0x0000, 0xFFCB, 0xFF8A, + 0xFF41, 0xFEF1, 0xFE9B, 0xFE41, 0xFDE6, 0xFD8B, 0xFD32, 0xFCDC, + 0xFC8B, 0xFC41, 0xFC01, 0xFBCB, 0xFBA1, 0xFB85, 0xFB8E, 0xFBC8, + 0xFC24, 0xFC96, 0xFD0F, 0xFD83, 0xFDE4, 0xFE23, 0xFE20, 0xFDE3, + 0xFD9D, 0xFD82, 0xFD90, 0xFDA5, 0xFDC0, 0xFDDE, 0xFE00, 0xFE23, + 0xFE46, 0xFE68, 0xFE87, 0xFEA2, 0xFEB8, 0xFEC8, 0xFED2, 0xFED9, + 0xFEDF, 0xFEE2, 0xFEE3, 0xFEE3, 0xFEE1, 0xFEDF, 0xFEDC, 0xFED8, + 0xFED4, 0xFED0, 0xFECD, 0xFECA, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, + 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, + 0xFEC8, 0xFEC8, 0xCE23, 0xCD34, 0xCABC, 0xC73A, 0xC32B, 0xBF0E, + 0xBB62, 0xB8A3, 0xB752, 0xB6FC, 0xB6D9, 0xB6E6, 0xB721, 0xB786, + 0xB813, 0xB8C5, 0xB998, 0xBA8A, 0xBB98, 0xBCBE, 0xBDFB, 0xBF4A, + 0xC0A9, 0xC215, 0xC38B, 0xC57F, 0xC83D, 0xCB81, 0xCF0B, 0xD299, + 0xD5E8, 0xD8B6, 0xDAC3, 0xDADB, 0xD914, 0xD719, 0xD693, 0xD76C, + 0xD86C, 0xD98F, 0xDAD0, 0xDC2B, 0xDD9C, 0xDF1D, 0xE0AA, 0xE23E, + 0xE3D6, 0xE56D, 0xE6FD, 0xE890, 0xEA2E, 0xEBD7, 0xED89, 0xEF41, + 0xF0FE, 0xF2BF, 0xF480, 0xF641, 0xF800, 0xF9BA, 0xFB6F, 0xFD1B, + 0xFEBF, 0x0055, 0x01E0, 0x0373, 0x0520, 0x06D9, 0x0894, 0x0A46, + 0x0BE3, 0x0D5F, 0x0EB0, 0x0FCA, 0x10A1, 0x112B, 0x115B, 0x8001, + 0x8001, 0x4171, 0x4178, 0x418C, 0x41AD, 0x41D9, 0x420F, 0x424E, + 0x4296, 0x42E5, 0x433A, 0x4394, 0x43F2, 0x4454, 0x44B7, 0x451B, + 0x4580, 0x45E3, 0x4644, 0x46A3, 0x46FD, 0x4752, 0x47A1, 0x47E8, + 0x4828, 0x485E, 0x488A, 0x48AB, 0x48BF, 0x48C6, 0x47A9, 0x4531, + 0x42AE, 0x4171, 0x4148, 0x4124, 0x4103, 0x40E6, 0x40CD, 0x40B8, + 0x40A5, 0x4096, 0x408A, 0x4081, 0x407A, 0x4076, 0x4074, 0x4074, + 0x4077, 0x407B, 0x4081, 0x4088, 0x4091, 0x409B, 0x40A6, 0x40B3, + 0x40BF, 0x40CD, 0x40DB, 0x40E9, 0x40F7, 0x4105, 0x4113, 0x4121, + 0x412E, 0x413A, 0x4146, 0x4150, 0x4159, 0x4161, 0x4168, 0x416D, + 0x4170, 0x4171, 0x4171, 0x4171, 0x4171, 0x4171, 0x0000, 0xFF5B, + 0xFDA6, 0xFB3B, 0xF877, 0xF5B2, 0xF348, 0xF193, 0xF0ED, 0xF111, + 0xF175, 0xF213, 0xF2E1, 0xF3D8, 0xF4F1, 0xF622, 0xF763, 0xF8AE, + 0xF9F8, 0xFB3C, 0xFC6F, 0xFD8B, 0xFE88, 0xFF5C, 0x0000, 0x0073, + 0x00BF, 0x00E8, 0x00F5, 0x00EA, 0x00CE, 0x00A7, 0x007A, 0x004D, + 0x0026, 0x000A, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0xC5E4, 0xC5E6, 0xC5DC, 0xC5AD, 0xC543, + 0xC484, 0xC35A, 0xC1AA, 0xBF5F, 0xBC8A, 0xB95A, 0xB5DC, 0xB21E, + 0xAE31, 0xAA21, 0xA5FE, 0xA1D6, 0x9DB8, 0x99B3, 0x95D4, 0x922A, + 0x8EC5, 0x8BB2, 0x8900, 0x86BD, 0x850A, 0x83EE, 0x8353, 0x8325, + 0x834C, 0x83B5, 0x8448, 0x84F1, 0x859A, 0x862D, 0x8696, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x8001, 0x8001, 0x4171, 0xBF5F, 0x06A3, 0x069B, 0x0685, 0x0660, + 0x062E, 0x05F0, 0x05A6, 0x0552, 0x04F5, 0x048E, 0x0420, 0x03AB, + 0x0330, 0x02B0, 0x022C, 0x01A4, 0x011A, 0x008E, 0x0002, 0xFF77, + 0xFEEC, 0xFE63, 0xFDDD, 0xFD5B, 0xFCDE, 0xFC66, 0xFBF5, 0xFB8B, + 0xFB29, 0xFAD0, 0xFA82, 0xFA3F, 0xFA07, 0xF9DC, 0xF9BF, 0xF9B0, + 0xF9B1, 0xF9C1, 0xF9DE, 0xFA07, 0xFA3D, 0xFA7E, 0xFAC9, 0xFB1E, + 0xFB7C, 0xFBE2, 0xFC50, 0xFCC5, 0xFD40, 0xFDC1, 0xFE47, 0xFED0, + 0xFF5D, 0xFFEC, 0x007D, 0x010F, 0x01A2, 0x0235, 0x02C7, 0x0358, + 0x03E6, 0x0470, 0x04F7, 0x057A, 0x05F7, 0x066F, 0x06E0, 0x0749, + 0x07AA, 0x0803, 0x0852, 0x0897, 0x08D1, 0x08FF, 0x0921, 0x0936, + 0x093D, 0x0154, 0x0168, 0x0199, 0x01D5, 0x020D, 0x0246, 0x0287, + 0x02BA, 0x02CC, 0x02C0, 0x02A6, 0x0283, 0x025A, 0x0230, 0x0209, + 0x01E9, 0x01D3, 0x01C3, 0x01B4, 0x01A5, 0x0197, 0x0189, 0x017C, + 0x0170, 0x0166, 0x015D, 0x0156, 0x0151, 0x014E, 0x014D, 0x014F, + 0x0154, 0x015B, 0x016A, 0x0182, 0x01A2, 0x01C7, 0x01F1, 0x021C, + 0x0246, 0x026E, 0x0292, 0x02B0, 0x02C5, 0x02D0, 0x02D2, 0x02D0, + 0x02C9, 0x02BF, 0x02B2, 0x02A2, 0x0290, 0x027C, 0x0268, 0x0252, + 0x023D, 0x0228, 0x0214, 0x0202, 0x01F2, 0x01E4, 0x01D7, 0x01CA, + 0x01BD, 0x01B0, 0x01A2, 0x0195, 0x0188, 0x017C, 0x0171, 0x0166, + 0x015D, 0x0155, 0x014F, 0x014A, 0x0147, 0x0146, 0xF9E6, 0xFA31, + 0xFA82, 0xFADA, 0xFB38, 0xFB9C, 0xFC04, 0xFC70, 0xFCE1, 0xFD54, + 0xFDCB, 0xFE43, 0xFEBD, 0xFF38, 0xFFB3, 0x002E, 0x00A9, 0x0123, + 0x019B, 0x0211, 0x0284, 0x02F4, 0x0360, 0x03C8, 0x042A, 0x0488, + 0x04DF, 0x0530, 0x0579, 0x05BB, 0x05F5, 0x0626, 0x064E, 0x066C, + 0x067F, 0x0688, 0x0685, 0x0677, 0x065F, 0x063E, 0x0613, 0x05DF, + 0x05A4, 0x0560, 0x0516, 0x04C4, 0x046C, 0x040E, 0x03AA, 0x0342, + 0x02D5, 0x0264, 0x01EF, 0x0177, 0x00FC, 0x007E, 0x0000, 0xFF80, + 0xFEFF, 0xFE7D, 0xFDFB, 0xFD7A, 0xFCF9, 0xFC7A, 0xFBFC, 0xFB81, + 0xFB09, 0xFA94, 0xFA22, 0xF9B5, 0xF94C, 0xF8E8, 0xF889, 0xF830, + 0xF7DE, 0xF793, 0xF74F, 0xFFC6, 0xFFCF, 0xFFE7, 0x0007, 0x002D, + 0x0053, 0x0072, 0x0086, 0x0089, 0x0081, 0x0076, 0x0069, 0x0059, + 0x0047, 0x0034, 0x001F, 0x0009, 0xFFF3, 0xFFDB, 0xFFC3, 0xFFAC, + 0xFF94, 0xFF7D, 0xFF67, 0xFF52, 0xFF3F, 0xFF2D, 0xFF1D, 0xFF0F, + 0xFF04, 0xFEFC, 0xFEF7, 0xFEF6, 0xFEFA, 0xFF07, 0xFF1B, 0xFF35, + 0xFF54, 0xFF76, 0xFF9B, 0xFFC1, 0xFFE7, 0x000B, 0x002E, 0x004E, + 0x0068, 0x007E, 0x008C, 0x0092, 0x0093, 0x0091, 0x008C, 0x0085, + 0x007C, 0x0072, 0x0066, 0x0058, 0x0049, 0x0039, 0x0028, 0x0017, + 0x0005, 0xFFF4, 0xFFE1, 0xFFCF, 0xFFBD, 0xFFAC, 0xFF9B, 0xFF8C, + 0xFF7D, 0xFF70, 0xFF64, 0xFF5A, 0xFF52, 0xFF4C, 0xFF48, 0xFF47, + 0x3B05, 0x3B16, 0x3B40, 0x3B7C, 0x3BC1, 0x3C06, 0x3C42, 0x3C6D, + 0x3C7D, 0x3C7C, 0x3C78, 0x3C71, 0x3C68, 0x3C5D, 0x3C51, 0x3C42, + 0x3C33, 0x3C22, 0x3C10, 0x3BFD, 0x3BE9, 0x3BD5, 0x3BC1, 0x3BAD, + 0x3B99, 0x3B86, 0x3B73, 0x3B61, 0x3B50, 0x3B40, 0x3B32, 0x3B25, + 0x3B1A, 0x3B12, 0x3B0B, 0x3B07, 0x3B05, 0x3B16, 0x3B40, 0x3B7C, + 0x3BC1, 0x3C06, 0x3C42, 0x3C6D, 0x3C7D, 0x3C7C, 0x3C79, 0x3C74, + 0x3C6D, 0x3C64, 0x3C5A, 0x3C4F, 0x3C42, 0x3C35, 0x3C26, 0x3C16, + 0x3C06, 0x3BF6, 0x3BE4, 0x3BD3, 0x3BC1, 0x3BB0, 0x3B9E, 0x3B8D, + 0x3B7C, 0x3B6C, 0x3B5D, 0x3B4E, 0x3B40, 0x3B34, 0x3B28, 0x3B1E, + 0x3B16, 0x3B0F, 0x3B0A, 0x3B07, 0x3B05, +}; + diff --git a/docs/lua/examples/custom-animations-dynos/actors/mario/anims/table.inc.c b/docs/lua/examples/custom-animations-dynos/actors/mario/anims/table.inc.c new file mode 100644 index 00000000..23d2a82d --- /dev/null +++ b/docs/lua/examples/custom-animations-dynos/actors/mario/anims/table.inc.c @@ -0,0 +1,3 @@ +const struct Animation *const mario_anims[] = { + anim_72, +}; \ No newline at end of file diff --git a/docs/lua/examples/custom-animations-dynos/main.lua b/docs/lua/examples/custom-animations-dynos/main.lua new file mode 100644 index 00000000..6ac034bf --- /dev/null +++ b/docs/lua/examples/custom-animations-dynos/main.lua @@ -0,0 +1,6 @@ +-- name: Custom animation (DynOS) +-- description: No running allowed.\nReplace the running animation by Mario walking. + +-- Note 1: Since this method requires an actor to work, it is not very convenient. Consider using the LUA method instead. +-- Note 2: To make this mod work properly, copy the content of the repository actors/mario folder to the mod's actors/mario folder. +-- Note 3: Animation index 0x72 is MARIO_ANIM_RUNNING, the animation we want to replace. diff --git a/docs/lua/examples/custom-animations-lua/animations.lua b/docs/lua/examples/custom-animations-lua/animations.lua new file mode 100644 index 00000000..25bd5e5b --- /dev/null +++ b/docs/lua/examples/custom-animations-lua/animations.lua @@ -0,0 +1,351 @@ +smlua_anim_util_register_animation("mario_anim_walking", + 0, + 189, + 0, + 0, + 0x4D, + { + 0x0000, 0x00C0, 0x00BF, 0x00BB, 0x00B7, 0x00B4, 0x00B1, 0x00AE, + 0x00AC, 0x00AC, 0x00AD, 0x00AF, 0x00B1, 0x00B3, 0x00B6, 0x00B8, + 0x00BB, 0x00BE, 0x00C0, 0x00C3, 0x00C6, 0x00C8, 0x00CA, 0x00CD, + 0x00D0, 0x00D3, 0x00D5, 0x00D8, 0x00D9, 0x00D9, 0x00D9, 0x00D8, + 0x00D5, 0x00D3, 0x00D0, 0x00CD, 0x00CA, 0x00C8, 0x00C5, 0x00C3, + 0x00C0, 0x00BD, 0x00BA, 0x00B8, 0x00B5, 0x00B2, 0x00B0, 0x00AE, + 0x00AC, 0x00AB, 0x00AB, 0x00AB, 0x00AC, 0x00AC, 0x00AD, 0x00AE, + 0x00B0, 0x00B2, 0x00B6, 0x00BB, 0x00C2, 0x00C6, 0x00C9, 0x00CC, + 0x00CF, 0x00D2, 0x00D4, 0x00D6, 0x00D8, 0x00D9, 0x00D9, 0x00D8, + 0x00D6, 0x00D3, 0x00CF, 0x00CA, 0x00C5, 0x00C3, 0x3FFF, 0xDFD1, + 0xDFCB, 0xDFB9, 0xDF9C, 0xDF75, 0xDF46, 0xDF0E, 0xDECF, 0xDE89, + 0xDE3F, 0xDDEF, 0xDD9C, 0xDD47, 0xDCEF, 0xDC97, 0xDC3F, 0xDBE7, + 0xDB92, 0xDB3F, 0xDAF0, 0xDAA5, 0xDA5F, 0xDA20, 0xD9E9, 0xD9B9, + 0xD992, 0xD975, 0xD964, 0xD95D, 0xD960, 0xD967, 0xD973, 0xD984, + 0xD999, 0xD9B1, 0xD9CD, 0xD9ED, 0xDA10, 0xDA36, 0xDA5F, 0xDA8B, + 0xDAB9, 0xDAE9, 0xDB1A, 0xDB4E, 0xDB82, 0xDBB8, 0xDBEF, 0xDC27, + 0xDC5F, 0xDC97, 0xDCCF, 0xDD07, 0xDD3F, 0xDD76, 0xDDAC, 0xDDE0, + 0xDE14, 0xDE46, 0xDE75, 0xDEA3, 0xDECF, 0xDEF8, 0xDF1E, 0xDF41, + 0xDF61, 0xDF7D, 0xDF96, 0xDFAA, 0xDFBB, 0xDFC7, 0xDFCE, 0xDFD1, + 0xDFD1, 0xDFD1, 0xDFD1, 0xDFD1, 0x047B, 0x0470, 0x0451, 0x041E, + 0x03DB, 0x0387, 0x0326, 0x02B7, 0x023E, 0x01BB, 0x0130, 0x009F, + 0x0009, 0xFF71, 0xFED7, 0xFE3C, 0xFDA3, 0xFD0D, 0xFC7C, 0xFBF1, + 0xFB6E, 0xFAF5, 0xFA87, 0xFA25, 0xF9D1, 0xF98E, 0xF95B, 0xF93C, + 0xF931, 0xF936, 0xF943, 0xF958, 0xF975, 0xF999, 0xF9C4, 0xF9F6, + 0xFA2D, 0xFA6B, 0xFAAD, 0xFAF5, 0xFB41, 0xFB91, 0xFBE5, 0xFC3C, + 0xFC96, 0xFCF2, 0xFD51, 0xFDB1, 0xFE12, 0xFE74, 0xFED7, 0xFF39, + 0xFF9B, 0xFFFC, 0x005B, 0x00BA, 0x0116, 0x0170, 0x01C7, 0x021B, + 0x026B, 0x02B7, 0x02FF, 0x0341, 0x037F, 0x03B7, 0x03E8, 0x0413, + 0x0437, 0x0454, 0x0469, 0x0476, 0x047B, 0x047B, 0x047B, 0x047B, + 0x047B, 0xED8C, 0xED85, 0xED72, 0xED55, 0xED2C, 0xECFB, 0xECC0, + 0xEC7F, 0xEC36, 0xEBE9, 0xEB96, 0xEB40, 0xEAE6, 0xEA8B, 0xEA2F, + 0xE9D3, 0xE978, 0xE91F, 0xE8C9, 0xE876, 0xE828, 0xE7E0, 0xE79E, + 0xE764, 0xE732, 0xE70A, 0xE6EC, 0xE6D9, 0xE6D3, 0xE6D6, 0xE6DD, + 0xE6EA, 0xE6FB, 0xE711, 0xE72A, 0xE748, 0xE769, 0xE78E, 0xE7B5, + 0xE7E0, 0xE80D, 0xE83D, 0xE86F, 0xE8A3, 0xE8D8, 0xE90F, 0xE947, + 0xE980, 0xE9BA, 0xE9F5, 0xEA2F, 0xEA6A, 0xEAA4, 0xEADE, 0xEB17, + 0xEB50, 0xEB87, 0xEBBC, 0xEBF0, 0xEC22, 0xEC51, 0xEC7F, 0xECA9, + 0xECD1, 0xECF6, 0xED17, 0xED34, 0xED4E, 0xED63, 0xED75, 0xED81, + 0xED89, 0xED8C, 0xED8C, 0xED8C, 0xED8C, 0xED8C, 0xDF7F, 0xDF86, + 0xDF9A, 0xDFBB, 0xDFE7, 0xE01D, 0xE05D, 0xE0A4, 0xE0F3, 0xE148, + 0xE1A2, 0xE200, 0xE262, 0xE2C5, 0xE32A, 0xE38E, 0xE3F1, 0xE453, + 0xE4B1, 0xE50B, 0xE560, 0xE5AF, 0xE5F7, 0xE636, 0xE66C, 0xE698, + 0xE6B9, 0xE6CD, 0xE6D4, 0xE6D1, 0xE6C9, 0xE6BB, 0xE6A9, 0xE691, + 0xE675, 0xE655, 0xE631, 0xE609, 0xE5DD, 0xE5AF, 0xE57E, 0xE549, + 0xE513, 0xE4DB, 0xE4A0, 0xE464, 0xE427, 0xE3E8, 0xE3A9, 0xE36A, + 0xE32A, 0xE2EA, 0xE2AA, 0xE26B, 0xE22C, 0xE1EF, 0xE1B3, 0xE179, + 0xE140, 0xE10A, 0xE0D6, 0xE0A4, 0xE076, 0xE04A, 0xE023, 0xDFFE, + 0xDFDE, 0xDFC2, 0xDFAB, 0xDF98, 0xDF8A, 0xDF82, 0xDF7F, 0xDF7F, + 0xDF7F, 0xDF7F, 0xDF7F, 0xF765, 0xF75F, 0xF74F, 0xF734, 0xF711, + 0xF6E5, 0xF6B1, 0xF677, 0xF637, 0xF5F2, 0xF5A9, 0xF55C, 0xF50E, + 0xF4BD, 0xF46C, 0xF41A, 0xF3C9, 0xF37B, 0xF32E, 0xF2E5, 0xF2A0, + 0xF260, 0xF226, 0xF1F3, 0xF1C7, 0xF1A3, 0xF188, 0xF178, 0xF172, + 0xF175, 0xF17B, 0xF186, 0xF196, 0xF1A9, 0xF1BF, 0xF1DA, 0xF1F7, + 0xF217, 0xF23A, 0xF260, 0xF288, 0xF2B2, 0xF2DF, 0xF30C, 0xF33C, + 0xF36C, 0xF39E, 0xF3D1, 0xF404, 0xF438, 0xF46C, 0xF49F, 0xF4D3, + 0xF506, 0xF539, 0xF56B, 0xF59B, 0xF5CB, 0xF5F8, 0xF625, 0xF64F, + 0xF677, 0xF69D, 0xF6C0, 0xF6E0, 0xF6FE, 0xF718, 0xF72E, 0xF741, + 0xF751, 0xF75C, 0xF763, 0xF765, 0xF765, 0xF765, 0xF765, 0xF765, + 0xE83F, 0xE843, 0xE84D, 0xE85D, 0xE872, 0xE88C, 0xE8AB, 0xE8CE, + 0xE8F4, 0xE91D, 0xE949, 0xE977, 0xE9A6, 0xE9D6, 0xEA07, 0xEA37, + 0xEA68, 0xEA97, 0xEAC5, 0xEAF0, 0xEB19, 0xEB40, 0xEB63, 0xEB81, + 0xEB9C, 0xEBB1, 0xEBC1, 0xEBCB, 0xEBCE, 0xEBCD, 0xEBC9, 0xEBC2, + 0xEBB9, 0xEBAD, 0xEBA0, 0xEB90, 0xEB7F, 0xEB6B, 0xEB56, 0xEB40, + 0xEB28, 0xEB0F, 0xEAF4, 0xEAD9, 0xEABC, 0xEA9F, 0xEA82, 0xEA63, + 0xEA45, 0xEA26, 0xEA07, 0xE9E8, 0xE9C9, 0xE9AA, 0xE98C, 0xE96E, + 0xE951, 0xE935, 0xE919, 0xE8FF, 0xE8E6, 0xE8CE, 0xE8B7, 0xE8A2, + 0xE88F, 0xE87D, 0xE86E, 0xE860, 0xE855, 0xE84C, 0xE845, 0xE841, + 0xE83F, 0xE83F, 0xE83F, 0xE83F, 0xE83F, 0xBB44, 0xBB7E, 0xBC23, + 0xBD2E, 0xBE94, 0xC04E, 0xC253, 0xC49B, 0xC71E, 0xC9D3, 0xCCB1, + 0xCFB1, 0xD2CB, 0xD5F5, 0xD927, 0xDC59, 0xDF83, 0xE29C, 0xE59C, + 0xE87B, 0xEB30, 0xEDB3, 0xEFFB, 0xF200, 0xF3BA, 0xF520, 0xF62A, + 0xF6D0, 0xF709, 0xF6F2, 0xF6AD, 0xF63E, 0xF5A5, 0xF4E6, 0xF401, + 0xF2FB, 0xF1D4, 0xF08F, 0xEF2E, 0xEDB3, 0xEC20, 0xEA78, 0xE8BC, + 0xE6EF, 0xE513, 0xE32A, 0xE136, 0xDF3A, 0xDD37, 0xDB30, 0xD927, + 0xD71E, 0xD517, 0xD314, 0xD117, 0xCF24, 0xCD3B, 0xCB5F, 0xC992, + 0xC7D6, 0xC62E, 0xC49B, 0xC320, 0xC1BF, 0xC07A, 0xBF53, 0xBE4C, + 0xBD68, 0xBCA9, 0xBC10, 0xBBA0, 0xBB5C, 0xBB44, 0xBB44, 0xBB44, + 0xBB44, 0xBB44, 0x0000, 0x0014, 0x0050, 0x00B1, 0x0132, 0x01D2, + 0x028E, 0x0361, 0x044A, 0x0545, 0x064F, 0x0765, 0x0884, 0x09A9, + 0x0AD1, 0x0BFA, 0x0D1F, 0x0E3E, 0x0F54, 0x105E, 0x1159, 0x1242, + 0x1315, 0x13D0, 0x1470, 0x14F2, 0x1553, 0x158F, 0x15A3, 0x159B, + 0x1582, 0x155A, 0x1522, 0x14DD, 0x148A, 0x142B, 0x13C1, 0x134B, + 0x12CB, 0x1242, 0x11B0, 0x1116, 0x1076, 0x0FCF, 0x0F22, 0x0E71, + 0x0DBD, 0x0D04, 0x0C4A, 0x0B8E, 0x0AD1, 0x0A15, 0x0959, 0x089E, + 0x07E6, 0x0731, 0x0680, 0x05D4, 0x052D, 0x048D, 0x03F3, 0x0361, + 0x02D8, 0x0258, 0x01E2, 0x0178, 0x0118, 0x00C6, 0x0081, 0x0049, + 0x0021, 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x000D, 0x0035, 0x0074, 0x00CA, 0x0133, 0x01AE, 0x023A, 0x02D3, + 0x0378, 0x0428, 0x04DF, 0x059C, 0x065D, 0x0721, 0x07E4, 0x08A5, + 0x0962, 0x0A19, 0x0AC9, 0x0B6E, 0x0C07, 0x0C93, 0x0D0E, 0x0D77, + 0x0DCD, 0x0E0C, 0x0E34, 0x0E42, 0x0E3C, 0x0E2C, 0x0E11, 0x0DED, + 0x0DBF, 0x0D89, 0x0D4A, 0x0D04, 0x0CB6, 0x0C62, 0x0C07, 0x0BA7, + 0x0B42, 0x0AD8, 0x0A6A, 0x09F9, 0x0984, 0x090D, 0x0894, 0x0819, + 0x079D, 0x0721, 0x06A4, 0x0628, 0x05AE, 0x0534, 0x04BD, 0x0448, + 0x03D7, 0x0369, 0x02FF, 0x029A, 0x023A, 0x01DF, 0x018B, 0x013E, + 0x00F7, 0x00B9, 0x0082, 0x0055, 0x0030, 0x0015, 0x0005, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0xF549, 0xF540, 0xF525, 0xF4FA, + 0xF4C1, 0xF47A, 0xF426, 0xF3C8, 0xF361, 0xF2F1, 0xF27B, 0xF1FF, + 0xF17F, 0xF0FD, 0xF079, 0xEFF5, 0xEF72, 0xEEF3, 0xEE77, 0xEE01, + 0xED91, 0xED29, 0xECCB, 0xEC78, 0xEC31, 0xEBF7, 0xEBCC, 0xEBB2, + 0xEBA8, 0xEBAC, 0xEBB7, 0xEBC9, 0xEBE2, 0xEC01, 0xEC25, 0xEC50, + 0xEC7F, 0xECB4, 0xECEC, 0xED29, 0xED6A, 0xEDAF, 0xEDF6, 0xEE40, + 0xEE8D, 0xEEDC, 0xEF2C, 0xEF7E, 0xEFD1, 0xF025, 0xF079, 0xF0CD, + 0xF120, 0xF173, 0xF1C5, 0xF216, 0xF264, 0xF2B1, 0xF2FB, 0xF343, + 0xF387, 0xF3C8, 0xF405, 0xF43E, 0xF472, 0xF4A2, 0xF4CC, 0xF4F1, + 0xF510, 0xF528, 0xF53A, 0xF546, 0xF549, 0xF549, 0xF549, 0xF549, + 0xF549, 0xD47F, 0xD48C, 0xD4B4, 0xD4F4, 0xD549, 0xD5B2, 0xD62E, + 0xD6B9, 0xD753, 0xD7F8, 0xD8A7, 0xD95E, 0xDA1C, 0xDADD, 0xDBA0, + 0xDC63, 0xDD25, 0xDDE2, 0xDE99, 0xDF48, 0xDFEE, 0xE087, 0xE112, + 0xE18E, 0xE1F7, 0xE24D, 0xE28C, 0xE2B4, 0xE2C1, 0xE2BC, 0xE2AB, + 0xE291, 0xE26C, 0xE23F, 0xE208, 0xE1CA, 0xE183, 0xE136, 0xE0E1, + 0xE087, 0xE027, 0xDFC2, 0xDF58, 0xDEEA, 0xDE78, 0xDE04, 0xDD8C, + 0xDD13, 0xDC98, 0xDC1C, 0xDBA0, 0xDB24, 0xDAA8, 0xDA2D, 0xD9B4, + 0xD93D, 0xD8C8, 0xD856, 0xD7E8, 0xD77E, 0xD719, 0xD6B9, 0xD65F, + 0xD60B, 0xD5BD, 0xD577, 0xD538, 0xD502, 0xD4D4, 0xD4AF, 0xD495, + 0xD484, 0xD47F, 0xD47F, 0xD47F, 0xD47F, 0xD47F, 0x0340, 0x0331, + 0x0305, 0x02C0, 0x0262, 0x01EE, 0x0166, 0x00CD, 0x0024, 0xFF70, + 0xFEAF, 0xFDE6, 0xFD15, 0xFC41, 0xFB6A, 0xFA94, 0xF9BF, 0xF8EF, + 0xF826, 0xF765, 0xF6B0, 0xF607, 0xF56E, 0xF4E6, 0xF472, 0xF414, + 0xF3CE, 0xF3A3, 0xF394, 0xF39A, 0xF3AC, 0xF3C9, 0xF3F1, 0xF424, + 0xF460, 0xF4A4, 0xF4F2, 0xF547, 0xF5A4, 0xF607, 0xF671, 0xF6E0, + 0xF754, 0xF7CD, 0xF84A, 0xF8CA, 0xF94D, 0xF9D3, 0xFA5A, 0xFAE2, + 0xFB6A, 0xFBF3, 0xFC7B, 0xFD02, 0xFD88, 0xFE0B, 0xFE8B, 0xFF08, + 0xFF81, 0xFFF5, 0x0063, 0x00CD, 0x0130, 0x018D, 0x01E2, 0x0230, + 0x0274, 0x02B0, 0x02E2, 0x030A, 0x0328, 0x033A, 0x0340, 0x0340, + 0x0340, 0x0340, 0x0340, 0x2A4A, 0x2A3E, 0x2A1D, 0x29E7, 0x299E, + 0x2944, 0x28DB, 0x2865, 0x27E2, 0x2756, 0x26C1, 0x2625, 0x2584, + 0x24E0, 0x243A, 0x2393, 0x22EF, 0x224E, 0x21B2, 0x211D, 0x2091, + 0x200E, 0x1F98, 0x1F2F, 0x1ED5, 0x1E8C, 0x1E56, 0x1E35, 0x1E29, + 0x1E2E, 0x1E3C, 0x1E52, 0x1E71, 0x1E98, 0x1EC7, 0x1EFC, 0x1F38, + 0x1F7A, 0x1FC1, 0x200E, 0x2060, 0x20B6, 0x2110, 0x216E, 0x21CE, + 0x2231, 0x2297, 0x22FE, 0x2366, 0x23D0, 0x243A, 0x24A3, 0x250D, + 0x2575, 0x25DC, 0x2642, 0x26A5, 0x2705, 0x2763, 0x27BD, 0x2813, + 0x2865, 0x28B2, 0x28F9, 0x293B, 0x2977, 0x29AC, 0x29DB, 0x2A02, + 0x2A21, 0x2A37, 0x2A45, 0x2A4A, 0x2A4A, 0x2A4A, 0x2A4A, 0x2A4A, + 0xF36B, 0xF32A, 0xF26F, 0xF142, 0xEFAE, 0xEDBB, 0xEB72, 0xE8DF, + 0xE609, 0xE2FA, 0xDFBD, 0xDC59, 0xD8D9, 0xD546, 0xD1AA, 0xCE0E, + 0xCA7B, 0xC6FB, 0xC398, 0xC05A, 0xBD4B, 0xBA76, 0xB7E2, 0xB59A, + 0xB3A7, 0xB212, 0xB0E5, 0xB02A, 0xAFE9, 0xB004, 0xB051, 0xB0CF, + 0xB17C, 0xB254, 0xB356, 0xB47E, 0xB5CB, 0xB73B, 0xB8C9, 0xBA76, + 0xBC3C, 0xBE1C, 0xC011, 0xC219, 0xC433, 0xC65B, 0xC88F, 0xCACE, + 0xCD13, 0xCF5D, 0xD1AA, 0xD3F7, 0xD641, 0xD887, 0xDAC5, 0xDCF9, + 0xDF21, 0xE13B, 0xE344, 0xE539, 0xE718, 0xE8DF, 0xEA8B, 0xEC1A, + 0xED89, 0xEED6, 0xEFFF, 0xF100, 0xF1D8, 0xF285, 0xF303, 0xF351, + 0xF36B, 0xF36B, 0xF36B, 0xF36B, 0xF36B, 0xC353, 0xC37E, 0xC3EE, + 0xC489, 0xC535, 0xC5DA, 0xC65C, 0xC6A3, 0xC696, 0xC54D, 0xC2E4, + 0xC0C2, 0xC04B, 0xC14B, 0xC293, 0xC417, 0xC5CA, 0xC79F, 0xC98A, + 0xCB7E, 0xCD6E, 0xCF4D, 0xD10F, 0xD2A7, 0xD408, 0xD55B, 0xD6BD, + 0xD80F, 0xD932, 0xDA04, 0xDA69, 0xDA3E, 0xD967, 0xD7FB, 0xD633, + 0xD41E, 0xD1C9, 0xCF42, 0xCC99, 0xC9DB, 0xC716, 0xC459, 0xC1B2, + 0xBF2F, 0xBCDE, 0xBACF, 0xB90E, 0xB7AA, 0xB6B2, 0xB625, 0xB5F1, + 0xB60D, 0xB66E, 0xB70B, 0xB7D9, 0xB8CD, 0xB9DF, 0xBB03, 0xBC2F, + 0xBD5A, 0xBE79, 0xBF82, 0xC06A, 0xC128, 0xC1B2, 0xC211, 0xC258, + 0xC289, 0xC2A8, 0xC2B8, 0xC2BC, 0xC2B8, 0xC2AD, 0xC29F, 0xC291, + 0xC287, 0xC283, 0x17EE, 0x1871, 0x19CE, 0x1BBF, 0x1E00, 0x204D, + 0x2262, 0x23F9, 0x24CE, 0x2511, 0x2523, 0x250B, 0x24CF, 0x2476, + 0x2406, 0x2388, 0x2301, 0x2277, 0x21F3, 0x217B, 0x2115, 0x20C8, + 0x209B, 0x2094, 0x20BB, 0x212F, 0x21FF, 0x231B, 0x2472, 0x25F3, + 0x278E, 0x2933, 0x2AD0, 0x2C7F, 0x2E5C, 0x305F, 0x327D, 0x34AD, + 0x36E5, 0x391C, 0x3B48, 0x3D60, 0x3F59, 0x412B, 0x42CB, 0x4431, + 0x4552, 0x4624, 0x469F, 0x46C8, 0x46AE, 0x4656, 0x45C4, 0x44FE, + 0x4408, 0x42E7, 0x41A1, 0x4038, 0x3EB3, 0x3D17, 0x3B67, 0x39A9, + 0x37E2, 0x3616, 0x344A, 0x3229, 0x2F73, 0x2C4D, 0x28DE, 0x254A, + 0x21B7, 0x1E4A, 0x1B28, 0x1878, 0x165E, 0x14FF, 0x1482, 0x0057, + 0x0058, 0x005A, 0x005C, 0x005F, 0x0062, 0x0064, 0x0067, 0x0068, + 0x0068, 0x0068, 0x0068, 0x0068, 0x0067, 0x0066, 0x0065, 0x0064, + 0x0064, 0x0063, 0x0063, 0x0063, 0x0063, 0x0064, 0x0066, 0x0068, + 0x006C, 0x0073, 0x007D, 0x0087, 0x0091, 0x0099, 0x009F, 0x00A1, + 0x00A0, 0x009C, 0x0097, 0x0091, 0x008A, 0x0083, 0x007B, 0x0074, + 0x006F, 0x006A, 0x0068, 0x0068, 0x0075, 0x008F, 0x00A9, 0x00B5, + 0x00B5, 0x00B4, 0x00B3, 0x00B2, 0x00B0, 0x00AD, 0x00AA, 0x00A6, + 0x00A1, 0x009C, 0x0096, 0x008E, 0x0086, 0x007D, 0x0073, 0x0068, + 0x0059, 0x0045, 0x002C, 0x0011, 0xFFF5, 0xFFD8, 0xFFBC, 0xFFA2, + 0xFF8C, 0xFF7B, 0xFF6F, 0xFF6B, 0xFFC8, 0xFFBE, 0xFFA4, 0xFF7F, + 0xFF53, 0xFF25, 0xFEFC, 0xFEDB, 0xFEC8, 0xFEBE, 0xFEB7, 0xFEB2, + 0xFEAF, 0xFEAD, 0xFEAD, 0xFEAE, 0xFEB0, 0xFEB3, 0xFEB6, 0xFEBA, + 0xFEBD, 0xFEC1, 0xFEC4, 0xFEC6, 0xFEC8, 0xFEC9, 0xFECD, 0xFED1, + 0xFED5, 0xFEDA, 0xFEDD, 0xFEE0, 0xFEE1, 0xFEE0, 0xFEDF, 0xFEDD, + 0xFEDA, 0xFED6, 0xFED3, 0xFED0, 0xFECD, 0xFECA, 0xFEC8, 0xFEC7, + 0xFEC8, 0xFECE, 0xFEDB, 0xFEE7, 0xFEED, 0xFEED, 0xFEEB, 0xFEEA, + 0xFEE8, 0xFEE5, 0xFEE2, 0xFEDF, 0xFEDC, 0xFED8, 0xFED5, 0xFED2, + 0xFECF, 0xFECC, 0xFECA, 0xFEC9, 0xFEC8, 0xFEC7, 0xFEC8, 0xFEC9, + 0xFECB, 0xFECE, 0xFED0, 0xFED3, 0xFED5, 0xFED7, 0xFED9, 0xFEDA, + 0xFEDA, 0xA28A, 0xA293, 0xA2B2, 0xA2EF, 0xA352, 0xA3E5, 0xA4AE, + 0xA5B6, 0xA706, 0xA88C, 0xAA2F, 0xABEC, 0xADBF, 0xAFA6, 0xB19C, + 0xB39E, 0xB5A9, 0xB7B9, 0xB9CB, 0xBBDA, 0xBDE5, 0xBFE7, 0xC1DC, + 0xC3C2, 0xC594, 0xC784, 0xC9A9, 0xCBD9, 0xCDEA, 0xCFB4, 0xD10C, + 0xD1C9, 0xD1C1, 0xD126, 0xD048, 0xCF29, 0xCDCE, 0xCC3A, 0xCA72, + 0xC878, 0xC651, 0xC400, 0xC189, 0xBEF0, 0xBC38, 0xB775, 0xB063, + 0xA987, 0xA564, 0xA386, 0xA1CC, 0xA034, 0x9EBD, 0x9D65, 0x9C2C, + 0x9B11, 0x9A12, 0x992D, 0x9863, 0x97B1, 0x9717, 0x9693, 0x9624, + 0x95C9, 0x9581, 0x9579, 0x95D4, 0x967E, 0x9765, 0x9876, 0x999F, + 0x9ACE, 0x9BEF, 0x9CF1, 0x9DC0, 0x9E49, 0x9E7B, 0xD74A, 0xD6C1, + 0xD552, 0xD33F, 0xD0CA, 0xCE33, 0xCBBC, 0xC9A8, 0xC837, 0xC733, + 0xC639, 0xC54A, 0xC466, 0xC390, 0xC2C7, 0xC20B, 0xC15F, 0xC0C2, + 0xC036, 0xBFBB, 0xBF52, 0xBEFB, 0xBEB8, 0xBE89, 0xBE70, 0xBE86, + 0xBEDE, 0xBF6C, 0xC025, 0xC0FE, 0xC1EB, 0xC2E0, 0xC3D2, 0xC4B6, + 0xC57F, 0xC623, 0xC696, 0xC6E8, 0xC72A, 0xC752, 0xC756, 0xC72B, + 0xC6C8, 0xC621, 0xC52C, 0xC312, 0xBFAF, 0xBC09, 0xB924, 0xB6BB, + 0xB470, 0xB328, 0xB3C5, 0xB5E4, 0xB87A, 0xBB6D, 0xBEA7, 0xC20E, + 0xC58A, 0xC903, 0xCC61, 0xCF8B, 0xD269, 0xD4E4, 0xD6E2, 0xD872, + 0xD9B8, 0xDABC, 0xDB85, 0xDC1A, 0xDC84, 0xDCC8, 0xDCEF, 0xDD01, + 0xDD04, 0xDD01, 0xDCFE, 0x2A1A, 0x2B45, 0x2E5E, 0x32CA, 0x37EC, + 0x3D29, 0x41E6, 0x4587, 0x4770, 0x483B, 0x48E6, 0x496E, 0x49D1, + 0x4A0B, 0x4A19, 0x49F8, 0x49A4, 0x491B, 0x4859, 0x475C, 0x461F, + 0x44A1, 0x42DD, 0x40D1, 0x3E79, 0x3AC3, 0x3508, 0x2DE9, 0x2609, + 0x1E09, 0x168A, 0x102F, 0x0B97, 0x0AA9, 0x0D59, 0x1163, 0x1482, + 0x167C, 0x1891, 0x1AB7, 0x1CE4, 0x1F0C, 0x2124, 0x2322, 0x24FC, + 0x26A6, 0x2815, 0x2940, 0x2A1A, 0x2AB3, 0x2B21, 0x2B68, 0x2B8B, + 0x2B8F, 0x2B77, 0x2B46, 0x2B01, 0x2AAB, 0x2A48, 0x29DB, 0x2967, + 0x28F2, 0x287E, 0x280F, 0x27A8, 0x272E, 0x2687, 0x25BF, 0x24DF, + 0x23F3, 0x2304, 0x221D, 0x2149, 0x2092, 0x2002, 0x1FA4, 0x1F82, + 0x00D0, 0x002B, 0xFE76, 0xFC0A, 0xF93F, 0xF66F, 0xF3F2, 0xF221, + 0xF156, 0xF14A, 0xF17B, 0xF1E0, 0xF272, 0xF329, 0xF400, 0xF4EE, + 0xF5EC, 0xF6F3, 0xF7FC, 0xF8FF, 0xF9F5, 0xFAD8, 0xFB9F, 0xFC43, + 0xFCBE, 0xFCF7, 0xFCE6, 0xFC9F, 0xFC36, 0xFBBC, 0xFB44, 0xFAE3, + 0xFAAB, 0xFAB0, 0xFAE4, 0xFB28, 0xFB5C, 0xFB7E, 0xFBA1, 0xFBC4, + 0xFBE7, 0xFC0A, 0xFC2C, 0xFC4C, 0xFC69, 0xFC84, 0xFC9C, 0xFCAF, + 0xFCBE, 0xFCC7, 0xFCCA, 0xFCC8, 0xFCC1, 0xFCB8, 0xFCAD, 0xFCA0, + 0xFC94, 0xFC8A, 0xFC81, 0xFC7C, 0xFC7C, 0xFC81, 0xFC8E, 0xFCA1, + 0xFCBE, 0xFCED, 0xFD32, 0xFD89, 0xFDED, 0xFE58, 0xFEC6, 0xFF30, + 0xFF93, 0xFFE9, 0x002C, 0x0058, 0x0068, 0x0000, 0x0005, 0x0011, + 0x0021, 0x002F, 0x0038, 0x0035, 0x0024, 0x0000, 0xFFCB, 0xFF8A, + 0xFF41, 0xFEF1, 0xFE9B, 0xFE41, 0xFDE6, 0xFD8B, 0xFD32, 0xFCDC, + 0xFC8B, 0xFC41, 0xFC01, 0xFBCB, 0xFBA1, 0xFB85, 0xFB8E, 0xFBC8, + 0xFC24, 0xFC96, 0xFD0F, 0xFD83, 0xFDE4, 0xFE23, 0xFE20, 0xFDE3, + 0xFD9D, 0xFD82, 0xFD90, 0xFDA5, 0xFDC0, 0xFDDE, 0xFE00, 0xFE23, + 0xFE46, 0xFE68, 0xFE87, 0xFEA2, 0xFEB8, 0xFEC8, 0xFED2, 0xFED9, + 0xFEDF, 0xFEE2, 0xFEE3, 0xFEE3, 0xFEE1, 0xFEDF, 0xFEDC, 0xFED8, + 0xFED4, 0xFED0, 0xFECD, 0xFECA, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, + 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, 0xFEC8, + 0xFEC8, 0xFEC8, 0xCE23, 0xCD34, 0xCABC, 0xC73A, 0xC32B, 0xBF0E, + 0xBB62, 0xB8A3, 0xB752, 0xB6FC, 0xB6D9, 0xB6E6, 0xB721, 0xB786, + 0xB813, 0xB8C5, 0xB998, 0xBA8A, 0xBB98, 0xBCBE, 0xBDFB, 0xBF4A, + 0xC0A9, 0xC215, 0xC38B, 0xC57F, 0xC83D, 0xCB81, 0xCF0B, 0xD299, + 0xD5E8, 0xD8B6, 0xDAC3, 0xDADB, 0xD914, 0xD719, 0xD693, 0xD76C, + 0xD86C, 0xD98F, 0xDAD0, 0xDC2B, 0xDD9C, 0xDF1D, 0xE0AA, 0xE23E, + 0xE3D6, 0xE56D, 0xE6FD, 0xE890, 0xEA2E, 0xEBD7, 0xED89, 0xEF41, + 0xF0FE, 0xF2BF, 0xF480, 0xF641, 0xF800, 0xF9BA, 0xFB6F, 0xFD1B, + 0xFEBF, 0x0055, 0x01E0, 0x0373, 0x0520, 0x06D9, 0x0894, 0x0A46, + 0x0BE3, 0x0D5F, 0x0EB0, 0x0FCA, 0x10A1, 0x112B, 0x115B, 0x8001, + 0x8001, 0x4171, 0x4178, 0x418C, 0x41AD, 0x41D9, 0x420F, 0x424E, + 0x4296, 0x42E5, 0x433A, 0x4394, 0x43F2, 0x4454, 0x44B7, 0x451B, + 0x4580, 0x45E3, 0x4644, 0x46A3, 0x46FD, 0x4752, 0x47A1, 0x47E8, + 0x4828, 0x485E, 0x488A, 0x48AB, 0x48BF, 0x48C6, 0x47A9, 0x4531, + 0x42AE, 0x4171, 0x4148, 0x4124, 0x4103, 0x40E6, 0x40CD, 0x40B8, + 0x40A5, 0x4096, 0x408A, 0x4081, 0x407A, 0x4076, 0x4074, 0x4074, + 0x4077, 0x407B, 0x4081, 0x4088, 0x4091, 0x409B, 0x40A6, 0x40B3, + 0x40BF, 0x40CD, 0x40DB, 0x40E9, 0x40F7, 0x4105, 0x4113, 0x4121, + 0x412E, 0x413A, 0x4146, 0x4150, 0x4159, 0x4161, 0x4168, 0x416D, + 0x4170, 0x4171, 0x4171, 0x4171, 0x4171, 0x4171, 0x0000, 0xFF5B, + 0xFDA6, 0xFB3B, 0xF877, 0xF5B2, 0xF348, 0xF193, 0xF0ED, 0xF111, + 0xF175, 0xF213, 0xF2E1, 0xF3D8, 0xF4F1, 0xF622, 0xF763, 0xF8AE, + 0xF9F8, 0xFB3C, 0xFC6F, 0xFD8B, 0xFE88, 0xFF5C, 0x0000, 0x0073, + 0x00BF, 0x00E8, 0x00F5, 0x00EA, 0x00CE, 0x00A7, 0x007A, 0x004D, + 0x0026, 0x000A, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, + 0x0000, 0x0000, 0x0000, 0xC5E4, 0xC5E6, 0xC5DC, 0xC5AD, 0xC543, + 0xC484, 0xC35A, 0xC1AA, 0xBF5F, 0xBC8A, 0xB95A, 0xB5DC, 0xB21E, + 0xAE31, 0xAA21, 0xA5FE, 0xA1D6, 0x9DB8, 0x99B3, 0x95D4, 0x922A, + 0x8EC5, 0x8BB2, 0x8900, 0x86BD, 0x850A, 0x83EE, 0x8353, 0x8325, + 0x834C, 0x83B5, 0x8448, 0x84F1, 0x859A, 0x862D, 0x8696, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, 0x86BD, + 0x8001, 0x8001, 0x4171, 0xBF5F, 0x06A3, 0x069B, 0x0685, 0x0660, + 0x062E, 0x05F0, 0x05A6, 0x0552, 0x04F5, 0x048E, 0x0420, 0x03AB, + 0x0330, 0x02B0, 0x022C, 0x01A4, 0x011A, 0x008E, 0x0002, 0xFF77, + 0xFEEC, 0xFE63, 0xFDDD, 0xFD5B, 0xFCDE, 0xFC66, 0xFBF5, 0xFB8B, + 0xFB29, 0xFAD0, 0xFA82, 0xFA3F, 0xFA07, 0xF9DC, 0xF9BF, 0xF9B0, + 0xF9B1, 0xF9C1, 0xF9DE, 0xFA07, 0xFA3D, 0xFA7E, 0xFAC9, 0xFB1E, + 0xFB7C, 0xFBE2, 0xFC50, 0xFCC5, 0xFD40, 0xFDC1, 0xFE47, 0xFED0, + 0xFF5D, 0xFFEC, 0x007D, 0x010F, 0x01A2, 0x0235, 0x02C7, 0x0358, + 0x03E6, 0x0470, 0x04F7, 0x057A, 0x05F7, 0x066F, 0x06E0, 0x0749, + 0x07AA, 0x0803, 0x0852, 0x0897, 0x08D1, 0x08FF, 0x0921, 0x0936, + 0x093D, 0x0154, 0x0168, 0x0199, 0x01D5, 0x020D, 0x0246, 0x0287, + 0x02BA, 0x02CC, 0x02C0, 0x02A6, 0x0283, 0x025A, 0x0230, 0x0209, + 0x01E9, 0x01D3, 0x01C3, 0x01B4, 0x01A5, 0x0197, 0x0189, 0x017C, + 0x0170, 0x0166, 0x015D, 0x0156, 0x0151, 0x014E, 0x014D, 0x014F, + 0x0154, 0x015B, 0x016A, 0x0182, 0x01A2, 0x01C7, 0x01F1, 0x021C, + 0x0246, 0x026E, 0x0292, 0x02B0, 0x02C5, 0x02D0, 0x02D2, 0x02D0, + 0x02C9, 0x02BF, 0x02B2, 0x02A2, 0x0290, 0x027C, 0x0268, 0x0252, + 0x023D, 0x0228, 0x0214, 0x0202, 0x01F2, 0x01E4, 0x01D7, 0x01CA, + 0x01BD, 0x01B0, 0x01A2, 0x0195, 0x0188, 0x017C, 0x0171, 0x0166, + 0x015D, 0x0155, 0x014F, 0x014A, 0x0147, 0x0146, 0xF9E6, 0xFA31, + 0xFA82, 0xFADA, 0xFB38, 0xFB9C, 0xFC04, 0xFC70, 0xFCE1, 0xFD54, + 0xFDCB, 0xFE43, 0xFEBD, 0xFF38, 0xFFB3, 0x002E, 0x00A9, 0x0123, + 0x019B, 0x0211, 0x0284, 0x02F4, 0x0360, 0x03C8, 0x042A, 0x0488, + 0x04DF, 0x0530, 0x0579, 0x05BB, 0x05F5, 0x0626, 0x064E, 0x066C, + 0x067F, 0x0688, 0x0685, 0x0677, 0x065F, 0x063E, 0x0613, 0x05DF, + 0x05A4, 0x0560, 0x0516, 0x04C4, 0x046C, 0x040E, 0x03AA, 0x0342, + 0x02D5, 0x0264, 0x01EF, 0x0177, 0x00FC, 0x007E, 0x0000, 0xFF80, + 0xFEFF, 0xFE7D, 0xFDFB, 0xFD7A, 0xFCF9, 0xFC7A, 0xFBFC, 0xFB81, + 0xFB09, 0xFA94, 0xFA22, 0xF9B5, 0xF94C, 0xF8E8, 0xF889, 0xF830, + 0xF7DE, 0xF793, 0xF74F, 0xFFC6, 0xFFCF, 0xFFE7, 0x0007, 0x002D, + 0x0053, 0x0072, 0x0086, 0x0089, 0x0081, 0x0076, 0x0069, 0x0059, + 0x0047, 0x0034, 0x001F, 0x0009, 0xFFF3, 0xFFDB, 0xFFC3, 0xFFAC, + 0xFF94, 0xFF7D, 0xFF67, 0xFF52, 0xFF3F, 0xFF2D, 0xFF1D, 0xFF0F, + 0xFF04, 0xFEFC, 0xFEF7, 0xFEF6, 0xFEFA, 0xFF07, 0xFF1B, 0xFF35, + 0xFF54, 0xFF76, 0xFF9B, 0xFFC1, 0xFFE7, 0x000B, 0x002E, 0x004E, + 0x0068, 0x007E, 0x008C, 0x0092, 0x0093, 0x0091, 0x008C, 0x0085, + 0x007C, 0x0072, 0x0066, 0x0058, 0x0049, 0x0039, 0x0028, 0x0017, + 0x0005, 0xFFF4, 0xFFE1, 0xFFCF, 0xFFBD, 0xFFAC, 0xFF9B, 0xFF8C, + 0xFF7D, 0xFF70, 0xFF64, 0xFF5A, 0xFF52, 0xFF4C, 0xFF48, 0xFF47, + 0x3B05, 0x3B16, 0x3B40, 0x3B7C, 0x3BC1, 0x3C06, 0x3C42, 0x3C6D, + 0x3C7D, 0x3C7C, 0x3C78, 0x3C71, 0x3C68, 0x3C5D, 0x3C51, 0x3C42, + 0x3C33, 0x3C22, 0x3C10, 0x3BFD, 0x3BE9, 0x3BD5, 0x3BC1, 0x3BAD, + 0x3B99, 0x3B86, 0x3B73, 0x3B61, 0x3B50, 0x3B40, 0x3B32, 0x3B25, + 0x3B1A, 0x3B12, 0x3B0B, 0x3B07, 0x3B05, 0x3B16, 0x3B40, 0x3B7C, + 0x3BC1, 0x3C06, 0x3C42, 0x3C6D, 0x3C7D, 0x3C7C, 0x3C79, 0x3C74, + 0x3C6D, 0x3C64, 0x3C5A, 0x3C4F, 0x3C42, 0x3C35, 0x3C26, 0x3C16, + 0x3C06, 0x3BF6, 0x3BE4, 0x3BD3, 0x3BC1, 0x3BB0, 0x3B9E, 0x3B8D, + 0x3B7C, 0x3B6C, 0x3B5D, 0x3B4E, 0x3B40, 0x3B34, 0x3B28, 0x3B1E, + 0x3B16, 0x3B0F, 0x3B0A, 0x3B07, 0x3B05, + }, + { + 0x0001, 0x0000, 0x004D, 0x0001, 0x0001, 0x0000, + 0x0001, 0x0000, 0x0001, 0x004E, 0x0001, 0x0000, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x09A8, + 0x004D, 0x090E, 0x0001, 0x0000, 0x004D, 0x095B, + 0x004D, 0x0874, 0x0001, 0x0000, 0x004D, 0x08C1, + 0x0001, 0x0870, 0x0001, 0x0871, 0x0001, 0x0872, + 0x004D, 0x0183, 0x004D, 0x01D0, 0x004D, 0x021D, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0136, + 0x004D, 0x004F, 0x004D, 0x009C, 0x004D, 0x00E9, + 0x0001, 0x0787, 0x0001, 0x0788, 0x004D, 0x0789, + 0x004D, 0x039E, 0x004D, 0x03EB, 0x004D, 0x0438, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0351, + 0x004D, 0x026A, 0x004D, 0x02B7, 0x004D, 0x0304, + 0x0001, 0x0000, 0x004D, 0x07D6, 0x004D, 0x0823, + 0x004D, 0x06A0, 0x004D, 0x06ED, 0x004D, 0x073A, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0653, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0606, + 0x0001, 0x0000, 0x0001, 0x0000, 0x0001, 0x0873, + 0x004D, 0x051F, 0x004D, 0x056C, 0x004D, 0x05B9, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x04D2, + 0x0001, 0x0000, 0x0001, 0x0000, 0x004D, 0x0485, + } +) diff --git a/docs/lua/examples/custom-animations-lua/main.lua b/docs/lua/examples/custom-animations-lua/main.lua new file mode 100644 index 00000000..ba411b86 --- /dev/null +++ b/docs/lua/examples/custom-animations-lua/main.lua @@ -0,0 +1,10 @@ +-- name: Custom animation (LUA) +-- description: No running allowed.\nReplace the running animation by Mario walking. + +local function mario_update(m) + if m.marioObj.header.gfx.animInfo.animID == MARIO_ANIM_RUNNING then + smlua_anim_util_set_animation(m.marioObj, "mario_anim_walking") + end +end + +hook_event(HOOK_MARIO_UPDATE, mario_update)