* getAnimPaletteSize() * 2 * 2];
* getAnimPaletteSize() * 2];
        private boolean readAnimPalette(boolean allowFailure, boolean readOrg)        {            AbstractRom r = readOrg ? JHack.main.getOrginalRomFile(hm.rom                .getRomType()) : hm.rom;            byte[] palBuffer = new byte[getNumAnimPalettes()                * getAnimPaletteSize() * 2 * 2];            /** * DECOMPRESS PALETTE ** */            System.out.println("About to attempt decompressing "                + palBuffer.length + " bytes of title screen #" + num                + " animated palette.");            int[] tmp = EbHackModule.decomp(readOrg ? r                .readRegAsmPointer(animPalPointerArray[num]) : animPalPointer,                palBuffer, r);            animPal = new Color[NUM_ANIM_PALETTES][getAnimPaletteSize()];            if (tmp[0] < 0)            {                System.out.println("Error " + tmp[0]                    + " decompressing title screen #" + num                    + " animated palette.");                if (allowFailure)                { // EMPTY PALETTES                    for (int i = 0; i < animPal.length; i++)                        Arrays.fill(animPal[i], Color.BLACK);                    animPalLen = 0;                }                else                {                    return false;                }            }            else            {                animPalLen = tmp[1];                System.out                    .println("TitleScreen animated palette: Decompressed "                        + tmp[0] + " bytes from a " + tmp[1]                        + " byte compressed block.");                int palOffset = 0;                for (int i = 0; i < NUM_ANIM_PALETTES; i++)                {                    HackModule.readPalette(palBuffer, palOffset, animPal[i]);                    palOffset += animPal[i].length * 2;                }            }            return true;        }