// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

import java.io.PrintStream;
import sign.signlink;

public class Class21
{

    public static void method271(Class11 class11, int i)
    {
        Class31_Sub3_Sub2 class31_sub3_sub2 = new Class31_Sub3_Sub2((byte)114, class11.method204("varp.dat", null));
        if(i < 5 || i > 5)
            anInt283 = 318;
        anInt287 = 0;
        anInt285 = class31_sub3_sub2.method424();
        if(aClass21Array286 == null)
            aClass21Array286 = new Class21[anInt285];
        if(anIntArray288 == null)
            anIntArray288 = new int[anInt285];
        for(int j = 0; j < anInt285; j++)
        {
            if(aClass21Array286[j] == null)
                aClass21Array286[j] = new Class21();
            aClass21Array286[j].method272(false, class31_sub3_sub2, j);
        }

        if(class31_sub3_sub2.anInt1440 != class31_sub3_sub2.aByteArray1439.length)
            System.out.println("varptype load mismatch");
    }

    public void method272(boolean flag, Class31_Sub3_Sub2 class31_sub3_sub2, int i)
    {
        if(flag)
            aBoolean284 = !aBoolean284;
        do
        {
            int j = class31_sub3_sub2.method422();
            if(j == 0)
                return;
            if(j == 1)
                anInt290 = class31_sub3_sub2.method422();
            else
            if(j == 2)
                anInt291 = class31_sub3_sub2.method422();
            else
            if(j == 3)
            {
                aBoolean292 = true;
                anIntArray288[anInt287++] = i;
            } else
            if(j == 4)
                aBoolean293 = false;
            else
            if(j == 5)
                anInt294 = class31_sub3_sub2.method424();
            else
            if(j == 6)
                aBoolean295 = true;
            else
            if(j == 7)
                anInt296 = class31_sub3_sub2.method427();
            else
            if(j == 8)
            {
                anInt297 = 1;
                aBoolean298 = true;
            } else
            if(j == 10)
                aString289 = class31_sub3_sub2.method429();
            else
            if(j == 11)
                aBoolean298 = true;
            else
            if(j == 12)
                anInt299 = class31_sub3_sub2.method427();
            else
            if(j == 13)
            {
                anInt297 = 2;
                aBoolean298 = true;
            } else
            if(j == 14)
                aBoolean300 = false;
            else
                System.out.println("Error unrecognised config code: " + j);
        } while(true);
    }

    public Class21()
    {
        aBoolean284 = false;
        aBoolean292 = false;
        aBoolean293 = true;
        aBoolean295 = false;
        aBoolean298 = false;
        anInt299 = -1;
        aBoolean300 = true;
    }

    public static int anInt283 = -29917;
    public boolean aBoolean284;
    public static int anInt285;
    public static Class21 aClass21Array286[];
    public static int anInt287;
    public static int anIntArray288[];
    public String aString289;
    public int anInt290;
    public int anInt291;
    public boolean aBoolean292;
    public boolean aBoolean293;
    public int anInt294;
    public boolean aBoolean295;
    public int anInt296;
    public int anInt297;
    public boolean aBoolean298;
    public int anInt299;
    public boolean aBoolean300;

}
