else if(sig == "left"){ if(restrictXGrid > 0){ fe.list.index --; gameSelector1.x -= (wItemGrid + xPadGrid); gameSelector2.x -= (wItemGrid + xPadGrid); restrictXGrid--; modxGrid++; } return true; } else if(sig == "right"){ if(restrictXGrid < (totalXGrid-1)){ fe.list.index ++; gameSelector1.x += (wItemGrid + xPadGrid); gameSelector2.x += (wItemGrid + xPadGrid); restrictXGrid++; modxGrid--; } return true; }
else if(sig == "left"){ if(restrictXGrid > 0){ fe.list.index --; gameSelector1.x -= (wItemGrid + xPadGrid); gameSelector2.x -= (wItemGrid + xPadGrid); restrictXGrid--; modxGrid++; } else { fe.set_display( fe.list - 1) //I haven't tested this but this should work hopefully } return true; } else if(sig == "right"){ if(restrictXGrid < (totalXGrid-1)){ fe.list.index ++; gameSelector1.x += (wItemGrid + xPadGrid); gameSelector2.x += (wItemGrid + xPadGrid); restrictXGrid++; modxGrid--; } else { fe.set_display( fe.list + 1) //I haven't tested this but this should work hopefully } return true; }