home *** CD-ROM | disk | FTP | other *** search
/ Creative Review 28 / Creative-Review-CD-ROM-28.iso / mac / kungfu / style.dir / 00006_Script_6 < prev    next >
Text File  |  1997-08-08  |  3KB  |  139 lines

  1. -- cont 
  2.  
  3. global gClickedChan
  4. global gClickedV
  5.  
  6.  
  7.  
  8. on hinitcont
  9.   puppetsprite 5,true
  10. end
  11.  
  12.  
  13. on hclick1
  14.   sound stop 1
  15.   puppetsound 1,random(7) + 101
  16.   unloadMember member 151,the number of members
  17.   
  18.   
  19.   
  20.   if the mousev > the top of sprite the clickon  + 600 then
  21.     set the castNum of sprite 5 to 178
  22.     return
  23.   end if
  24.   
  25.   
  26.   if the mousev > the top of sprite the clickon  + 500 then
  27.     set the castNum of sprite 5 to 162
  28.     return
  29.   end if
  30.   
  31.   if the mousev > the top of sprite the clickon  + 400 then
  32.     set the castNum of sprite 5 to 180
  33.     return
  34.   end if
  35.   
  36.   if the mousev > the top of sprite the clickon  + 300 then
  37.     set the castNum of sprite 5 to 170
  38.     return
  39.   end if
  40.   
  41.   if the mousev > the top of sprite the clickon  + 200 then
  42.     set the castNum of sprite 5 to 163
  43.     return
  44.   end if
  45.   
  46.   if the mousev > the top of sprite the clickon  + 100 then
  47.     set the castNum of sprite 5 to 174
  48.     return
  49.   end if
  50.   
  51.   set the castNum of sprite 5 to 168
  52.   
  53. end 
  54.  
  55. on hclick2
  56.   sound stop 1
  57.   puppetsound 1,random(7) + 101
  58.   unloadMember member 151,the number of members
  59.   
  60.   
  61.   
  62.   if the mousev > the top of sprite the clickon  + 600 then
  63.     set the castNum of sprite 5 to 171
  64.     return
  65.   end if
  66.   
  67.   
  68.   if the mousev > the top of sprite the clickon  + 500 then
  69.     set the castNum of sprite 5 to 179
  70.     return
  71.   end if
  72.   
  73.   if the mousev > the top of sprite the clickon  + 400 then
  74.     set the castNum of sprite 5 to 172
  75.     return
  76.   end if
  77.   
  78.   if the mousev > the top of sprite the clickon  + 300 then
  79.     set the castNum of sprite 5 to 167
  80.     return
  81.   end if
  82.   
  83.   if the mousev > the top of sprite the clickon  + 200 then
  84.     set the castNum of sprite 5 to 164
  85.     return
  86.   end if
  87.   
  88.   if the mousev > the top of sprite the clickon  + 100 then
  89.     set the castNum of sprite 5 to 169
  90.     return
  91.   end if
  92.   
  93.   set the castNum of sprite 5 to 175
  94.   
  95. end 
  96.  
  97. on hclick3
  98.   sound stop 1
  99.   puppetsound 1,random(7) + 101
  100.   unloadMember member 151,the number of members
  101.   
  102.   
  103.   
  104.   if the mousev > the top of sprite the clickon  + 600 then
  105.     set the castNum of sprite 5 to 165
  106.     return
  107.   end if
  108.   
  109.   
  110.   if the mousev > the top of sprite the clickon  + 500 then
  111.     set the castNum of sprite 5 to 173
  112.     return
  113.   end if
  114.   
  115.   if the mousev > the top of sprite the clickon  + 400 then
  116.     set the castNum of sprite 5 to 181
  117.     return
  118.   end if
  119.   
  120.   if the mousev > the top of sprite the clickon  + 300 then
  121.     set the castNum of sprite 5 to 177
  122.     return
  123.   end if
  124.   
  125.   if the mousev > the top of sprite the clickon  + 200 then
  126.     set the castNum of sprite 5 to 166
  127.     return
  128.   end if
  129.   
  130.   if the mousev > the top of sprite the clickon  + 100 then
  131.     set the castNum of sprite 5 to 182
  132.     return
  133.   end if
  134.   
  135.   set the castNum of sprite 5 to 176
  136.   
  137. end 
  138.  
  139.