/***************************************************************************************************
		Convert from NINGEN		(rabi_LfootB) 																
****************************************************************************************************/
#define rabi_LfootB_AMB_SCALE 0.4
#define ShapeColor_rabi_LfootB(R,G,B) {{R*rabi_LfootB_AMB_SCALE ,G*rabi_LfootB_AMB_SCALE ,B*rabi_LfootB_AMB_SCALE ,0 ,R*rabi_LfootB_AMB_SCALE ,G*rabi_LfootB_AMB_SCALE ,B*rabi_LfootB_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }

static Lights1 light_rabi_LfootB[] = {
	ShapeColor_rabi_LfootB(150,150,  0),
	ShapeColor_rabi_LfootB(255,255,255),
};

static Vtx vtx_rabi_LfootB_0[] = {
	{     54,      0,    -35,     0,  -112,   464,    94,   -9,  -84,  255}, 
	{     54,      0,     41,     0,  -112,   464,   104,   24,   67,  255}, 
	{     49,    -37,      3,     0,  -288,    54,    64, -109,    0,  255}, 
	{     -2,     52,    -19,     0,  -756,  1148,   -32,   80,  -92,  255}, 
	{     -2,     52,     24,     0,  -756,  1148,   -74,   42,   94,  255}, 
	{     -2,     52,     24,     0,  -756,  1148,   -74,   42,   94,  255}, 
	{     -2,     52,    -19,     0,  -756,  1148,   -32,   80,  -92,  255}, 
	{    -14,     13,      2,     0, -1032,   740,  -122,  -33,    0,  255}, 
	{     27,    -28,    -22,     0,  -560,   194,   -54,  -86,  -75,  255}, 
	{     27,    -28,     28,     0,  -560,   194,   -56,  -86,   74,  255}, 
	{     54,      0,    -35,     0,  -112,   464,    94,   -9,  -84,  255}, 
	{     49,    -37,      3,     0,  -288,    54,    64, -109,    0,  255}, 
	{     54,      0,     41,     0,  -112,   464,   104,   24,   67,  255}, 
};

static Gfx gfx_rabi_LfootB_0[] = {
	gs_Tani_LoadTextureImage2(rabi_face_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),

	gsSPLight((&light_rabi_LfootB[0].l[0]),1 ),
	gsSPLight((&light_rabi_LfootB[0].a   ),2 ),

	gsSPVertex(&vtx_rabi_LfootB_0[0],  5, 0), 
	gsSP1Triangle( 0, 1, 2, 0),
	gsSP1Triangle( 1, 0, 3, 0),
	gsSP1Triangle( 3, 4, 1, 0),

	gsSPLight((&light_rabi_LfootB[1].l[0]),1 ),
	gsSPLight((&light_rabi_LfootB[1].a   ),2 ),

	gsSPVertex(&vtx_rabi_LfootB_0[5],  8, 0), 
	gsSP1Triangle( 0, 1, 2, 0),
	gsSP1Triangle( 2, 3, 4, 0),
	gsSP1Triangle( 3, 2, 1, 0),
	gsSP1Triangle( 3, 5, 6, 0),
	gsSP1Triangle( 6, 4, 3, 0),
	gsSP1Triangle( 1, 5, 3, 0),
	gsSP1Triangle( 6, 7, 4, 0),
	gsSP1Triangle( 4, 7, 0, 0),
	gsSP1Triangle( 0, 2, 4, 0),
	gsSPEndDisplayList() 
};

Gfx gfx_rabi_LfootB[] = {
	gsDPPipeSync(),
	gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
	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_rabi_LfootB_0),

	gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),

	gsDPPipeSync(),
	gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
	gsSPEndDisplayList() 
};

