Advertisement
Guest User

Untitled

a guest
May 27th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //its raining men?
  2.  
  3. var textToType = new Array("               Oh for fucks sake why does it always have to be me in the fucking firing line Just because all of these other fucking pokemon are too fucking scared to be used as fucking bait for this fucking dragon I should be the one wrecking the village I swear when i evolve im not only going to kill that fucking dragon im also gonna kill every single one of those bastards who decided it would be a good fucking idea to use me as a fucking projectile I mean seriously throw the fucking fish at the fucking dragon to see if the bastard chases after him? what kind of fucking moron comes up with that idea? The sort who deserves to be kicked in the fucking testicles thats who Agh this is such a fucking pain having to move this fucking fast in the fucking snow Why couldnt they use a fucking pokemon with you know legs?! would have made fucking sense no? Another thing how the fuck is a magikarp who has never i repeat NEVER been anywhere near this fucking forest meant to find it Its not like they could give me a fucking map  or even fucking carry me carry me but no Its always fucking me picking up the slack for those lazy bastards who just cant be bothered to do anything I bet theyre already sat there in their fucking houses partying while Im doing all the hard fucking work Inconsiderate bastards If I make it through this mission Im ripping sorbet a new arse hole to go along with all the shit that hes been fucking spurting Maybe that way hell finally start making some fucking sense")
  4.  
  5. //spare
  6. /* new Array("               oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fu ck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh f uck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fu ck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fu ck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuc k oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck  oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck o h fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fuck oh fu ck oh fuck ")
  7. */
  8. var baseSpeed = new Array(15, 30, 50)
  9. var baseMax = new Array(30, 50, 100)
  10. var baseAcc = new Array(0.1, 0.05)
  11. var plrMax = new Array(10, 15)
  12.  
  13. var currentString = textToType[0]
  14. var remainingString = currentString
  15. var stringIndex = 15
  16.  
  17. var comboCount = 0
  18. var comboMax = 0
  19.  
  20. var difficulty = 1
  21. var speed = 5
  22.  
  23. var sorbetSpeed = 15
  24. var sorbetMax = 30
  25.  
  26. var distance = 400
  27. var completed = 0
  28.  
  29. keyListener = new Object()
  30. keyListener.onKeyDown = function(){
  31.    
  32.     if(map.chicken){
  33.     }else{
  34.         break;
  35.     }
  36.     var currentLetter = currentString.charCodeAt(stringIndex)
  37.     var validKey = true
  38.    
  39.     for(i=0;i<32;i++){
  40.         if(Key.isDown(i)){
  41.             validKey = false
  42.         }
  43.     }
  44.  
  45.     if(currentLetter > 92){
  46.         currentLetter  -= 32
  47.     }
  48.  
  49.     switch(currentLetter){
  50.         case 63:
  51.             currentLetter = 191
  52.             break;
  53.         case 33:
  54.             currentLetter = 49
  55.             break;
  56.     }  
  57.  
  58.     if(Key.isDown(currentLetter)){
  59.         stringIndex++
  60.         comboCount ++
  61.         if(comboCount > comboMax){
  62.                 comboMax = comboCount
  63.         }
  64.         speed += 0.05
  65.         if(speed > 10){
  66.             speed = 10
  67.         }
  68.         tbRemaining.text = currentString.substring(stringIndex - 15, currentString.length);
  69.         blob.nextFrame();
  70.         map._x -= speed
  71.     }else{
  72.         if(validKey == true){
  73.             if(comboCount > comboMax){
  74.                 comboMax = comboCount
  75.             }
  76.             comboCount = 0
  77.             speed = 5      
  78.         }
  79.     }
  80. }
  81. Key.addListener(keyListener)
  82.  
  83. moveSorbet = function(){
  84.     map.chicken._x += sorbetSpeed / 24
  85.     sorbetSpeed += 0.1
  86.     if(sorbetSpeed > sorbetMax){
  87.         sorbetSpeed = sorbetMax
  88.     }
  89. }
  90.  
  91. moveArrows = function(){
  92.     var playerDist = (map._x - 550) * -300 / 7500
  93.     player._x = 370 + playerDist
  94.     var sorbetDist = (map.chicken._x) * 300 / 7500
  95.     sorbet._x = 370 + sorbetDist
  96. }
  97.  
  98. checkGameOver = function(){
  99.     completed = ((map._x) * -1/6900) * 100
  100.     distance = 400 -(map._x + map.chicken._x)
  101.     if(map._x < -6900){
  102.         nextFrame();
  103.     }
  104.    
  105.     if((map._x + map.chicken._x) > 400){
  106.         nextFrame();
  107.     }
  108. }
  109.  
  110. onEnterFrame = function(){
  111.     if(map.chicken){
  112.         moveSorbet();
  113.         moveArrows();
  114.         checkGameOver();
  115.     }
  116. }
  117.  
  118. stop();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement