home *** CD-ROM | disk | FTP | other *** search
/ PC & Mediji 1995 November / PCM_9511.iso / igre / totaldis / shared.dir / 02055_Script_2055 < prev    next >
Text File  |  1994-08-31  |  2KB  |  112 lines

  1. on IJ x
  2.   go x
  3.   resetC
  4. end
  5.  
  6. on GoMenu
  7.   global MenuMan
  8.   if MenuMan starts "go" then
  9.     do MenuMan
  10.   else
  11.     go "menu" of movie "aa02"
  12.   end if
  13. end
  14.  
  15. on BTog
  16.   global TOG
  17.   set x = the locH of sprite 21
  18.   puppetsprite 21, 1
  19.   puppetsprite 22, 1
  20.   puppetsprite 23, 1
  21.   puppetsprite 24, 1
  22.   
  23.   if TOG = 0 then
  24.     set TOG = 1
  25.     set the LocV of sprite 21 = 342
  26.     set the LocV of sprite 22 = 342
  27.     set the LocV of sprite 23 = 342
  28.     set the LocV of sprite 24 = 342
  29.   else
  30.     set TOG = 0
  31.     set the LocV of sprite 21 = 422
  32.     set the LocV of sprite 22 = 422
  33.     set the LocV of sprite 23 = 422
  34.     set the LocV of sprite 24 = 422
  35.   end if
  36. end
  37.  
  38. on FeedJump b, bm, f, fm
  39.   global JBack, JFore, MBack, MFore
  40.   set JBack = b
  41.   set MBack = bm
  42.   set JFore = f
  43.   set MFore = fm
  44. end
  45.  
  46. on GoBack
  47.   global JBack, JFore, MBack, MFore, TOG
  48.   set TOG = 0
  49.   if JBack = "MainMenu" then
  50.     go "Menu" of movie "aa02"
  51.     exit
  52.   else if stringp(MBack) then
  53.     go Jback of movie Mback
  54.   else if MBack = 1 then
  55.     go movie Jback
  56.   else if MBack = 0 then
  57.     go JBack
  58.   else 
  59.     go JBack of movie MBack
  60.   end if
  61. end
  62.  
  63. on GoFore
  64.   global JBack, JFore, MBack, MFore, TOG
  65.   set TOG = 0
  66.   if JFore = "MainMenu" then
  67.     go "Menu" of movie "aa02"
  68.     exit
  69.   else if JFore = "EndGAME" then
  70.     go "End" of movie "aa02"
  71.     exit
  72.   else if stringp(MFore) then
  73.     go JFore of movie MFore
  74.   else if MFore = 1 then
  75.     go movie JFore
  76.   else if MFore = 0 then
  77.     go JFore
  78.   else 
  79.     go JFore of movie MFore
  80.   end if
  81. end
  82.  
  83. on AJ x
  84.   global MJumpCounter
  85.   set MJumpCounter = MJumpCounter+1
  86.   if x = 1 then
  87.     if MJumpCounter > 12 then
  88.       set MJumpCounter = 0
  89.       go marker(1)
  90.       exit
  91.     end if
  92.   end if
  93.   if integerp(x) = 0 then
  94.     if MJumpCounter > 10 then
  95.       set MJumpCounter = 0
  96.       go x
  97.       exit
  98.     end if
  99.   end if
  100.   if x = 6 then
  101.     go marker(1)
  102.     resetC
  103.     exit
  104.   end if
  105.   go marker(0)
  106. end
  107.  
  108. on resetC
  109.   global MJumpCounter
  110.   set countr = 0
  111. end
  112.