I am trying to make a parameter switch in the menu, but it does not change in the opposite direction.
It seems everything is elementary, but does not work.

```
set x=900
:1
cls & echo %x%
choice /c 12 /n
if %ErrorLevel%==1 (if x==0 (set x=1 & goto 1) else (set x=0 & goto 1))
if %ErrorLevel%==2 (if x==900 (set x=2 & goto 1))
goto 1

```