private static final void executeScript(InterfaceScript environment, int i) {
	Object[] objects = ((InterfaceScript) environment).parameters;
        
        //for(Object o : objects)
            //System.out.print(o + (o != objects[objects.length - 1] ? "," : "\n"));
	int scriptId = ((Integer) objects[0]).intValue();
	ClientScript script
	    = Class328.getClientScript(-122, scriptId);
	if (script != null) {
	    anIntArray1164
		= (new int
		   [((ClientScript) script).anInt9688]);
	    int i_516_ = 0;
	    aStringArray1155
		= (new String
		   [((ClientScript) script).anInt9689]);
	    int i_517_ = 0;
	    for (int i_518_ = 1; i_518_ < objects.length; i_518_++) {
		if (objects[i_518_] instanceof Integer) {
		    int i_519_ = ((Integer) objects[i_518_]).intValue();
		    if (i_519_ == -2147483647)
			i_519_ = ((InterfaceScript) environment).anInt6984;
		    if (i_519_ == -2147483646)
			i_519_ = ((InterfaceScript) environment).anInt6995;
		    if (i_519_ == -2147483645)
			i_519_
			    = ((((InterfaceScript) environment).parent
				!= null)
			       ? ((Widget) (((InterfaceScript) environment)
					     .parent)).anInt830
			       : -1);
		    if (i_519_ == -2147483644)
			i_519_ = ((InterfaceScript) environment).anInt6986;
		    if (i_519_ == -2147483643)
			i_519_
			    = ((((InterfaceScript) environment).parent
				!= null)
			       ? ((Widget) (((InterfaceScript) environment)
					     .parent)).anInt704
			       : -1);
		    if (i_519_ == -2147483642)
			i_519_
			    = ((((InterfaceScript) environment).aClass46_6983
				!= null)
			       ? ((Widget) (((InterfaceScript) environment)
					     .aClass46_6983)).anInt830
			       : -1);
		    if (i_519_ == -2147483641)
			i_519_
			    = ((((InterfaceScript) environment).aClass46_6983
				!= null)
			       ? ((Widget) (((InterfaceScript) environment)
					     .aClass46_6983)).anInt704
			       : -1);
		    if (i_519_ == -2147483640)
			i_519_ = ((InterfaceScript) environment).anInt6991;
		    if (i_519_ == -2147483639)
			i_519_ = ((InterfaceScript) environment).anInt6982;
		    anIntArray1164[i_516_++] = i_519_;
		} else if (objects[i_518_] instanceof String) {
		    String string = (String) objects[i_518_];
		    if (string.equals("event_opbase"))
			string = ((InterfaceScript) environment).aString6994;
		    aStringArray1155[i_517_++] = string;
		}
	    }
	    anInt1177 = ((InterfaceScript) environment).anInt6988;
	    method711(script, i);
	}
    }