Here's the thing, I have no idea how I would implement something like this. I also stumbled across this answer which links to another article that explains auto tiling. I stumbled across this article, which breaks down how auto tiles work. I wanted to use some RPG maker art in my game (for reference, I'm using the RTP).
I'm currently working with Phaser, making a game that's procedurally generated.