I created project with switched menu for audio/subtitles setup. My project in this part looks like the tutorial in help.

I organized switched menus for different options (A0S0, A1S0, A0S1, A1S1, where 0 - first stream or first subtitle, 1 - second stream or subtitle) and VMcommand as a selector for right menu. Link to setup from main menu is to this selector.

Everything works fine exept selector. I used the same commands like in help:
GPRM3 = 1024
SetHL_BTN GPRM3
GPRM3 = SPRM1
GPRM4 = SPRM2
GPRM3 *= 100
GPRM3 += GPRM4
if (GPRM3 == 64) LinkPGCN 11
if (GPRM3 == 100) LinkPGCN 12
if (GPRM3 == 164) LinkPGCN 13
LinkPGCN 15

Everytime it goes to menu in PGC 15. With pgcedit I checked PGC numbers for other menus, they are correct.

I'm stack. Why it does not work?