mvbg

VM_CHOICE

VM_CHOICE IDX, OPTIONS, COUNT

Executes menu.

Instruction must be followed by the COUNT of .MENUITEM definitions:
.MENUITEM X, Y, iL, iR, iU, iD
where:
X - X-coordinate of the cursor pointer in tiles.
Y - Y-coordinate of the cursor pointer in tiles.
iL - Menu item number where the cursor must move when you press LEFT.
iR - Menu item number where the cursor must move when you press RIGHT.
iU - Menu item number where the cursor must move when you press UP.
iD - Menu item number where the cursor must move when you press DOWN.