#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_muka2_tbl[] = { 16, 2, 0, 3, 0, 3, 0, 3, 0, 3, 0, 0, 0, 2, 0, 3, 1, 0, 3, 1, 0, 2, 0, 0, 0, 0 };

s16 cKF_kn_npc_1_muka2_tbl[] = { 5, 5, 5, 3, 5, 4, 5, 3, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5 };

s16 cKF_c_npc_1_muka2_tbl[] = { 0, 0,    0,   0, 900,  0,    0, 0,    0,   1800, -175, 0,   0, 0, 0,   0,
                                0, 1800, 175, 0, 0,    0,    0, 0,    900, 0,    0,    51,  0, 0, -30, 0,
                                0, 0,    0,   0, -900, -500, 0, 0,    0,   0,    900,  500, 0, 0, 0,   0,
                                0, 0,    0,   0, -900, 0,    0, -150, 0,   0,    0,    0,   0, 0, -900 };

s16 cKF_ds_npc_1_muka2_tbl[] = {
    1,  1100, -83,  3,  1090, -254, 8,  1050, 0,    14, 1097, 149,  15, 1100, 83,   1,  -400, 42,   5,  -385, 153,
    9,  -376, -74,  14, -399, -74,  15, -400, -42,  1,  -300, 62,   3,  -293, 190,  8,  -263, 0,    14, -298, -112,
    15, -300, -62,  1,  25,   -8,   11, 22,   29,   15, 25,   8,    1,  0,    -91,  3,  -11,  -279, 8,  -55,  0,
    14, -3,   164,  15, 0,    91,   1,  -23,  -44,  10, -33,  63,   14, -23,  37,   15, -23,  21,   1,  -300, 62,
    3,  -293, 190,  8,  -263, 0,    14, -298, -112, 15, -300, -62,  1,  -25,  13,   11, -23,  -23,  15, -25,  -6,
    1,  0,    -91,  3,  -11,  -279, 8,  -55,  0,    14, -3,   164,  15, 0,    91,   1,  23,   44,   10, 33,   -63,
    14, 23,   -37,  15, 23,   -21,  1,  165,  -150, 2,  160,  -42,  7,  192,  203,  10, 198,  -86,  15, 165,  -233,
    1,  -320, 116,  2,  -316, 208,  8,  -250, 0,    14, -316, -208, 15, -320, -116, 1,  -600, 83,   3,  -590, 254,
    8,  -550, 0,    14, -597, -149, 15, -600, -83,  1,  0,    -207, 2,  -7,   -280, 8,  -75,  7,    14, -4,   223,
    15, 0,    125,  1,  -320, 116,  2,  -316, 208,  8,  -250, 0,    14, -316, -208, 15, -320, -116, 1,  600,  -83,
    3,  590,  -254, 8,  550,  0,    14, 597,  149,  15, 600,  83,   1,  0,    207,  2,  7,    280,  8,  75,   -7,
    14, 4,    -223, 15, 0,    -125, 1,  115,  311,  3,  130,  3,    10, 50,   7,    14, 101,  467,  15, 115,  423
};

aNPC_Animation_c cKF_ba_r_npc_1_muka2 = {
    { cKF_ckcb_r_npc_1_muka2_tbl, cKF_ds_npc_1_muka2_tbl, cKF_kn_npc_1_muka2_tbl, cKF_c_npc_1_muka2_tbl, -1, 15 },
    1.0f,
    15.0f,
    cKF_FRAMECONTROL_REPEAT,
    0.0f,
    NULL,
    aNPC_EYE_TEX0,
    3,
    NULL,
    aNPC_MOUTH_TEX2,
    4,
    -1,
    -1,
    NULL,
    NULL,
};
