that happens when you use bad colors in the paint
you must keep the original palette, use only colors that are already in the image
and save it as a bitmap and not as a jpg
i mean the only part i dont understand is wenever i save it as tileset0 and i open it in paint and i add a piece of a tile when i open it in blockeditor in advance map it comes out green