home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / batman_cobble.swf / scripts / frame_31 / DoAction_2.as next >
Encoding:
Text File  |  2006-06-13  |  292 b   |  13 lines

  1. _root.game.checkpoint_4a_01.onEnterFrame = function()
  2. {
  3.    if(this.hitTest(_root.game.player) && !done && _root.levelTitle._currentframe == 100)
  4.    {
  5.       touched = true;
  6.       _root.overlay.gotoAndPlay("fight");
  7.    }
  8.    else if(touched && !done)
  9.    {
  10.       done = true;
  11.    }
  12. };
  13.