home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Santos.swf / scripts / DefineSprite_59 / frame_1 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  391 b   |  13 lines

  1. setProperty("../P1", _Y, getProperty("../P1", _Y) + stepy);
  2. if(_visible)
  3. {
  4.    if(_Y - "25" < getProperty("../Schiff1", _Y) and getProperty("../Schiff1", _Y) < _Y + "25")
  5.    {
  6.       if(_X + "50" >= getProperty("../Schiff1", _X) and getProperty("../Schiff1", _X) >= _X - "50")
  7.       {
  8.          set("../:Punkte",eval("../:Punkte") + "1000");
  9.          _visible = "0";
  10.       }
  11.    }
  12. }
  13.