static final void method2330(byte i) {
	Class348_Sub3.method2739(0);
	anInt3924++;
	if (i == 86) {
	    Class348_Sub40_Sub25.currentPacketSize = 0;
	    Class348_Sub40_Sub36.aClass114_9456 = null;
	    ((ByteBuffer) Class299.gameBuffer).position
		= 0;
	    AbstractConnection.aClass114_3133 = null;
	    Class239.aClass114_3145 = null;
	    StringNode.anInt7213 = 0;
	    Class348_Sub3.currentIncomingPacket = null;
	    Class289.anInt3699 = 0;
	    Class348_Sub40_Sub39.method3153(0);
	    Class348_Sub40_Sub37.method3147((byte) 27);
	    for (int i_0_ = 0; i_0_ < 2048; i_0_++)
		ClassicLoadingScreen.onscreenPlayers[i_0_] = null;
	    Class132.localPlayer = null;
	    for (int i_1_ = 0;
		 (i_1_ ^ 0xffffffff) > (Class348_Sub32.anInt6930 ^ 0xffffffff);
		 i_1_++) {
		Npc class318_sub1_sub3_sub3_sub1
		    = (((Class348_Sub22)
			Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_1_])
		       .aClass318_Sub1_Sub3_Sub3_Sub1_6859);
		if (class318_sub1_sub3_sub3_sub1 != null)
		    ((Mob) class318_sub1_sub3_sub3_sub1)
			.anInt10275
			= -1;
	    }
	    Class363.method3515(i + 36);
	    Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1;
	    Class348_Sub40_Sub21.anInt9282 = 1;
	    ByteBuffer.setClientState(2, 10);
	    for (int i_2_ = 0; (i_2_ ^ 0xffffffff) > -101; i_2_++)
		Class152.aBooleanArray2076[i_2_] = true;
	    Class286_Sub2.method2145(-24498);
	    Class239_Sub4.aClass348_Sub26_5881 = null;
	    Class101_Sub2.aLong5745 = 0L;
	}
    }