/*************************************************************************************************** Convert from NINGEN (nn_body1) ****************************************************************************************************/ static Vtx vtx_nn_body1_0[] = { { 528, 0, -117, 0, 0, 452, -1, -1, -1, 255}, { 531, 208, -60, 0, -36, 1008, -1, -1, -1, 255}, { 646, 0, 0, 0, -258, 452, -1, -1, -1, 255}, { 528, 0, 123, 0, 0, 452, -1, -1, -1, 255}, { 451, -175, 0, 0, 116, -22, -1, -1, -1, 255}, { 0, 0, -107, 0, 990, 452, -1, -1, -1, 255}, { 0, 0, 118, 0, 990, 452, -1, -1, -1, 255}, { 0, -159, 0, 0, 990, 22, -1, -1, -1, 255}, { -98, 0, 0, 0, 1182, 452, -1, -1, -1, 255}, { 0, 188, 0, 0, 990, 960, -1, -1, -1, 255}, { 531, 208, 61, 0, -36, 1008, -1, -1, -1, 255}, }; static Vtx vtx_nn_body1_1[] = { { 531, 208, 61, 0, 0, 0, -119, 25, 46, 255}, { 531, 208, -60, 0, 0, 0, -119, 25, 46, 255}, { 0, 188, 0, 0, 0, 0, -119, 25, 46, 255}, }; static Gfx gfx_nn_body1_0[] = { gs_Tani_LoadTextureImage2(bodypat_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPVertex(&vtx_nn_body1_0[0], 11, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 2, 3, 4, 0), gsSP1Triangle( 5, 0, 4, 0), gsSP1Triangle( 6, 7, 4, 0), gsSP1Triangle( 4, 3, 6, 0), gsSP1Triangle( 4, 7, 5, 0), gsSP1Triangle( 4, 0, 2, 0), gsSP1Triangle( 7, 6, 8, 0), gsSP1Triangle( 5, 7, 8, 0), gsSP1Triangle( 1, 0, 5, 0), gsSP1Triangle( 1, 5, 9, 0), gsSP1Triangle( 9, 5, 8, 0), gsSP1Triangle( 6, 9, 8, 0), gsSP1Triangle(10, 9, 6, 0), gsSP1Triangle( 6, 3,10, 0), gsSP1Triangle(10, 3, 2, 0), gsSP1Triangle( 2, 1,10, 0), gsSPEndDisplayList() }; static Gfx gfx_nn_body1_1[] = { gsSPVertex(&vtx_nn_body1_1[0], 3, 0), gsSP1Triangle( 0, 1, 2, 0), gsSPEndDisplayList() }; Gfx gfx_nn_body1[] = { gsDPPipeSync(), gsDPSetCycleType(G_CYC_2CYCLE), gsDPSetRenderMode(G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2), gsDPSetDepthSource(G_ZS_PIXEL), gsDPSetFogColor(STAGE7_UTUBO_FOG_R, STAGE7_UTUBO_FOG_G, STAGE7_UTUBO_FOG_B, 255), gsSPFogPosition(STAGE7_UTUBO_FOG_START, 1000), gsSPSetGeometryMode(G_FOG), gsDPSetCombineMode(G_CC_DECALRGB, G_CC_PASS2), gsSPClearGeometryMode(G_LIGHTING), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0), gsSPTexture(0xffff,0xffff, 0, 0, G_ON), gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_nn_body1_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_PASS2), gsSPDisplayList(gfx_nn_body1_1), gsDPPipeSync(), gsDPSetCycleType(G_CYC_1CYCLE), gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF), gsSPClearGeometryMode(G_FOG), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_LIGHTING), gsSPEndDisplayList() };