Clean up isScratching logic a bit.

should make scratch2_enable toggle keylock off during scratching, but this is untested (I don't have a controller that does this)