home *** CD-ROM | disk | FTP | other *** search
/ Blaze / Blaze.iso / mac / QUEENMC.Dxr / 00008_T_init3.ls < prev    next >
Encoding:
Text File  |  1997-05-12  |  1.5 KB  |  53 lines

  1. on exitFrame
  2.   global X0, Y0, X1, Y1, X2, Y2, XA1, YA1, XA2, YA2, XB1, YB1, XB2, YB2, XC1, YC1, XC2, YC2, XD1, YD1, XD2, YD2, XZ1, YZ1, XZ2, YZ2, FirstPlaySW, ThrowBallSW, ThrowOk, ThrowArrow, PlayBack, Area, gTimeOut, gHelp, gMove1, MaxgT, gB
  3.   set MaxgT to 80
  4.   set gB to 3.0
  5.   set gHelp to 0
  6.   set gTimeOut to "yy3"
  7.   set XA1 to 288 - ((Area - 1) * 65 / 2)
  8.   set YA1 to 158 - ((Area - 1) * 42 / 2)
  9.   set XA2 to XA1 + (65 * Area)
  10.   set YA2 to YA1 + (42 * Area)
  11.   set XC1 to 287
  12.   set YC1 to 192
  13.   set XC2 to 292 + 54
  14.   set YC2 to 192 + 16
  15.   set XB1 to 256
  16.   set YB1 to 154
  17.   set XB2 to 256 + 34
  18.   set YB2 to 154 + 36
  19.   set XZ1 to 220
  20.   set YZ1 to 95
  21.   set XZ2 to 220 + 136
  22.   set YZ2 to 95 + 108
  23.   set XD1 to 300
  24.   set YD1 to 210
  25.   set XD2 to 300 + 36
  26.   set YD2 to 210 + 34
  27.   if gMove1 <> 1 then
  28.     set the visible of sprite 14 to 0
  29.     set the visible of sprite 15 to 0
  30.     set the visible of sprite 16 to 0
  31.     set the visible of sprite 17 to 0
  32.     set the visible of sprite 18 to 0
  33.     set the visible of sprite 19 to 0
  34.     set the visible of sprite 20 to 0
  35.     set the visible of sprite 21 to 0
  36.     set the visible of sprite 22 to 0
  37.     set the visible of sprite 23 to 0
  38.     set ThrowOk to 0
  39.     set FirstPlaySW to 0
  40.     set ThrowBallSW to 0
  41.     set ThrowArrow to 1
  42.     puppetSprite(10, 1)
  43.     puppetSprite(11, 1)
  44.     set PlayBack to 1
  45.   else
  46.     set the visible of sprite 21 to 0
  47.     puppetSprite(10, 1)
  48.     puppetSprite(11, 1)
  49.     set gMove1 to 0
  50.     go(the frame + 1)
  51.   end if
  52. end
  53.