errors fix please
Syntax error.hitTest(_x,_y+3,true)){ this.gotoAndStop(3); } if(!Key.isDown(Key.RIGHT)&&!Key.isDown(K ey.LEFT)&&_root.xmove==0&&!Key.isDown(65 )&&_root.attack==false&&_root.ground.hit Test(_x,_y+3,true)){ this.gotoAndStop(1); } if(_root.ground.hitTest(_x,_y+3,true)&&_
Statement must appear within on/onClipEvent handler&&_root.xmove>0){ _root.xmove--; } while(_root.wall.hitTest(_x-17,_y,true)&
Unexpected '&' encountered&_root.xmove<0){ _root.xmove++; } //GRAVITY SCRIPT _root.grav+=1; this._y+=_root.grav; while(_root.ground.hitTest(_x,_y,true)){ _y--; _root.grav=0; } if(Key.isDown(Key.UP)&&_root.ground.hitT est(_x,_y+3,true)&&_root.attack==false){ _root.grav=-15; } if(_root.grav>15){ _root.grav=15; } //MOVEMENT SCRIPT this._x+=_root.xmove; if(Key.isDown(Key.LEFT)){ _root.xmove-=1.1; _xscale=-100; } if(Key.isDown(Key.RIGHT)){ _root.xmove+=1.1; _xscale=100; } if(!Key.isDown(Key.RIGHT)&&!Key.isDown(K ey.LEFT)&&_root.xmove>0){ _root.xmove-=2; } if(!Key.isDown(Key.RIGHT)&&!Key.isDown(K ey.LEFT)&&_root.xmove<0){ _root.xmove+=2; } if(_root.xmove>0&&_root.xmove<1.1||_root .xmove<0&&_root.xmove>-1.1){ _root.xmove=0; } if(_root.xmove>1&&_root.xmove<2&&!Key.is Down(Key.RIGHT)){ _root.xmove=0; } if(_root.xmove>10){ _root.xmove=10; } if(_root.xmove<-10){ _root.xmove=-10; } //DISPLAY SCRIPT if(!_root.xmove==0){ _root.attack=false; } if(_root.airatk==false&&!_root.ground.hi tTest(_x,_y+3,true)){ this.gotoAndStop(5); } if(!Key.isDown(Key.RIGHT)&&!Key.isDown(K ey.LEFT)&&!_root.xmove==0&&_root.ground.
Unexpected '&&' encountered&&_root.xmove>0){ _root.xmove--; } while(_root.wall.hitTest(_x-17,_y,true)&