Im trying to make a Zelda 1 clone. I have already made my field/main map. But say I want to make cave map for whenever a player enters a cave. How would I draw this? I have already made the cave map made.
I load in my overworld map like this
And draw it like this:
MapDrawBG(mapxoff, mapyoff, x, y, width, height);
But Now I want to draw the cave map, what can I do to tell my program to draw the cave instead of the overworld now?