No, you dont need all the "newmap, newcharx, newchary" anymore. You still need to create door tile before you can use it (tile2 in my last reply) and place it in the map array. I dont know if you need to deal with items in changeMap function, they are only needed if you plan to return to same map later and you want items to be disappeared after they were picked up.

Try to explain better what you want to do and why.