home *** CD-ROM | disk | FTP | other *** search
/ Fuji Wa La Te I Ka - Hyakunin Isshu Karuta / KARUTA.bin / wins / finetown.dir / 00057_Script_57 < prev    next >
Text File  |  1995-11-10  |  1KB  |  49 lines

  1. global Dis,moveSPlist,wari2
  2.  
  3. on leftCD
  4.   set the castNum of sprite 25 to 32
  5.   set the castNum of sprite 24 to 40
  6.   if the locH of sprite 25 < 30 then
  7.     abort
  8.   else
  9.     set the locH of sprite 24 to the locH of sprite 24 - Dis / wari2
  10.     set the locH of sprite 25 to the locH of sprite 25 - Dis / wari2
  11.   end if
  12. end 
  13.  
  14. on rightCD
  15.   set the castNum of sprite 25 to 34
  16.   set the castNum of sprite 24 to 42
  17.   if (the locH of sprite 25 > 400 and the locV of sprite 25 > 265) or ┬
  18. the locH of sprite 25 > 482 then
  19.     abort
  20.   else
  21.     set the locH of sprite 24 to the locH of sprite 24 + Dis / wari2
  22.     set the locH of sprite 25 to the locH of sprite 25 + Dis / wari2
  23.   end if
  24. end
  25.  
  26. on upCD
  27.   set the castNum of sprite 25 to 33
  28.   set the castNum of sprite 24 to 41
  29.   if the locV of sprite 25 < 30 then
  30.     abort
  31.   else
  32.     set the locV of sprite 24 to the locV of sprite 24 - Dis / wari2
  33.     set the locV of sprite 25 to the locV of sprite 25 - Dis / wari2
  34.   end if
  35. end
  36.  
  37. on downCD
  38.   set the castNum of sprite 25 to 35
  39.   set the castNum of sprite 24 to 43
  40.   if (the locV of sprite 25 > 265 and the locH of sprite 25 > 400) or ┬
  41. the locV of sprite 25 > 354 then
  42.     abort
  43.   else
  44.     set the locV of sprite 24 to the locV of sprite 24 + Dis / wari2
  45.     set the locV of sprite 25 to the locV of sprite 25 + Dis / wari2
  46.   end if
  47. end
  48.  
  49.