static final void method1006(boolean bool, byte i) {
	anInt1655++;
	if (bool) {
	    if (r.anInt9721 != -1)
		Class14.method235(r.anInt9721, (byte) -108);
	    for (Class348_Sub41 class348_sub41
		     = (Class348_Sub41) Class125.aClass356_4915.method3484(0);
		 class348_sub41 != null;
		 class348_sub41 = ((Class348_Sub41)
				   Class125.aClass356_4915.method3482(0))) {
		if (!class348_sub41.method2712((byte) 4)) {
		    class348_sub41 = ((Class348_Sub41)
				      Class125.aClass356_4915.method3484(0));
		    if (class348_sub41 == null)
			break;
		}
		Class127_Sub1.method1118(true, false, class348_sub41, 2533);
	    }
	    r.anInt9721 = -1;
	    Class125.aClass356_4915 = new HashTable(8);
	    Class99.method882((byte) 11);
	    r.anInt9721 = Class54.anInt970;
	    Class239.method1713(false, 520);
	    Class354.method3466(-119);
	    ScriptExecutor.method703(r.anInt9721);
	}
	Class223.aBoolean2895 = true;
	if (i < 49)
	    anInt1651 = 10;
    }