pals[pal][0] = SpriteEditor.bgColor;
        public static void writeSpriteRGB(int pal, AbstractRom rom)        {            // don't write transparent color differently            pals[pal][0] = rom.readPalette(0x30200 + (pal * 32));            rom.writePalette(0x30200 + (pal * 32), pals[pal]);        }