home *** CD-ROM | disk | FTP | other *** search
/ Experience Hawaii / HAWAII.ISO / pc / specialo.dir / 00039_Field_39.txt < prev    next >
Text File  |  1996-04-12  |  3KB  |  139 lines

  1. -- Ben, This was movie script 40
  2.  
  3. on goSPC targetFrame
  4. set the castNum of sprite (the clickon) = (the mousecast + 1)
  5. updatestage
  6. go to frame targetFrame
  7. set the cursor of sprite 45 to [14077,14078]
  8. set the cursor of sprite 46 to [14079,14080]
  9. exit
  10. end
  11.  
  12. -- Ben, This was movie script 10
  13.  
  14. on checkPCRollover
  15. repeat with whichChannel = 45 to 46
  16. if rollOver(whichChannel) then
  17. doPCRollover whichChannel
  18. end if
  19. end repeat
  20. go to the frame
  21. end checkSPRollover
  22.  
  23. on doPCRollOver whichChannel
  24. put the castNum of sprite whichChannel into j
  25. repeat while rollOver(whichChannel) = true
  26. set the castNum of sprite whichChannel to j + 1
  27. if the mouseDown = true then
  28. set the castNum of sprite whichChannel to j + 2
  29. updatestage
  30. exit
  31. end if
  32. updatestage
  33. end repeat
  34. set the castnum of sprite whichChannel to j
  35. updatestage
  36. end
  37.  
  38. -- Ben, This was movie script 11
  39.  
  40. on checkSPRollover
  41. repeat with whichChannel = 3 to 14
  42. if rollOver(whichChannel) then
  43. doSPRollover whichChannel
  44. end if
  45. end repeat
  46. go to the frame
  47. end checkSPRollover
  48.  
  49. on doSPRollOver whichChannel
  50. put the castNum of sprite whichChannel into j
  51. repeat while rollOver(whichChannel) = true
  52. set the castNum of sprite whichChannel to j + 1
  53. if the mouseDown = true then
  54. set the castNum of sprite whichChannel to j + 2
  55. updatestage
  56. exit
  57. end if
  58. updatestage
  59. end repeat
  60. set the castnum of sprite whichChannel to j
  61. updatestage
  62. end
  63.  
  64. on doHelpRollOver whichChannel
  65. put the castNum of sprite whichChannel into j
  66. repeat while rollOver(whichChannel) = true
  67. set the castNum of sprite whichChannel to j + 1
  68. if the mouseDown = true then
  69. if the clickon = 24 then
  70. go to marker (1)
  71. end if
  72. if the clickon = 25 then
  73. go to frame (1)
  74. end if
  75. resetsprites
  76. exit repeat
  77. exit
  78. end if
  79. updatestage
  80. end repeat
  81. set the castnum of sprite whichChannel to j
  82. updatestage
  83. end
  84.  
  85. on resetSprites
  86. repeat with n = 2 to 20
  87. puppetsprite n, false
  88. set the visible of sprite n to true
  89. end repeat
  90. end
  91.  
  92. on doQuickRollOvers rollOverStart, rollOverEnd, spriteFactor, castFactor
  93. -- copyright 1995 JRD/ParaGraphix
  94. repeat with x = rollOverStart to rollOverEnd
  95. if the mouseCat = the castNum of sprite x then
  96. if the rollover(x) then
  97. if spriteFactor > 0 then
  98. set the visible of sprite (x + spriteFactor) = TRUE
  99. else
  100. set the castNum of sprite x = ((the castNum of sprite x) + 1)
  101. end if
  102. end if
  103. else if the mouseCast = ((the castNum of sprite x) + castFactor) then
  104. if rollover(x) then
  105. if spriteFactor > 0 then
  106. set the visible of sprite (x + spriteFactor = TRUE
  107. else
  108. set the castNum of sprite x = ((the castNum of sprite x) + 1)
  109. end if
  110. end if
  111. else
  112. if spriteFactor > 0 then
  113. put "x+spritefactor ="&&x+spritefactor
  114. set the visible of sprite (x + spriteFactor) = FALSE
  115. else
  116. set the castNum of sprite x = ((the castNum of sprite x) - 1)
  117. end if
  118. end if
  119. end repeat
  120. end
  121.  
  122. -- Ben, This was movie script 8
  123.  
  124.  
  125. --!!!! THIS IS THE SAME NAME AS IN MOVIE SCRIPT 11 !!!!!
  126. on doHelpRollOver whichChannel   
  127. -- all the code was identical to that in movie script 11
  128. -- could this be our poison pill?
  129.  
  130. on resetSprites
  131. -- this too is duplicated in movie script 11
  132.  
  133. on doQuickRollOvers
  134. -- this too is duplicated in movie script 11 with the exception of the following line
  135.  
  136. put "x+spritefactor ="&&x+spritefactor
  137.  
  138. -- which is not in the version in movie script 8
  139.