Advertisement
Jhynjhiruu

Frame 22

Jul 4th, 2018
800
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(onlyright == true)
  2. {
  3.    LD = "right";
  4. }
  5. if(onlyleft == true)
  6. {
  7.    LD = "left";
  8. }
  9. if(LD == "right")
  10. {
  11.    _root.Course.FrontGFX.attachMovie("GoldBill","GoldBill" + _root.Course.FrontGFX.getNextHighestDepth(),_root.Course.FrontGFX.getNextHighestDepth(),{_x:_X + Math.cos(_root.angleToRadians(_rotation)) * 15,_y:_Y + Math.sin(_root.angleToRadians(_rotation)) * 15,_xscale:100,rotation:_rotation,eat:eat,chase:chase,frame:frame,speed:speed,rotdiv:rotdiv,rotmaxspeed:rotmaxspeed,enemyhurt:enemyhurt,parent:this});
  12. }
  13. else
  14. {
  15.    _root.Course.FrontGFX.attachMovie("GoldBill","GoldBill" + _root.Course.FrontGFX.getNextHighestDepth(),_root.Course.FrontGFX.getNextHighestDepth(),{_x:_X - Math.cos(_root.angleToRadians(_rotation)) * 15,_y:_Y - Math.sin(_root.angleToRadians(_rotation)) * 15,_xscale:-100,rotation:_rotation,eat:eat,chase:chase,frame:frame,speed:speed,rotdiv:rotdiv,rotmaxspeed:rotmaxspeed,enemyhurt:enemyhurt,parent:this});
  16. }
  17. total++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement