String[] tempArray; for(int i = 0; i < asmEffects.length; i++) { if (asmEffects[i]==asmEffects[299]) { tempArray = new String[i]; for(int j = 0; j < i; j++) tempArray[j] = asmEffects[j]; asmEffects = tempArray; } }
    public static void initEffectsList()    {        asmEffectsInited = true;        asmEffects = new String[200];        readArray(DEFAULT_BASE_DIR, "asmEffects.txt", true, asmEffects);    }