home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / BakersGame.dxr / 00068_foundation.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  481 b   |  13 lines

  1. on beginSprite me
  2.   global stock, fcount, foundation
  3.   if fcount = 1 then
  4.     sprite(me.spriteNum).loc = point(324, 44)
  5.     foundation.addProp(string(me.spriteNum).symbol, new(script("foundationobj"), []))
  6.   else
  7.     sprite(me.spriteNum).loc = sprite(me.spriteNum - 1).loc + point(sprite(me.spriteNum).width + 12, 0)
  8.     foundation.addProp(string(me.spriteNum).symbol, new(script("foundationobj"), []))
  9.   end if
  10.   sprite(me.spriteNum).member = "grayback"
  11.   fcount = fcount + 1
  12. end
  13.