I made a map offline of a world that I made just to play around with. The first time that I made the map, I was using the regular tileset (pics1), and the map was created fine, but I changed the tileset to a different one, and put a npc on the first level with this in it:
if (created) {removetiledefs;
addtiledef tilesetnamehere.png,,0;
}
where the tilesetnamehere is the name of the tileset I am using.
I also have an npc on the first level with this in it:
if (created) loadmap mgworld;
As I said, everything was fine until I starting using a different tileset. Now when I make a map, the colors go all crazy.