morph airspeed revert

main
sunsetbear 4 years ago
parent 1697098b1a
commit f60d0633ba

@ -594,7 +594,7 @@ if (state == BALL || state == AIRBALL) {
facing = LEFT; facing = LEFT;
if (state == BALL && dash == 0) xVel = -6 /(1+walking); //added if (state == BALL && dash == 0) xVel = -6 /(1+walking); //added
//if (state == BALL && dash > 0) xVel = -10; //if (state == BALL && dash > 0) xVel = -10;
if (state == AIRBALL && dash == 0) xVel = -6; if (state == AIRBALL && dash == 0) xVel = -3.5;
} }
} }
if (kRight > 0 && fixedx == 0) { if (kRight > 0 && fixedx == 0) {
@ -609,7 +609,7 @@ if (state == BALL || state == AIRBALL) {
facing = RIGHT; facing = RIGHT;
if (state == BALL && dash == 0) xVel = 6 /(1+walking); //added if (state == BALL && dash == 0) xVel = 6 /(1+walking); //added
//if (state == BALL && dash > 0) xVel = 10; //if (state == BALL && dash > 0) xVel = 10;
if (state == AIRBALL && dash == 0) xVel = 6; if (state == AIRBALL && dash == 0) xVel = 3.5;
} }
} }
if (fixedx > 0) { if (fixedx > 0) {
@ -654,7 +654,7 @@ if (state == BALL || state == AIRBALL) {
chStepSpiderBall(); chStepSpiderBall();
if ((walking == 1 || (inwater || waterfall > 0) && global.currentsuit < 2 || turning) && monster_drain == 0 && state == RUNNING) speedboost_steps = 0; if ((walking == 1 || (inwater || waterfall > 0) && global.currentsuit < 2 || turning) && monster_drain == 0 && state == RUNNING) speedboost_steps = 0;
if (dash == 0 && state == RUNNING && speedboost_steps > 25 && (inwater == 0 || global.currentsuit == 2)) dash = 1; if (dash == 0 && state == RUNNING && speedboost_steps > 20 && (inwater == 0 || global.currentsuit == 2)) dash = 1;
if (global.speedbooster && speedboost == 0 && dash == 45 && state != BRAKING && state != STANDING) { if (global.speedbooster && speedboost == 0 && dash == 45 && state != BRAKING && state != STANDING) {
speedboost = 1; speedboost = 1;
canturn = 0; canturn = 0;

Loading…
Cancel
Save