home *** CD-ROM | disk | FTP | other *** search
- property myTree
-
- on beginSprite me
- whichSprite = me.spriteNum
- set the cursor of sprite whichSprite to 280
- me.myTree = whichSprite - 6
- end
-
- on endSprite me
- whichSprite = me.spriteNum
- set the cursor of sprite whichSprite to 0
- end
-
- on mouseDown me
- global gGameSol, gNumberOfMovesLeft, gExiting
- gNumberOfMovesLeft = gNumberOfMovesLeft - 1
- if gGameSol = me.myTree then
- gExiting = 1
- case me.myTree of
- 1:
- go("784134b")
- 2:
- go("784132b")
- 3:
- go("784133b")
- 4:
- go("784131b")
- end case
- else
- case me.myTree of
- 1:
- go("784124b")
- 2:
- go("784122b")
- 3:
- go("784123b")
- 4:
- go("784121b")
- end case
- end if
- end
-