The relevant line from `2.3.4`:

> yP = β if β ≡ y˜P (mod 2), and set yP = p − β if β 6≡ y˜P (mod 2).