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

s16 cKF_kn_logo_us_cros_tbl[] = { 13, 10, 5,  3,  7,  6,  13, 7, 6,  3,  15, 13, 3, 15,
                                  13, 3,  12, 13, 13, 12, 13, 3, 12, 13, 13, 12, 13 };

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

s16 cKF_ds_logo_us_cros_tbl[] = {
    1,   30000, 0,    51,  30000, 0,    52,  30000, -23612, 61,  500,  -12359, 62,  -1000, -12310, 70,  -1750, 35,
    74,  1000,  0,    78,  -500,  0,    81,  250,   0,      83,  -125, 0,      84,  0,     0,      105, 0,     0,
    112, 0,     0,    1,   0,     0,    46,  0,     0,      90,  0,    0,      90,  0,     -24000, 92,  -600,  -2000,
    102, -300,  3000, 106, 200,   0,    108, 0,     -4500,  109, 0,    0,      121, 0,     0,      1,   0,     0,
    46,  0,     0,    104, 0,     0,    105, 0,     0,      121, 0,    0,      1,   0,     0,      110, 0,     0,
    121, 0,     0,    1,   0,     0,    90,  0,     0,      90,  0,    0,      93,  -15,   0,      109, -13,   10,
    110, -13,   0,    121, -13,   0,    1,   0,     0,      103, 0,    0,      106, 25,    0,      109, 20,    -90,
    110, 20,    0,    121, 20,    0,    1,   0,     0,      61,  0,    0,      64,  -150,  0,      69,  -150,  0,
    74,  0,     0,    89,  0,     0,    90,  0,     -887,   93,  -150, 0,      103, -150,  0,      106, -45,   0,
    109, -63,   -273, 110, -63,   0,    121, -63,   0,      1,   0,    0,      90,  0,     0,      90,  0,     0,
    93,  15,    0,    109, 13,    -10,  110, 13,    0,      121, 13,   0,      1,   0,     0,      103, 0,     0,
    106, -25,   0,    109, -20,   90,   110, -20,   0,      121, -20,  0,      1,   0,     0,      110, 0,     0,
    121, 0,     0,    1,   163,   0,    58,  163,   0,      58,  163,  -3400,  64,  -305,  -500,   69,  -340,  0,
    74,  10,    0,    78,  -5,    0,    81,  2,     0,      83,  -1,   0,      84,  0,     0,      103, 0,     0,
    106, -25,   0,    109, -20,   75,   110, -20,   0,      121, -20,  0,      1,   0,     0,      58,  0,     0,
    64,  -130,  0,    69,  -130,  0,    74,  0,     0,      89,  0,    0,      90,  0,     -88,    93,  -80,   0,
    103, -80,   0,    106, 200,   0,    109, 175,   -360,   110, 175,  0,      121, 175,   0,      1,   0,     0,
    110, 0,     0,    121, 0,     0,    1,   -163,  0,      58,  -163, 0,      58,  -163,  3400,   64,  305,   500,
    69,  340,   0,    74,  -10,   0,    78,  5,     0,      81,  -3,   0,      83,  1,     0,      84,  0,     0,
    103, 0,     0,    106, 25,    0,    109, 20,    -75,    110, 20,   0,      121, 20,    0,      1,   0,     0,
    58,  0,     0,    64,  130,   0,    69,  130,   0,      74,  0,    0,      89,  0,     0,      90,  0,     88,
    93,  80,    0,    103, 80,    0,    106, -200,  0,      109, -175, 360,    110, -175,  0,      121, -175,  0,
    1,   0,     0,    110, 0,     0,    121, 0,     0,      1,   83,   0,      58,  83,    0,      58,  82,    -1350,
    64,  -144,  -250, 69,  -160,  0,    74,  5,     0,      78,  -3,   0,      81,  1,     0,      83,  -1,    0,
    84,  0,     0,    110, 0,     0,    121, 0,     0,      1,   0,    0,      58,  0,     0,      64,  28,    0,
    69,  28,    0,    74,  0,     0,    89,  0,     0,      90,  0,    -176,   93,  -160,  0,      103, -160,  0,
    106, 45,    0,    109, 33,    -200, 110, 33,    0,      121, 33,   0,      1,   0,     0,      61,  0,     0,
    64,  100,   0,    69,  100,   0,    74,  0,     0,      89,  0,    0,      90,  0,     954,    93,  150,   0,
    103, 150,   0,    106, 25,    0,    109, 50,    366,    110, 50,   0,      121, 50,    0,      1,   -83,   0,
    58,  -83,   0,    58,  -83,   1350, 64,  144,   250,    69,  160,  0,      74,  -5,    0,      78,  2,     0,
    81,  -1,    0,    83,  1,     0,    84,  0,     0,      110, 0,    0,      121, 0,     0,      1,   0,     0,
    58,  0,     0,    64,  -28,   0,    69,  -28,   0,      74,  0,    0,      89,  0,     0,      90,  0,     176,
    93,  160,   0,    103, 160,   0,    106, -45,   0,      109, -33,  200,    110, -33,   0,      121, -33,   0,
    1,   0,     0,    110, 0,     0,    121, 0,     0,      1,   250,  0,      58,  250,   0,      58,  250,   -5400,
    64,  -495,  -850, 69,  -550,  0,    74,  15,    0,      78,  -8,   0,      81,  4,     0,      83,  -2,    0,
    84,  0,     0,    110, 0,     0,    121, 0,     0,      1,   0,    0,      58,  0,     0,      64,  185,   0,
    69,  185,   0,    74,  0,     0,    89,  0,     0,      90,  0,    -263,   93,  -250,  0,      103, -250,  0,
    106, 100,   0,    109, 83,    -300, 110, 83,    0,      121, 83,   0,      1,   0,     0,      58,  0,     0,
    64,  100,   0,    69,  100,   0,    74,  0,     0,      89,  0,    0,      90,  0,     -443,   93,  -75,   0,
    103, -75,   0,    106, 20,    0,    109, 0,     -282,   110, 0,    0,      121, 0,     0,      1,   -250,  0,
    58,  -250,  0,    58,  -250,  5400, 64,  495,   850,    69,  550,  0,      74,  -15,   0,      78,  7,     0,
    81,  -4,    0,    83,  2,     0,    84,  0,     0,      110, 0,    0,      121, 0,     0,      1,   0,     0,
    58,  0,     0,    64,  -185,  0,    69,  -185,  0,      74,  0,    0,      89,  0,     0,      90,  0,     263,
    93,  250,   0,    103, 250,   0,    106, -100,  0,      109, -83,  300,    110, -83,   0,      121, -83,   0
};

cKF_Animation_R_c cKF_ba_r_logo_us_cros = {
    cKF_ckcb_r_logo_us_cros_tbl, cKF_ds_logo_us_cros_tbl, cKF_kn_logo_us_cros_tbl, cKF_c_logo_us_cros_tbl, -1, 121
};
