home *** CD-ROM | disk | FTP | other *** search
/ Internet 1996 World Exposition / park.org.s3.amazonaws.com.7z / park.org.s3.amazonaws.com / Japan / Panasonic- / funcity / paris / CIN.dcr / 00012.ls < prev    next >
Encoding:
Text File  |  2017-09-21  |  1.2 KB  |  55 lines

  1. global loopcnt1, loopcnt2, loopcnt3, loopcnt4, l1, l2, l3, l4, l1back, l2back, l3back, l4back
  2.  
  3. on exitFrame
  4.   if loopcnt1 = l1 then
  5.     set the visible of sprite 11 to 1
  6.     repeat with idx = 12 to 14
  7.       set the visible of sprite idx to 0
  8.     end repeat
  9.   end if
  10.   set loopcnt1 to loopcnt1 - 1
  11.   if loopcnt1 = 0 then
  12.     set loopcnt1 to l1
  13.     repeat while 1
  14.       set select to random(5)
  15.       if l1back <> select then
  16.         set l1back to select
  17.         exit repeat
  18.       end if
  19.     end repeat
  20.     if select = 1 then
  21.       set the visible of sprite 12 to 1
  22.     end if
  23.     if select = 4 then
  24.       set the visible of sprite 11 to 0
  25.       set the visible of sprite 12 to 1
  26.       set the visible of sprite 13 to 1
  27.     end if
  28.     if select = 5 then
  29.       set the visible of sprite 11 to 0
  30.       set the visible of sprite 14 to 1
  31.     end if
  32.   end if
  33.   set loopcnt2 to loopcnt2 - 1
  34.   if loopcnt2 = 0 then
  35.     set loopcnt2 to l2
  36.     repeat while 1
  37.       set select to random(5)
  38.       if l2back <> select then
  39.         set l2back to select
  40.         put select
  41.         exit repeat
  42.       end if
  43.     end repeat
  44.     if select = 2 then
  45.       go("FLOWER")
  46.       abort()
  47.     end if
  48.     if select = 3 then
  49.       go("NEWSBOY")
  50.       abort()
  51.     end if
  52.   end if
  53.   go("start")
  54. end
  55.