selectorx = 163
selectory = 38
switch = 0 
counter = 0
while switch == 0 do
screen:blit(0,0,statpage)
screen:blit(selectorx, selectory, selector)



screen.waitVblankStart()
screen.flip()
oldpad = pad
end