home *** CD-ROM | disk | FTP | other *** search
/ Media Share 8 / MEDIASHARE_08.ISO / runtime / script.sss < prev    next >
Text File  |  1991-09-10  |  807b  |  47 lines

  1. SCRIPT
  2. ;
  3. ; Look scripts for play!!!!!
  4. ;
  5. ; call this subroutine main
  6. [main]
  7. ;
  8. ; play track 5 on the cdrom
  9. _cd 5
  10. ; play arena.flc
  11. arena.flc
  12. ;
  13. ; start a loop
  14. ;
  15. _startsub
  16. ; if 1 was pressed goto option1
  17.     _keyin "1" option1
  18. ; if a mouse was clicked in the left region goto option1
  19.     _region 0 0 159 199 option1
  20. ; if 2 was pressed goto option2
  21.     _keyin "2" option2
  22. ; if a mouse was clicked in the right region goto option2
  23.     _region 160 0 319 199 option2
  24. ; end the loop
  25. _endsub
  26. ;
  27. ; call the subroutine option1
  28. [option1]
  29. ; play main.flc
  30. main.flc
  31. ; end this animation
  32. _jump finish
  33. ;
  34. ; call the subroutine option2
  35. [option2]
  36. ; play face.flc
  37. face.flc
  38. ;
  39. ; call the subroutine finish
  40. [finish]
  41. ; play smash.flc
  42. smash.flc
  43. ; end and return 0 as errlevel or c shell
  44. _return 0
  45.  
  46.