I am remaking Mario Maker 2. I created a save and load function to save the tilemaps while in-game. But the tilemaps disalign when I load them in.

Sooo ive actually done this its in a beta form but here its gonna be used for a minecraft/mario maker game but heres a beta tile map save/load function Heres a beta