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

s16 cKF_kn_npc_1_kieeeei2_tbl[] = { 5, 5, 5, 5, 3, 5, 5, 3, 5, 5, 5, 5, 5, 5 };

s16 cKF_c_npc_1_kieeeei2_tbl[] = { 0, 0,    0,   0,   900,  0,    0, 0, 0,    1800, -175, 25,  0,    0, 0, 0,   0,
                                   0, 1800, 175, -25, 0,    0,    0, 0, 0,    900,  0,    0,   -100, 0, 0, -30, 0,
                                   0, 0,    0,   0,   -900, -500, 0, 0, 0,    0,    0,    900, 500,  0, 0, 0,   0,
                                   0, 0,    0,   0,   0,    -900, 0, 0, -150, 0,    0,    0,   0,    0, 0, -900 };

s16 cKF_ds_npc_1_kieeeei2_tbl[] = {
    1,    1100, -42,  5,    1085, -153, 9,    1076, 74,   14,   1099, 74,   15,  1100, 42,   1,   -400, 42,   5,   -385,
    153,  9,    -376, -74,  14,   -399, -74,  15,   -400, -42,  1,    -300, 52,  4,    -288, 191, 9,    -270, -93, 14,
    -298, -93,  15,   -300, -52,  1,    0,    -54,  4,    -13,  -199, 9,    -31, 97,   14,   -2,  97,   15,   0,   54,
    1,    -23,  -15,  10,   -30,  44,   15,   -23,  15,   1,    -300, 52,   4,   -288, 191,  9,   -270, -93,  14,  -298,
    -93,  15,   -300, -52,  1,    0,    -54,  4,    -13,  -199, 9,    -31,  97,  14,   -2,   97,  15,   0,    54,  1,
    23,   15,   10,   30,   -44,  15,   23,   -15,  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,    -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,    115,  311,  3,    130,  3,    10,   50,   7,    14,  101,  467,  15,  115,  423
};

aNPC_Animation_c cKF_ba_r_npc_1_kieeeei2 = {
    { cKF_ckcb_r_npc_1_kieeeei2_tbl, cKF_ds_npc_1_kieeeei2_tbl, cKF_kn_npc_1_kieeeei2_tbl, cKF_c_npc_1_kieeeei2_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,
};
