#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_love2_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_love2_tbl[] = { 2, 3, 3, 2, 3, 2, 2, 3, 3, 2, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 2, 3, 3, 3, 2, 5, 2,
                                 2, 6, 2, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 6, 2, 2, 2 };

s16 cKF_c_npc_1_love2_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_love2_tbl[] = {
    1,  0,     0,    29, 0,     0,    1,  975,  0,    15, 925,  0,    29, 975,  0,    1,  150,  0,    15, 100,  0,
    29, 150,   0,    1,  0,     0,    29, 0,    0,    1,  30,   0,    15, 0,    0,    29, 30,   0,    1,  0,    0,
    29, 0,     0,    1,  -150,  0,    29, -150, 0,    1,  -15,  0,    15, -180, 0,    29, -15,  0,    1,  35,   0,
    15, 65,    0,    29, 35,    0,    1,  0,    0,    29, 0,    0,    1,  300,  0,    15, 525,  0,    29, 300,  0,
    1,  0,     0,    29, 0,     0,    1,  0,    0,    29, 0,    0,    1,  -245, 0,    15, -335, 0,    29, -245, 0,
    1,  -25,   0,    15, -18,   0,    29, -25,  0,    1,  150,  0,    29, 150,  0,    1,  -15,  0,    15, -180, 0,
    29, -15,   0,    1,  -35,   0,    15, -65,  0,    29, -35,  0,    1,  0,    0,    29, 0,    0,    1,  300,  0,
    15, 525,   0,    29, 300,   0,    1,  0,    0,    29, 0,    0,    1,  0,    0,    15, 0,    0,    29, 0,    0,
    1,  -245,  0,    15, -335,  0,    29, -245, 0,    1,  25,   0,    15, 18,   0,    29, 25,   0,    1,  0,    0,
    29, 0,     0,    1,  -300,  -298, 8,  -340, 0,    15, -300, 299,  22, -260, 0,    29, -300, -291, 1,  0,    0,
    29, 0,     0,    1,  0,     0,    29, 0,    0,    1,  33,   -327, 3,  0,    -603, 10, -60,  0,    17, 0,    608,
    24, 60,    0,    29, 33,    -331, 1,  0,    0,    29, 0,    0,    1,  0,    303,  15, 0,    -298, 29, 0,    302,
    1,  80,    -199, 15, 80,    199,  29, 80,   -198, 1,  0,    303,  15, 0,    -298, 29, 0,    299,  1,  350,  0,
    29, 350,   0,    1,  -650,  0,    29, -650, 0,    1,  -750, 0,    29, -750, 0,    1,  0,    0,    29, 0,    0,
    1,  -1000, 0,    29, -1000, 0,    1,  0,    0,    29, 0,    0,    1,  -350, 0,    29, -350, 0,    1,  -650, 0,
    29, -650,  0,    1,  740,   0,    29, 740,  0,    1,  0,    0,    29, 0,    0,    1,  -990, 0,    29, -990, 0,
    1,  0,     0,    29, 0,     0,    1,  1800, 0,    29, 1800, 0,    1,  500,  0,    29, 500,  0,    1,  -480, 0,
    29, -480,  0,    1,  0,     0,    29, 0,    0,    1,  108,  91,   5,  115,  0,    19, 80,   0,    29, 108,  79,
    1,  20,    -149, 4,  0,     -232, 11, -30,  0,    18, 0,    228,  25, 30,   0,    29, 18,   -199, 1,  0,    0,
    29, 0,     0,    1,  -150,  0,    29, -150, 0,    1,  0,    0,    29, 0,    0
};

aNPC_Animation_c cKF_ba_r_npc_1_love2 = {
    { cKF_ckcb_r_npc_1_love2_tbl, cKF_ds_npc_1_love2_tbl, cKF_kn_npc_1_love2_tbl, cKF_c_npc_1_love2_tbl, -1, 29 },
    1.0f,
    29.0f,
    cKF_FRAMECONTROL_REPEAT,
    0.0f,
    NULL,
    aNPC_EYE_TEX0,
    1,
    NULL,
    aNPC_MOUTH_TEX1,
    1,
    -1,
    -1,
    NULL,
    NULL,
};
