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("784134")
- 2:
- go("784132")
- 3:
- go("784133")
- 4:
- go("784131")
- end case
- else
- case me.myTree of
- 1:
- go("784124")
- 2:
- go("784122")
- 3:
- go("784123")
- 4:
- go("784121")
- end case
- end if
- end
-