while(1)
{
...
/////////////////////////////////////////////////////////////////////////////////
if ((x < 58 && y < 58) && (pad.Buttons & PSP_CTRL_CROSS)) {
pco = 1;
}
if(pco == 1)
{
blitAlphaImageToScreen(0 ,0 , 480, 246, pc, 0, 0);
if (x > 99 && x < 276 && y > 69 && y < 120)
{
blitImageToScreen(0 ,0 , 185, 60, hover, 100, 68);
}
if (x > 276 && x < 465 && y > 69 && y < 120)
{
blitImageToScreen(0 ,0 , 185, 60, hover, 286, 68);
}
blitAlphaImageToScreen(0 ,0 , 77, 50, ms, 105, 73);
printTextScreen(185, 90, "Memory Stick", black);
blitAlphaImageToScreen(0 ,0 , 70, 57, umd, 290, 70);
printTextScreen(362, 90, "UMD", black);
if(x > 420 && x < 472 && y < 18)
{
blitAlphaImageToScreen(0 ,0 , 42, 16, close, 431, 2);
if (pad.Buttons & PSP_CTRL_CROSS)
{
pco = 0;
}
}
}
/////////////////////////////////////////////////////////////////////////////////
...
blitAlphaImageToScreen(0 ,0 , 32, 32, cursor, x, y);
sceDisplayWaitVblankStart();
flipScreen();
...
}
... - means cutted script
Something