Modeling proton transfer potentials in angularly deformed hydrogen bonds