home *** CD-ROM | disk | FTP | other *** search
/ Venus' Playhouse / Venus_Playhouse.iso / mac / PCPLHAUS.DXR / 00074_Script_74 < prev    next >
Text File  |  1998-03-29  |  990b  |  27 lines

  1. --Loop on Pool and bedroom Yes response
  2. on exitFrame
  3.   Global questLine, aAnsYout, aNextYn, aNextYcom
  4.   if the movieTime of sprite 11 < getAt(aAnsYout, questLine)-24 then
  5.     go to the frame
  6.   else
  7.     Put getAt(aNextYn, questLine) into X
  8.     set whereTo = getAt(aNextYcom, questLine)
  9.     set questLine = value(chars(string(X), 1, 2))
  10.     Go whereTo
  11.   end if
  12. end
  13.  
  14. --global qtSprite, questLine, yesIn, yesOut, noIn, noOut, questOut
  15. --put line value(questLine) of field "Question In" into questIn
  16. --put line value(questLine) of field "Question Out" into questOut
  17. --put line value(questLine) of field "AnsYin" into yesIn
  18. --put line value(questLine) of field "AnsYout" into yesOut
  19. --put line value(questLine) of field "AnsNin" into noIn
  20. --put line value(questLine) of field "AnsNout" into noOut
  21.  
  22.  
  23. --put line value(questLine) of field "NextYN" into X
  24. --put line value(questLine) of field "nextYcom" into whereNext
  25. --put chars(X, 1, 2) into Y
  26. --set questLine = value(Y)
  27.