Then I have a loop label that repeats itself during the game to show the map whenever an event (label) is finished or a menu (another screen) is closed, by calling the screen, just like this:
Code: Select all
label showmap:
if (renpy.music.is_playing('music')):
pass
else:
play music "sfx/map.mp3" loop
call screen map1
So my problem is that I literally don't know how I can call (or show, I guess I could make do with that) one map or the other after a certain event or after closing menus (which are also screens). I've tried different functions as well as the typical statements with no luck.
So I made another label to call the second map from there, so that I can jump to one label or another after the different events and problem solved. But I still have the same problem with the menus and some hotspots that are commom to both maps: I don't know how to call one map or another (or jump to one label or another) depending on which one was running before the menu or the hotspot was called, or, in other words, I don't know how to jump to the label that was in charge before a new label was called.
I don't know if I made myself clear, but I hope someone can help me with this!