However, when I started with an array of layers in the next iteration of the project, I ran into issues regarding outputting the map tiles for any layer. Here’s the next iteration of main.c that simply doesn’t output any layers:

Actually, it turns out I didn’t copy over the draw tiles from the sheet map (just copied the addresses, so no extra cleanup). I’ve gotten the save functionality to work, even saving multiple layers to different files. I’m now trying to work on having solid tiles and sprite placement.