Merged control and menu condition code

The code has been merged, but transference is not fully functioning. Some cleanup is still required.
These two lines are duplicated down below. Is there a better way to write this code?