I haven't got that far yet, and not sure if this helps its a bit obvious, and simple. But I think to start: IF BUTTON AND #A THEN GOTO @jump. REPEAT Y=Y+1 UNTIL Y==#. Might work?