State Machine for Beyond Possible Robot, Pt. 1