home *** CD-ROM | disk | FTP | other *** search
/ The Princeton Review - Algebra Smart / ALGEBRA.iso / pc / exams / exams.dir / 00005_Script_5 < prev    next >
Text File  |  1996-10-02  |  714b  |  24 lines

  1. on exitFrame
  2.   global DrillQNum, turnBack
  3.   set the castLibNum of sprite 9 = 3
  4.   repeat with x in [2,8,9,11,47]
  5.     puppetsprite x, 1
  6.   end repeat
  7.   put integer(word 8 of line (DrillQNum + 1) of field "Drill DataField") into graphic
  8.   set the membernum of sprite 9 = ¨
  9. integer(word 2 of line (DrillQNum + 1) of field "Drill DataField")
  10.   if not voidP(graphic) then
  11.     set the castLibNum of sprite 8 = 3
  12.     set the membernum of sprite 8 = graphic
  13.     set the locV of sprite 9 = (the bottom of sprite 8) + 18
  14.   else
  15.     set the castLibNum of sprite 8 = 1
  16.     set the membernum of sprite 8 = 17
  17.   end if
  18.   updatestage
  19.   if turnback = 1 then
  20.     RotateBack
  21.   else
  22.     RotateNumber
  23.   end if
  24. end