Point probability for the maximum of simple symmetric random walk
= Point probability for the maximum of simple symmetric random walk
For $M_n=\max_{0\leq k\leq n}S_k$ and a positive integer $a$,
$$
\mathbb P(M_n=a)
=\mathbb P(S_n=a)+\mathbb P(S_n=a+1).
$$
Exactly one term can be nonzero because $S_n$ has the parity of $n$.