#include "libforest/gbi_extensions.h"
#include "PR/gbi.h"
#include "evw_anime.h"
#include "c_keyframe.h"

u8 boy_1_horn_tex_txt[] = {
#include "assets/boy_1_horn_tex_txt.inc"
};

u8 boy_1_skin_tex_txt[] = {
#include "assets/boy_1_skin_tex_txt.inc"
};

u8 boy_1_hole_tex_txt[] = {
#include "assets/boy_1_hole_tex_txt.inc"
};

u8 boy_1_shoe_tex_txt[] = {
#include "assets/boy_1_shoe_tex_txt.inc"
};

u8 boy_1_bottom_tex_txt[] = {
#include "assets/boy_1_bottom_tex_txt.inc"
};

u8 boy_1_foot_tex_txt[] = {
#include "assets/boy_1_foot_tex_txt.inc"
};

u8 boy_1_pants_tex_txt[] = {
#include "assets/boy_1_pants_tex_txt.inc"
};

Vtx boy_1_v[] = {
#include "assets/boy_1_v.inc"
};

Gfx head_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[7], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(boy_1_v, 8, 0),
    gsSPMatrix(&anime_6_mdl[12], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_REPEAT, GX_CLAMP, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 508, 124),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[8], 13, 8),
    gsSPNTrianglesInit_5b(9, 1, 8, 2, 4, 6, 9, 5, 10, 11),
    gsSPNTriangles_5b(2, 13, 12, 1, 15, 14, 7, 5, 16, 5, 2, 17),
    gsSPNTriangles_5b(3, 18, 0, 4, 19, 20, 0, 0, 0, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_horn_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[21], 22, 0),
    gsSPNTrianglesInit_5b(30, 0, 1, 2, 3, 4, 5, 6, 7, 8),
    gsSPNTriangles_5b(1, 5, 4, 9, 10, 11, 9, 12, 13, 13, 12, 14),
    gsSPNTriangles_5b(15, 16, 17, 18, 2, 3, 8, 10, 19, 9, 19, 10),
    gsSPNTriangles_5b(19, 9, 20, 2, 4, 3, 16, 18, 3, 10, 8, 7),
    gsSPNTriangles_5b(9, 11, 12, 3, 17, 16, 21, 15, 17, 5, 17, 3),
    gsSPNTriangles_5b(19, 20, 8, 8, 20, 13, 17, 5, 1, 13, 20, 9),
    gsSPNTriangles_5b(4, 2, 1, 7, 11, 10, 2, 18, 0, 1, 0, 21),
    gsSPNTriangles_5b(17, 1, 21, 13, 14, 6, 6, 8, 13, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_skin_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[43], 25, 0),
    gsSPNTrianglesInit_5b(32, 0, 1, 2, 3, 4, 2, 5, 6, 0),
    gsSPNTriangles_5b(7, 8, 9, 8, 7, 10, 3, 11, 12, 13, 14, 5),
    gsSPNTriangles_5b(15, 6, 5, 11, 16, 17, 0, 4, 5, 5, 14, 15),
    gsSPNTriangles_5b(11, 3, 18, 19, 1, 15, 15, 14, 19, 2, 4, 0),
    gsSPNTriangles_5b(7, 14, 13, 19, 14, 7, 20, 18, 3, 2, 21, 3),
    gsSPNTriangles_5b(7, 22, 19, 5, 4, 12, 17, 16, 10, 13, 10, 7),
    gsSPNTriangles_5b(12, 4, 3, 17, 12, 11, 10, 13, 17, 5, 17, 13),
    gsSPNTriangles_5b(12, 17, 5, 21, 23, 20, 9, 24, 22, 9, 22, 7),
    gsSPNTriangles_5b(3, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[68], 26, 0),
    gsSPNTrianglesInit_5b(32, 0, 1, 2, 3, 4, 5, 4, 6, 5),
    gsSPNTriangles_5b(7, 8, 9, 10, 7, 11, 12, 13, 14, 3, 5, 15),
    gsSPNTriangles_5b(16, 12, 14, 3, 17, 18, 4, 3, 18, 19, 20, 15),
    gsSPNTriangles_5b(18, 21, 4, 22, 16, 23, 1, 0, 22, 23, 1, 22),
    gsSPNTriangles_5b(10, 11, 0, 19, 23, 16, 24, 17, 3, 24, 25, 13),
    gsSPNTriangles_5b(24, 3, 20, 5, 2, 1, 9, 8, 6, 4, 21, 9),
    gsSPNTriangles_5b(6, 4, 9, 20, 25, 24, 15, 20, 3, 5, 6, 2),
    gsSPNTriangles_5b(23, 19, 15, 1, 23, 15, 1, 15, 5, 2, 10, 0),
    gsSPNTriangles_5b(16, 14, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 16, anime_1_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[94], 19, 0),
    gsSPNTrianglesInit_5b(8, 0, 1, 2, 3, 4, 5, 6, 7, 4),
    gsSPNTriangles_5b(3, 8, 4, 2, 9, 0, 2, 1, 3, 5, 2, 3),
    gsSPNTriangles_5b(4, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 16, anime_2_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPNTrianglesInit_5b(8, 10, 11, 12, 12, 13, 10, 14, 15, 13),
    gsSPNTriangles_5b(16, 17, 12, 16, 12, 11, 12, 17, 14, 13, 12, 14),
    gsSPNTriangles_5b(11, 18, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsSPEndDisplayList(),
};

Gfx Rarm2_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[10], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[169], 3, 0),
    gsSPMatrix(&anime_6_mdl[11], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_skin_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[172], 21, 3),
    gsSPNTrianglesInit_5b(6, 2, 3, 4, 1, 5, 6, 1, 0, 7),
    gsSPNTriangles_5b(2, 1, 8, 0, 2, 9, 1, 10, 11, 0, 0, 0),
    gsSPNTrianglesInit_5b(19, 12, 13, 14, 15, 16, 17, 14, 13, 18),
    gsSPNTriangles_5b(16, 12, 19, 20, 15, 17, 21, 19, 14, 22, 16, 15),
    gsSPNTriangles_5b(15, 23, 22, 19, 12, 14, 19, 17, 16, 17, 21, 20),
    gsSPNTriangles_5b(16, 13, 12, 22, 18, 13, 20, 18, 23, 23, 18, 22),
    gsSPNTriangles_5b(18, 20, 14, 14, 20, 21, 13, 16, 22, 23, 15, 20),
    gsSPEndDisplayList(),
};

Gfx Rarm1_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[7], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[193], 4, 0),
    gsSPMatrix(&anime_6_mdl[10], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_REPEAT, GX_CLAMP, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 252, 124),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[197], 22, 4),
    gsSPNTrianglesInit_5b(10, 2, 4, 5, 0, 1, 6, 1, 7, 8),
    gsSPNTriangles_5b(1, 9, 10, 0, 11, 12, 2, 0, 13, 3, 14, 15),
    gsSPNTriangles_5b(1, 3, 16, 3, 17, 18, 1, 19, 20, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_hole_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_MIRROR, GX_MIRROR, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 124, 124),
    gsSPNTrianglesInit_5b(3, 21, 22, 23, 23, 24, 21, 24, 25, 21),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_skin_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[219], 6, 0),
    gsSPNTrianglesInit_5b(4, 0, 1, 2, 2, 1, 3, 3, 4, 5),
    gsSPNTriangles_5b(3, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsSPEndDisplayList(),
};

Gfx Larm2_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[8], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[113], 3, 0),
    gsSPMatrix(&anime_6_mdl[9], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_skin_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[116], 21, 3),
    gsSPNTrianglesInit_5b(6, 2, 3, 4, 1, 5, 6, 0, 1, 7),
    gsSPNTriangles_5b(1, 2, 8, 2, 0, 9, 1, 10, 11, 0, 0, 0),
    gsSPNTrianglesInit_5b(19, 12, 13, 14, 15, 16, 17, 18, 13, 12),
    gsSPNTriangles_5b(19, 14, 16, 15, 17, 20, 12, 19, 21, 17, 16, 22),
    gsSPNTriangles_5b(22, 23, 17, 12, 14, 19, 16, 15, 19, 20, 21, 15),
    gsSPNTriangles_5b(14, 13, 16, 13, 18, 22, 23, 18, 20, 22, 18, 23),
    gsSPNTriangles_5b(12, 20, 18, 21, 20, 12, 22, 16, 13, 20, 17, 23),
    gsSPEndDisplayList(),
};

Gfx Larm1_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[7], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[137], 4, 0),
    gsSPMatrix(&anime_6_mdl[8], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_REPEAT, GX_CLAMP, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 252, 124),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[141], 22, 4),
    gsSPNTrianglesInit_5b(10, 2, 4, 5, 1, 0, 6, 1, 7, 8),
    gsSPNTriangles_5b(1, 9, 10, 0, 11, 12, 0, 2, 13, 3, 14, 15),
    gsSPNTriangles_5b(3, 1, 16, 3, 17, 18, 1, 19, 20, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_hole_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_MIRROR, GX_MIRROR, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 124, 124),
    gsSPNTrianglesInit_5b(3, 21, 22, 23, 23, 24, 21, 23, 25, 24),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_skin_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPVertex(&boy_1_v[0xa3], 6, 0),
    gsSPNTrianglesInit_5b(4, 0, 1, 2, 3, 1, 0, 4, 5, 3),
    gsSPNTriangles_5b(0, 4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsSPEndDisplayList(),
};

Gfx chest_boy_model[] = {
    gsSPMatrix(anime_6_mdl, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[225], 7, 0),
    gsSPMatrix(&anime_6_mdl[7], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_REPEAT, GX_CLAMP, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 508, 124),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[232], 20, 7),
    gsSPNTrianglesInit_5b(13, 4, 6, 7, 6, 8, 9, 3, 10, 11),
    gsSPNTriangles_5b(3, 12, 5, 2, 4, 13, 2, 14, 15, 3, 16, 17),
    gsSPNTriangles_5b(2, 18, 19, 5, 21, 20, 0, 2, 22, 4, 24, 23),
    gsSPNTriangles_5b(3, 1, 25, 5, 26, 6, 0, 0, 0, 0, 0, 0),
    gsSPEndDisplayList(),
};

Gfx Rfoot3_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[5], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[303], 4, 0),
    gsSPMatrix(&anime_6_mdl[6], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_shoe_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[307], 23, 4),
    gsSPNTrianglesInit_5b(9, 3, 4, 5, 3, 6, 7, 0, 3, 8),
    gsSPNTriangles_5b(3, 2, 9, 1, 0, 10, 2, 1, 11, 0, 12, 13),
    gsSPNTriangles_5b(2, 14, 15, 1, 16, 17, 0, 0, 0, 0, 0, 0),
    gsSPNTrianglesInit_5b(2, 18, 19, 20, 20, 19, 21, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_bottom_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPNTrianglesInit_5b(3, 22, 23, 24, 24, 25, 22, 23, 26, 24),
    gsSPEndDisplayList(),
};

Gfx Rffot2_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[4], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[330], 4, 0),
    gsSPMatrix(&anime_6_mdl[5], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_foot_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[334], 11, 4),
    gsSPNTrianglesInit_5b(7, 0, 4, 5, 0, 3, 6, 1, 7, 8),
    gsSPNTriangles_5b(2, 1, 9, 3, 2, 10, 3, 11, 12, 2, 13, 14),
    gsSPEndDisplayList(),
};

Gfx Rfoot1_boy_model[] = {
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_foot_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[345], 9, 0),
    gsSPNTrianglesInit_5b(7, 0, 1, 2, 3, 4, 5, 6, 3, 5),
    gsSPNTriangles_5b(5, 1, 6, 7, 4, 8, 4, 3, 8, 0, 6, 1),
    gsSPEndDisplayList(),
};

Gfx Lfoot3_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[2], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[252], 4, 0),
    gsSPMatrix(&anime_6_mdl[3], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_shoe_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[256], 23, 4),
    gsSPNTrianglesInit_5b(9, 3, 4, 5, 3, 6, 7, 3, 0, 8),
    gsSPNTriangles_5b(2, 3, 9, 0, 1, 10, 1, 2, 11, 0, 12, 13),
    gsSPNTriangles_5b(2, 14, 15, 1, 16, 17, 0, 0, 0, 0, 0, 0),
    gsSPNTrianglesInit_5b(2, 18, 19, 20, 21, 19, 18, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_bottom_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPNTrianglesInit_5b(3, 22, 23, 24, 24, 25, 22, 22, 26, 23),
    gsSPEndDisplayList(),
};

Gfx Lfoot2_boy_model[] = {
    gsSPMatrix(&anime_6_mdl[1], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[279], 4, 0),
    gsSPMatrix(&anime_6_mdl[2], G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW),
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_foot_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPVertex(&boy_1_v[283], 11, 4),
    gsSPNTrianglesInit_5b(7, 0, 4, 5, 3, 0, 6, 1, 7, 8),
    gsSPNTriangles_5b(1, 2, 9, 2, 3, 10, 3, 11, 12, 2, 13, 14),
    gsSPEndDisplayList(),
};

Gfx Lfoot1_boy_model[] = {
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_foot_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[294], 9, 0),
    gsSPNTrianglesInit_5b(7, 0, 1, 2, 3, 4, 5, 3, 5, 6),
    gsSPNTriangles_5b(6, 1, 3, 7, 4, 8, 7, 5, 4, 1, 6, 2),
    gsSPEndDisplayList(),
};

Gfx base_boy_model[] = {
    gsSPTexture(0, 0, 0, G_TX_RENDERTILE, G_ON),
    gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2),
    gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, 0, 0, 0, TEXEL0, PRIMITIVE, 0, COMBINED, 0, 0, 0, 0, COMBINED),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_5_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 8, boy_1_pants_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsDPSetPrimColor(0, 128, 255, 255, 255, 255),
    gsSPLoadGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BACK | G_FOG | G_LIGHTING | G_SHADING_SMOOTH),
    gsSPVertex(&boy_1_v[354], 29, 0),
    gsSPNTrianglesInit_5b(10, 0, 1, 2, 3, 4, 5, 0, 6, 7),
    gsSPNTriangles_5b(2, 6, 0, 8, 9, 10, 11, 2, 1, 9, 7, 10),
    gsSPNTriangles_5b(7, 9, 0, 1, 4, 11, 3, 11, 4, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_hole_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_MIRROR, GX_MIRROR, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 124, 124),
    gsSPNTrianglesInit_5b(3, 12, 13, 14, 15, 12, 14, 14, 16, 15),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 8, boy_1_pants_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_CLAMP, GX_CLAMP, 0, 0),
    gsSPNTrianglesInit_5b(10, 17, 18, 19, 20, 21, 22, 23, 24, 19),
    gsSPNTriangles_5b(19, 24, 17, 25, 26, 27, 18, 17, 28, 25, 23, 26),
    gsSPNTriangles_5b(19, 26, 23, 28, 21, 18, 21, 28, 22, 0, 0, 0),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 16, 16, boy_1_hole_tex_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_MIRROR, GX_MIRROR, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 124, 124),
    gsSPVertex(&boy_1_v[383], 25, 0),
    gsSPNTrianglesInit_5b(3, 0, 1, 2, 0, 2, 3, 3, 4, 0),
    gsSPNTrianglesInit_5b(4, 5, 6, 7, 5, 8, 6, 5, 9, 8),
    gsSPNTriangles_5b(5, 10, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsDPLoadTLUT_Dolphin(15, 16, 1, anime_4_txt),
    gsDPSetTextureImage_Dolphin(G_IM_FMT_CI, G_IM_SIZ_4b, 32, 32, anime_3_txt),
    gsDPSetTile_Dolphin(G_DOLPHIN_TLUT_DEFAULT_MODE, 0, 15, GX_REPEAT, GX_CLAMP, 0, 0),
    gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 508, 124),
    gsSPNTrianglesInit_5b(12, 11, 12, 13, 14, 15, 16, 17, 18, 19),
    gsSPNTriangles_5b(19, 18, 20, 14, 21, 22, 20, 22, 19, 19, 23, 17),
    gsSPNTriangles_5b(23, 24, 13, 13, 24, 11, 22, 20, 14, 13, 17, 23),
    gsSPNTriangles_5b(16, 21, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0),
    gsSPEndDisplayList(),
};

cKF_Joint_R_c cKF_je_r_boy_1_tbl[] = {
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 1000, 0 } },
    { base_boy_model, 4, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 65186, 0 } },
    { Lfoot1_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { Lfoot2_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 450, 0, 0 } },
    { Lfoot3_boy_model, 0, cKF_JOINT_FLAG_DISP_OPA, { 400, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 350, 0 } },
    { Rfoot1_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { Rffot2_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 450, 0, 0 } },
    { Rfoot3_boy_model, 0, cKF_JOINT_FLAG_DISP_OPA, { 400, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 75, 0, 65336 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { NULL, 0, cKF_JOINT_FLAG_DISP_OPA, { 101, 0, 0 } },
    { chest_boy_model, 3, cKF_JOINT_FLAG_DISP_OPA, { 301, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 500, 65086, 0 } },
    { Larm1_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { Larm2_boy_model, 0, cKF_JOINT_FLAG_DISP_OPA, { 626, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 500, 450, 0 } },
    { Rarm1_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { Rarm2_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 626, 0, 0 } },
    { NULL, 0, cKF_JOINT_FLAG_DISP_OPA, { 625, 0, 0 } },
    { NULL, 2, cKF_JOINT_FLAG_DISP_OPA, { 625, 0, 0 } },
    { NULL, 1, cKF_JOINT_FLAG_DISP_OPA, { 500, 0, 600 } },
    { NULL, 0, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { head_boy_model, 1, cKF_JOINT_FLAG_DISP_OPA, { 0, 0, 0 } },
    { NULL, 0, cKF_JOINT_FLAG_DISP_OPA, { 1275, 0, 0 } },
};

cKF_Skeleton_R_c cKF_bs_r_boy_1 = { ARRAY_COUNT(cKF_je_r_boy_1_tbl), 13, cKF_je_r_boy_1_tbl };
