switch(legCrits)
float j; if (game != null) { j = getOriginalWalkMP() / game.getOptions().floatOption("gravity"); j = ((Math.round(j) - j) == 0.5) ? (Math.round(j - 0.1)) : Math.round(j); if (j > getOriginalWalkMP()) j = wmp; wmp = (int) j; } switch(legCrits)
    public int getWalkMP() {     	int wmp=getOriginalWalkMP();     	int legCrits=this.getCritsHit(LOC_LEG);        int i;     	switch(legCrits)     	{     		case 0:     		break;     		case 1:     		wmp--;     		break;     		case 2:     		wmp=wmp/2;     		break;     		case 3:     		wmp=0;     		break;     	}        if (game != null) {            i = game.getTemperatureDifference();            return Math.max(wmp - i, 0);        } else return wmp;     }