Game Development - New Tile: Switch

Worked on a little piece of code today that adds a new tile. It's a switch. When you step on the switch, it will change all of one certain ID to another type of ID. In the image above you see that going to the switch changes all the walls to normal stone flooring.

Right now there's a standard floor, grass, water, walls, warp tile, dialogue tile, and now a switch.

The dialogue system is still nagging at the back of my head though. I suppose I need to write some dialogue first to help provide a roadmap to the type of thing I want to achieve.