home *** CD-ROM | disk | FTP | other *** search
- property spriteNum, muffet, ogLoc, direc, motion
-
- on beginSprite me
- muffet = sprite(spriteNum)
- ogLoc = muffet.locV
- puppetSound(5, member("coming down"))
- direc = 1
- end
-
- on enterFrame me
- if muffet.flipV then
- muffet.locV = muffet.locV - 1
- if muffet.locV < (0 + (muffet.height / 2)) then
- muffet.flipV = not muffet.flipV
- puppetSound(5, member("coming down"))
- end if
- else
- if not muffet.flipV then
- muffet.locV = muffet.locV + 7
- if muffet.locV >= 278 then
- muffet.flipV = not muffet.flipV
- end if
- end if
- end if
- end
-