#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_logo_us_animal_tbl[] = { 56, 0, 7, 7, 0, 0, 7, 7, 0, 7, 7, 0, 7, 7, 0, 0, 7, 7, 0, 7, 7 };

s16 cKF_kn_logo_us_animal_tbl[] = { 4, 10, 4, 3, 3, 6, 9, 3, 6, 3, 6, 8, 8, 6, 8, 3, 6, 8, 8, 6,
                                    8, 3,  6, 8, 8, 6, 8, 3, 3, 8, 8, 3, 8, 3, 3, 3, 8, 3, 3 };

s16 cKF_c_logo_us_animal_tbl[] = { 0, 0, 0,    0, -900, 0, 0, 0, 0,    0, -900, 0,    0, -900,
                                   0, 0, -900, 0, 0,    0, 0, 0, -900, 0, 0,    -900, 0 };

s16 cKF_ds_logo_us_animal_tbl[] = {
    1,   0,     0,     46,  0,    0,     105, 0,     0,     112, 0,     0,     1,   12000, 0,    84,  12000, 0,
    85,  12000, -4464, 90,  0,    -4464, 92,  -2000, -5387, 102, -1500, 11941, 106, 250,   0,    108, 0,     -4500,
    109, 0,     0,     112, 0,    0,     1,   0,     0,     46,  0,     0,     105, 0,     0,    112, 0,     0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     110, 0,     0,    121, 0,     0,
    1,   0,     0,     103, 0,    0,     106, 25,    0,     109, 23,    -38,   110, 23,    0,    121, 23,    0,
    1,   0,     0,     46,  0,    0,     86,  0,     0,     93,  -150,  0,     103, -150,  0,    106, 100,   0,
    109, 63,    -548,  110, 63,   0,     121, 63,    0,     1,   0,     0,     110, 0,     0,    121, 0,     0,
    1,   0,     0,     103, 0,    0,     106, -25,   0,     109, -23,   38,    110, -23,   0,    121, -23,   0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     104, 0,     0,    106, 7,     0,
    109, 6,     -12,   110, 6,    0,     121, 6,     0,     1,   0,     0,     86,  0,     0,    93,  -220,  0,
    103, -220,  0,     106, 125,  0,     109, 110,   -240,  110, 110,   0,     121, 110,   0,    1,   0,     0,
    86,  0,     0,     93,  -100, 0,     103, -100,  0,     106, 80,    0,     109, 63,    -240, 110, 63,    0,
    121, 63,    0,     1,   0,    0,     104, 0,     0,     106, -7,    0,     109, -6,    12,   110, -6,    0,
    121, -6,    0,     1,   0,    0,     86,  0,     0,     93,  220,   0,     103, 220,   0,    106, -125,  0,
    109, -110,  -152,  110, -110, 0,     121, -110,  0,     1,   0,     0,     110, 0,     0,    121, 0,     0,
    1,   0,     0,     103, 0,    0,     106, -25,   0,     109, -20,   100,   110, -20,   0,    121, -20,   0,
    1,   0,     0,     86,  0,    0,     93,  -675,  0,     103, -675,  0,     106, 15,    0,    109, 5,     -150,
    110, 5,     0,     121, 5,    0,     1,   0,     0,     86,  0,     0,     93,  50,    0,    103, 50,    0,
    106, -10,   0,     109, 0,    168,   110, 0,     0,     121, 0,     0,     1,   0,     0,    103, 0,     0,
    106, 25,    0,     109, 20,   -100,  110, 20,    0,     121, 20,    0,     1,   0,     0,    86,  0,     0,
    93,  675,   0,     103, 675,  0,     106, -15,   0,     109, -5,    150,   110, -5,    0,    121, -5,    0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     103, 0,     0,    106, -35,   0,
    109, -28,   120,   110, -28,  0,     121, -28,   0,     1,   0,     0,     86,  0,     0,    93,  -335,  0,
    103, -335,  0,     106, 75,   0,     109, 55,    -300,  110, 55,    0,     121, 55,    0,    1,   0,     0,
    86,  0,     0,     93,  100,  0,     103, 100,   0,     106, -45,   0,     109, -33,   184,  110, -33,   0,
    121, -33,   0,     1,   0,    0,     103, 0,     0,     106, -35,   0,     109, -28,   120,  110, -28,   0,
    121, -28,   0,     1,   0,    0,     86,  0,     0,     93,  335,   0,     103, 335,   0,    106, -75,   0,
    109, -55,   300,   110, -55,  0,     121, -55,   0,     1,   0,     0,     110, 0,     0,    121, 0,     0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     86,  0,     0,    93,  -105,  0,
    103, -105,  0,     106, 100,  0,     109, 83,    -300,  110, 83,    0,     121, 83,    0,    1,   0,     0,
    86,  0,     0,     93,  50,   0,     103, 50,    0,     106, -100,  0,     109, -88,   202,  110, -88,   0,
    121, -88,   0,     1,   0,    0,     110, 0,     0,     121, 0,     0,     1,   0,     0,    86,  0,     0,
    93,  105,   0,     103, 105,  0,     106, -100,  0,     109, -83,   300,   110, -83,   0,    121, -83,   0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     110, 0,     0,    121, 0,     0,
    1,   0,     0,     110, 0,    0,     121, 0,     0,     1,   0,     0,     86,  0,     0,    93,  45,    83,
    103, 50,    0,     106, -145, 0,     109, -105,  620,   110, -105,  0,     121, -105,  0,    1,   0,     0,
    110, 0,     0,     121, 0,    0,     1,   0,     0,     110, 0,     0,     121, 0,     0
};

cKF_Animation_R_c cKF_ba_r_logo_us_animal = { cKF_ckcb_r_logo_us_animal_tbl,
                                              cKF_ds_logo_us_animal_tbl,
                                              cKF_kn_logo_us_animal_tbl,
                                              cKF_c_logo_us_animal_tbl,
                                              -1,
                                              121 };
