home *** CD-ROM | disk | FTP | other *** search
- _root.state0 = 2;
- _root.ydir = 1;
- _root.ball._x = _root.enmy._x;
- _root.ball._y = _root.enmy._y;
- _root.pw2 = random(3) + 25;
- _root.ypw = _root.pw2;
- if(_root.enmy._x >= 0 && 200 >= _root.enmy._x)
- {
- _root.xdir = 0;
- _root.xpw = random(11) + 1;
- }
- if(_root.enmy._x >= 201 && 400 >= _root.enmy._x)
- {
- _root.xdir = 1;
- _root.xpw = random(11) + 1;
- }
- tellTarget(_root.ball)
- {
- gotoAndStop("atball");
- }
-