Advertisement
Coolgamer012345

Untitled

May 25th, 2015
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. if(Link->PressR == true && SV_OnGround() == true)
  2. {
  3. Game->PlaySound(45);
  4.  
  5. for(int i3 = 0; i3 <= JumpPixles; i3 += 1)
  6. {
  7. if(SV_UnderCombo() == false)
  8. {
  9. Link->Y -= 2;
  10. Waitframe();
  11. DoubleJumping = false;
  12. }
  13. }
  14. }
  15.  
  16. if(Link->PressR == true && SV_OnGround() == false && DoubleJumping == false)
  17. {
  18. Game->PlaySound(45);
  19.  
  20. for(int i4 = 0; i4 <= JumpPixles; i4 += 1)
  21. {
  22. if(SV_UnderCombo() == false)
  23. {
  24.  
  25. Link->Y -= 2;
  26. Waitframe();
  27. DoubleJumping = true;
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement