home *** CD-ROM | disk | FTP | other *** search
/ Gamer's Paradise: Logic / Hracuv-raj_Logicke-hry_cd1.bin / QUESTCAM / EGG.DIR / 00113.ls < prev    next >
Encoding:
Text File  |  1998-02-26  |  1.1 KB  |  36 lines

  1. on SeeIfHeWantsIt
  2.   global draggin, usingObject, dragChan, objsChan, objsList, selectedSprite, oldtoyloc, tired, lastSelectedSprite, whichanim, resumeanim, pacifierflag, sucky, Hungry, dancecount, nodancing, wet, uinefuar, plaideoff, dragonChan, ughplaide, thaplaideaig, eggtimer, weatherforecast, hatchyhatch
  3.   if hatchyhatch = 1 then
  4.     return 0
  5.   end if
  6.   set slaintemhath to selectedSprite - objsChan + 1
  7.   set whichobj to getAt(objsList, slaintemhath)
  8.   set wantdat to 0
  9.   case whichobj of
  10.     "blankee":
  11.       if (eggtimer > 99) and (weatherforecast = 0) then
  12.         set wantdat to 1
  13.         set usingObject to 1
  14.         set draggin to 0
  15.         set the locH of sprite dragChan to 2000
  16.         set the memberNum of sprite selectedSprite to ughplaide
  17.         set the loc of sprite selectedSprite to the loc of sprite dragonChan - plaideoff
  18.         set thaplaideaig to 1
  19.         setanim("quiver3")
  20.         exit
  21.       end if
  22.       RejectItem(tired)
  23.       return 0
  24.   end case
  25.   return wantdat
  26. end
  27.  
  28. on RejectItem emotion
  29.   global resumeanim, whichanim
  30.   if resumeanim = EMPTY then
  31.     set resumeanim to whichanim
  32.   end if
  33.   setanim("quiver2")
  34.   exit
  35. end
  36.