#include "libforest/gbi_extensions.h"
#include "PR/gbi.h"
#include "evw_anime.h"
#include "c_keyframe.h"
#include "ac_npc.h"
#include "ef_effect_control.h"

u8 cKF_ckcb_r_npc_1_muuuuu_i2_tbl[] = { 56, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 7, 7, 0, 7, 7, 7, 7, 0, 7, 0, 0 };

s16 cKF_kn_npc_1_muuuuu_i2_tbl[] = { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 4, 2, 2, 5, 6,
                                     2, 6, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2 };

s16 cKF_c_npc_1_muuuuu_i2_tbl[] = { 0,    0, 900, 0,   0, 1800, 0, 0, 1800, 0, 900, 0, 0,   0,
                                    -900, 0, 0,   900, 0, -900, 0, 0, 0,    0, 0,   0, -900 };

s16 cKF_ds_npc_1_muuuuu_i2_tbl[] = {
    1,  150,  0,    13, 150,  0,    1,  950,  0,    13, 950,  0,    1,  0,    0,    13, 0,    0,    1,  0,    0,
    13, 0,    0,    1,  30,   0,    13, 30,   0,    1,  -50,  0,    13, -50,  0,    1,  -175, 0,    13, -175, 0,
    1,  -140, 0,    13, -140, 0,    1,  0,    0,    13, 0,    0,    1,  0,    0,    13, 0,    0,    1,  450,  0,
    13, 450,  0,    1,  0,    0,    13, 0,    0,    1,  0,    0,    13, 0,    0,    1,  -300, 0,    13, -300, 0,
    1,  125,  0,    13, 125,  0,    1,  300,  0,    13, 300,  0,    1,  -10,  0,    13, -10,  0,    1,  -100, 0,
    13, -100, 0,    1,  0,    0,    13, 0,    0,    1,  80,   394,  5,  80,   -393, 9,  0,    0,    13, 80,   394,
    1,  0,    0,    13, 0,    0,    1,  0,    0,    13, 0,    0,    1,  -100, -403, 5,  -100, 404,  9,  105,  0,
    13, -100, -403, 1,  105,  0,    13, 105,  0,    1,  0,    0,    13, 0,    0,    1,  -250, 381,  4,  -150, 396,
    7,  -150, -390, 10, -250, -382, 13, -250, 379,  1,  53,   1482, 2,  80,   269,  3,  80,   -269, 8,  -80,  -282,
    9,  -80,  284,  13, 53,   1483, 1,  0,    0,    13, 0,    0,    1,  -115, -145, 3,  -100, 690,  6,  100,  654,
    9,  100,  -664, 12, -100, -677, 13, -115, -146, 1,  -35,  1182, 3,  53,   1508, 4,  80,   269,  5,  80,   -268,
    10, -80,  -283, 11, -80,  285,  13, -35,  1185, 1,  -60,  0,    13, -60,  0,    1,  -150, 0,    13, -150, 0,
    1,  70,   0,    13, 70,   0,    1,  0,    0,    13, 0,    0,    1,  -300, 0,    13, -300, 0,    1,  -500, 0,
    13, -500, 0,    1,  0,    0,    13, 0,    0,    1,  -600, 0,    13, -600, 0,    1,  0,    0,    13, 0,    0,
    1,  0,    0,    13, 0,    0,    1,  -303, 0,    13, -303, 0,    1,  503,  0,    13, 503,  0,    1,  0,    0,
    13, 0,    0,    1,  -600, 0,    13, -600, 0,    1,  0,    0,    13, 0,    0,    1,  0,    0,    13, 0,    0,
    1,  0,    0,    13, 0,    0,    1,  0,    0,    13, 0,    0,    1,  -60,  0,    13, -60,  0,    1,  0,    0,
    7,  -20,  0,    13, 0,    0,    1,  -100, 0,    13, -100, 0,    1,  0,    0,    13, 0,    0,    1,  0,    0,
    13, 0,    0,    1,  0,    0,    13, 0,    0
};

aNPC_Animation_c cKF_ba_r_npc_1_muuuuu_i2 = {
    { cKF_ckcb_r_npc_1_muuuuu_i2_tbl, cKF_ds_npc_1_muuuuu_i2_tbl, cKF_kn_npc_1_muuuuu_i2_tbl, cKF_c_npc_1_muuuuu_i2_tbl,
      -1, 13 },
    1.0f,
    13.0f,
    cKF_FRAMECONTROL_REPEAT,
    0.0f,
    NULL,
    aNPC_EYE_TEX0,
    0,
    NULL,
    aNPC_MOUTH_TEX2,
    3,
    -1,
    eEC_EFFECT_KANGAERU,
    NULL,
    NULL,
};
