home *** CD-ROM | disk | FTP | other *** search
- # d_0 JawaTalk.cog
- #
- # A simple communiCog ripped off from Doug
- #
- # Desc:
- # Sucker Fool I stole it from Matt, I didn't even change
- # The variable GONK. - Love Ya, Doug
- #
- # Yeah, well I stole it back so bite me. --Matt
- # 12/08/97 DGS Stole from Matt's GonkTalk
- # 12/08/97 MST Stole back from Doug's JawaTalk
- #-----------------------------------------------------------------------------
-
- symbols
- message startup
- message activate
- message arrived
-
- surface switch0
-
- thing door
-
- end
-
-
- code
- startup:
- setwallcel(switch0, 1);
- return;
-
- activate:
- curframe=getcurframe(door);
- if (curframe==0) setwallcel(switch0, 2);
- movetoframe(door, 1-curframe, 3);
- return;
-
- arrived:
- curframe=getcurframe(door);
- if (curframe==0) setwallcel(switch0, 1);
- return;
-
- end
-
-
-
-
-
-
-