home *** CD-ROM | disk | FTP | other *** search
- property ancestor
-
- on birth me, chan1
- set ancestor to birth(script "1 chan", chan1)
- return me
- end
-
- on startAnimation me
- set var to random(2)
- do("var" & var & " me")
- startAnimation(ancestor)
- end
-
- on var1 me
- set the locH of sprite the myChan of me to 531
- set the locV of sprite the myChan of me to 36
- set the castList of me to [209, 210, 211, 212]
- set the maxFrames of me to 4
- end
-
- on var2 me
- set the locH of sprite the myChan of me to 530
- set the locV of sprite the myChan of me to 49
- set the castList of me to [213, 214, 215, 216, 217]
- set the maxFrames of me to 5
- end
-