Flip-flop hydrogen bonding in a partially disordered system