"; } function START() { document.all.MESSAGE.innerHTML="THIS IS IT!
PLEASE E-MAIL ME AND TELL ME WHAT I SHOULD DO WITH THIS GAME."; screen.updateInterval=10; runID=setInterval("RUN();",10); } function RUN() { flopScreen(); if (!MEGAMANdata.inAIR) flopSLED(); humanIntel(); document.all.SPEEDDISPLAY.innerHTML=CURRENTspeed; scrollTREES(document.all.TREE1a); scrollTREES(document.all.TREE1b); scrollTREES(document.all.ROCK1); scrollTREES(document.all.MOUND1); scrollTREES(document.all.TREE2a); scrollTREES(document.all.TREE2b); scrollTREES(document.all.TREE3a); scrollTREES(document.all.TREE3b); scrollTREES(document.all.TREE3c); scrollTREES(document.all.TREE3d); gravity(document.all.MEGAMAN,MEGAMANdata); } function flopSLED() { if (MEGAMANdata.inAIR) { if (BGflop) document.all.MEGAMAN.src=MEGAMANdata.JUMPpose[1].src; else document.all.MEGAMAN.src=MEGAMANdata.JUMPpose[2].src; } else { if (BGflop) document.all.MEGAMAN.src=MEGAMANdata.SLED[1].src; else document.all.MEGAMAN.src=MEGAMANdata.SLED[2].src; } } function randomNumber(maxnumber) { var generatornum=Math.random(); var randomnum=Math.round(generatornum*maxnumber); return(randomnum); } function flopScreen() { if(BGflop) document.all.PAGE.style.background="#EEEFFF"; else document.all.PAGE.style.background="#EEEEFF"; BGflop=!BGflop; } function scrollTREES(WHICHtree) { SCROLLspeed=Math.round(CURRENTspeed/parseInt(WHICHtree.SCROLLLAYER)); if (CURRENTspeed>0 && parseInt(WHICHtree.style.left)<(-10)) WHICHtree.style.left=400+randomNumber(10*SCROLLspeed); if (CURRENTspeed<0 && parseInt(WHICHtree.style.left)>(400)) WHICHtree.style.left=((100+randomNumber(10*SCROLLspeed))*-1); WHICHtree.style.left=parseInt(WHICHtree.style.left)-SCROLLspeed; } function routeKey(keycodE,down) { if(keycodE==38) MEGAMANdata.UPkey=down; if(keycodE==40) MEGAMANdata.DOWNkey=down; if(keycodE==13) MEGAMANdata.Zkey=down; if(keycodE==37) MEGAMANdata.LEFTkey=down; if(keycodE==39) MEGAMANdata.RIGHTkey=down; if(keycodE==90) MEGAMANdata.FIREkey2=down; if(keycodE==27 && !MEGAMANdata.inAIR) {doUPPERCUT1(document.all.MEGAMAN,MEGAMANdata)} if(keycodE==16) { if(!down) MEGAMANdata.FIREcycle=true; MEGAMANdata.FIREkey=down; } if(keycodE==87&&down) WHICHGUY=!WHICHGUY; } function gravity(whichObject,WHICHdata) { var HOLDpos=parseInt(whichObject.style.top)+WHICHdata.ObjectVelocity; if(HOLDpos>(gamefield.floor-23)) { WHICHdata.uppercutOK=false; WHICHdata.reachedJUMPmax=false; WHICHdata.inAIR=false; whichObject.style.top=gamefield.floor-23; if(WHICHdata.FACINGright) flopSLED(); else flopSLED(); WHICHdata.ObjectVelocity=0; } else if(WHICHdata.inAIR) { flopSLED(); WHICHdata.ObjectVelocity=WHICHdata.ObjectVelocity+SIMgravity; whichObject.style.top=HOLDpos; } } function moveUP(whichObject,WHICHdata) { if(parseInt(whichObject.style.top)-50)) { CURRENTspeed--; } if(!MEGAMANdata.LEFTkey&&MEGAMANdata.RIGHTkey && (CURRENTspeed<50)) { CURRENTspeed++; } if(MEGAMANdata.Zkey) { moveBG(); } /* if(MEGAMANdata.LEFTkey&&!MEGAMANdata.RIGHTkey) { if(WHICHGUY) moveLEFT(document.all.MEGAMAN,MEGAMANdata); else moveLEFT(document.all.GIGAMAN,GIGAMANdata); } if(!MEGAMANdata.LEFTkey&&MEGAMANdata.RIGHTkey) { if(WHICHGUY) moveRIGHT(document.all.MEGAMAN,MEGAMANdata); else moveRIGHT(document.all.GIGAMAN,GIGAMANdata); } if(MEGAMANdata.FIREkey) { fireSHOT1(document.all.MEGAMAN,MEGAMANdata,true); } */ if(MEGAMANdata.UPkey) { if(!MEGAMANdata.reachedJUMPmax) moveUP(document.all.MEGAMAN,MEGAMANdata); strikeUPpose(document.all.MEGAMAN,MEGAMANdata); } if(!MEGAMANdata.FIREkey&&!MEGAMANdata.UPkey&&!MEGAMANdata.RIGHTkey&&!MEGAMANdata.LEFTkey) { if(!MEGAMANdata.inAIR) { if(MEGAMANdata.FACINGright) flopSLED(); else document.all.MEGAMAN.src=MEGAMANdata.SLED[2].src; } } }
POWER
SPEED = 10 KPH
LOADING PLEASE WAIT...