static final void method2811(boolean bool) {
	anInt6777++;
	if ((InterfaceScript.anInt6992 ^ 0xffffffff) > -1) {
	    InterfaceScript.anInt6992 = 0;
	    TextureLoader.anInt4609 = -1;
	    Class48.anInt859 = -1;
	}
	if (InterfaceScript.anInt6992 > Class75.anInt1259) {
	    InterfaceScript.anInt6992 = Class75.anInt1259;
	    Class48.anInt859 = -1;
	    TextureLoader.anInt4609 = -1;
	}
	if ((Class245.anInt3170 ^ 0xffffffff) > -1) {
	    Class48.anInt859 = -1;
	    Class245.anInt3170 = 0;
	    TextureLoader.anInt4609 = -1;
	}
	if ((Class245.anInt3170 ^ 0xffffffff)
	    < (Class75.anInt1267 ^ 0xffffffff)) {
	    Class245.anInt3170 = Class75.anInt1267;
	    TextureLoader.anInt4609 = -1;
	    Class48.anInt859 = -1;
	}
	if (bool != false)
	    aDouble6774 = 1.5874482848681375;
    }