   What is wrong with my logic?
  For some reason, this doesnt work!When I press the down key, it goes down, but once it reaches the 6th menu item, it doesnt reset it self to the top, it just keeps going down off screen, and then likewise with going up.iCursorY = dbSpriteY(12);// UP KEY PRESSif(dbUpKey() == 1 && bUpKeyReleased == true){if(iCursorY == iStartY){dbSprite(12,iCursorX,iEndY,12);bUpKeyReleased = false;iCurrentItem = 6;dbPlaySound(3);}else if(bUpKeyReleased == true){dbSprite(12,iCursorX,iCursorY - 57,12);bUpKeyReleased = false;iCurrentItem = iCurrentItem - 1;dbPlaySound(3);}}if(dbUpKey() == 0 && bUpKeyReleased == false){bUpKeyReleased = true;}// DOWN KEY PRESSif(dbDownKey() == 1 && bDownKeyReleased == true){if(iCursorY == iEndY){dbSprite(12,iCursorX,iStartY,12);bDownKeyReleased = false;iCurrentItem = 1;dbPlaySound(3);}else if(bDownKeyReleased == true){dbSprite(12,iCursorX,iCursorY + 57,12);bDownKeyReleased = false;iCurrentItem = iCurrentItem + 1;dbPlaySound(3);}}if(dbDownKey() == 0 && bDownKeyReleased == false){bDownKeyReleased = true;}
  You seem to be incrementing iCurrentItem and checking iCursorY ?   ;  Yea I fixed it.I couldnt delete topic though, I realized my errors too late :/   