home *** CD-ROM | disk | FTP | other *** search
/ Smart Steps: 2nd Grade / SSGRADE2.iso / pc / media / notions / maths / m2008.dxr / 00079_Init.ls < prev    next >
Encoding:
Text File  |  1999-03-27  |  727 b   |  29 lines

  1. on exitFrame
  2.   global gNumeroMod, Consigne, result, nbr, fin, GoodRep
  3.   set fin to 0
  4.   set result to 0
  5.   set nbr to 1
  6.   set GoodRep to 0
  7.   repeat with i = 5 to 36
  8.     if the memberNum of sprite i <> 0 then
  9.       set the puppet of sprite i to 1
  10.     end if
  11.   end repeat
  12.   Cmain(4, 3)
  13.   Cmain(5, 4)
  14.   Cmain(38, 2)
  15.   TireAuHasard()
  16.   puppetTransition(5, 1, 10, 1)
  17.   updateStage()
  18.   set the locH of sprite 31 to the locH of sprite i - 500
  19.   set the locH of sprite 33 to the locH of sprite i - 500
  20.   set the locV of sprite 32 to the locV of sprite i - 500
  21.   set the puppet of sprite 45 to 1
  22.   set the puppet of sprite 38 to 1
  23.   set the puppet of sprite 39 to 1
  24.   CodeImage(1)
  25.   if Consigne then
  26.     joue("Consigne.AIF")
  27.   end if
  28. end
  29.