MenuMainLoc 328 B

12345678910111213141516171819202122232425
  1. # MenuMainLoc
  2. ! WD: broken 'Menu' fix, ARGS[0] is set to menu position
  3. if ARGS[0] = 1:
  4. ETOmenu = 0
  5. gs 'stat'
  6. end
  7. if ARGS[0] = 2:
  8. ETOmenu = 1
  9. gs 'stat'
  10. end
  11. ! WD: Original code
  12. if $ARGS[0] = '0':
  13. ETOmenu = 0
  14. gs 'stat'
  15. end
  16. if $ARGS[0] = '1':
  17. ETOmenu = 1
  18. gs 'stat'
  19. end
  20. --- MenuMainLoc ---------------------------------