home *** CD-ROM | disk | FTP | other *** search
/ Obrázků EXE Hry-Hazardni a Eroticke / EXE_Hry-hazardni-a-eroticke.bin / erotyka / spoon / spoondd1.dxr / 00155_CatSkripts.ls < prev    next >
Encoding:
Text File  |  1997-02-02  |  3.3 KB  |  119 lines

  1. on CatAnimation1
  2.   global gPhasenNr, gAniCode, gListDDW
  3.   set gPhasenNr to 9
  4.   set gAniCode to "DDC"
  5.   DoriPhasenWechsel()
  6. end
  7.  
  8. on CatAniRennen
  9.   global gCat2Ticks, gHundCatTicks
  10.   if the ticks >= gCat2Ticks then
  11.     set gCat2Ticks to the ticks + (60 / 3)
  12.     Rockwehen()
  13.   end if
  14.   if the ticks >= gHundCatTicks then
  15.     set gHundCatTicks to the ticks + (60 / 24)
  16.     KatzenJagen()
  17.   end if
  18.   if the timer >= (3 * 60) then
  19.     repeat with i = 9 to 16
  20.       set the puppet of sprite i to 0
  21.     end repeat
  22.     go("Cat2")
  23.   end if
  24.   if soundBusy(1) = 0 then
  25.     puppetSound("DogCat.AIF")
  26.   end if
  27. end
  28.  
  29. on Rockwehen
  30.   global gKleidZahl
  31.   set gKleidZahl to (gKleidZahl + 1) mod 2
  32.   set KleidName to "14DDC" & string(gKleidZahl)
  33.   set the castNum of sprite 14 to GetCast(string(KleidName))
  34. end
  35.  
  36. on KatzenJagen
  37.   global gKatJagZahl
  38.   set gKatJagZahl to (gKatJagZahl + 1) mod 5
  39.   set PhasenName to "16DDC" & string(gKatJagZahl)
  40.   set PhasenName2 to "9DDC" & string(gKatJagZahl)
  41.   set the castNum of sprite 16 to GetCast(string(PhasenName))
  42.   set the castNum of sprite 9 to GetCast(string(PhasenName2))
  43.   updateStage()
  44. end
  45.  
  46. on HundKopfueberWahl
  47.   set Zahl to random(2)
  48.   if Zahl = 1 then
  49.     set the castNum of sprite 16 to GetCast("16DDD0")
  50.     set the castNum of sprite 19 to GetCast("19DDD0")
  51.   else
  52.     set the castNum of sprite 16 to GetCast("16DDD1")
  53.     set the castNum of sprite 19 to GetCast("19DDD1")
  54.   end if
  55. end
  56.  
  57. on Cat2Brust├ûffnenAni
  58.   global gKatzNackt, gWechselTicks, gKleidoderBHStatus
  59.   set Cat2FaceNr to -1
  60.   if the visible of sprite 14 = 0 then
  61.     set gKleidoderBHStatus to 1
  62.   end if
  63.   puppetSound("Boom")
  64.   updateStage()
  65.   repeat with i = 1 to 3
  66.     set Cat2FaceNr to Cat2FaceNr + 1
  67.     set PhasenName to "17C2" & string(gKatzNackt) & Cat2FaceNr
  68.     set HaarPhase to "15C2hair" & Cat2FaceNr
  69.     set the castNum of sprite 18 to GetCast(string(HaarPhase))
  70.     set the castNum of sprite 15 to GetCast(string(HaarPhase))
  71.     set the castNum of sprite 17 to GetCast(string(PhasenName))
  72.     updateStage()
  73.     set gWechselTicks to the ticks + (60 / 7)
  74.     repeat while the ticks < gWechselTicks
  75.       KleidoderBH()
  76.     end repeat
  77.   end repeat
  78.   puppetSound("Huch.AIF")
  79. end
  80.  
  81. on KleidoderBH
  82.   global gKleidoderBHStatus, gPhasenZahl
  83.   if gKleidoderBHStatus = 0 then
  84.     set the visible of sprite 14 to 0
  85.   end if
  86.   if gKleidoderBHStatus = 1 then
  87.     set the visible of sprite 13 to 1
  88.     set gKleidoderBHStatus to 0
  89.     set gPhasenZahl to 3
  90.     set the timeoutLength to 4 * 60
  91.     set the timeoutScript to "ZuerueckZuA"
  92.   end if
  93. end
  94.  
  95. on KatzenLoop
  96.   global gWechselTicks, gKatLoopNr, gKatzNackt, gPhasenZahl
  97.   if the ticks >= gWechselTicks then
  98.     set gKatLoopNr to (gKatLoopNr + 1) mod gPhasenZahl
  99.     set PhasenName to "17C2" & string(gKatzNackt) & gKatLoopNr
  100.     set HaarPhase to "15C2hair" & gKatLoopNr
  101.     set the castNum of sprite 17 to GetCast(string(PhasenName))
  102.     set the castNum of sprite 18 to GetCast(string(HaarPhase))
  103.     set the castNum of sprite 15 to GetCast(string(HaarPhase))
  104.     updateStage()
  105.     set gWechselTicks to the ticks + (60 / 7)
  106.   end if
  107. end
  108.  
  109. on BruestePulsieren
  110.   global gBrustWechselTicks, gBrustLoop
  111.   if the ticks >= gBrustWechselTicks then
  112.     set gBrustLoop to (gBrustLoop + 1) mod 3
  113.     set PhasenName to "13C2tit" & gBrustLoop
  114.     set the castNum of sprite 13 to GetCast(string(PhasenName))
  115.     updateStage()
  116.     set gBrustWechselTicks to the ticks + (60 / 7)
  117.   end if
  118. end
  119.