static final void method2678(int i) {
	if (i != -2049)
	    anIntArrayArray4233 = null;
	anInt4229++;
	if (r.aBoolean9722) {
	    Widget class46
		= Class348_Sub22.getWidgetChild(Class9.anInt169,
					    Class149.anInt2046);
	    if (class46 != null
		&& ((Widget) class46).anObjectArray680 != null) {
		InterfaceScript class348_sub36 = new InterfaceScript();
		((InterfaceScript) class348_sub36).parent = class46;
		((InterfaceScript) class348_sub36).parameters
		    = ((Widget) class46).anObjectArray680;
		ScriptExecutor.executeScript(class348_sub36);
	    }
	    Class301.anInt3829 = -1;
	    r.aBoolean9722 = false;
	    Class362.anInt4458 = -1;
	    if (class46 != null)
		Class251.method1916(-9343, class46);
	}
    }