MZ VisuStella Picture Gallery Unlock Check

Hello everyone,

maybe I'm just blind, but i couldn't find an answer to this.

I'm using the VisuStella CGGallery in my investigative game. It's supposed to unlock pictures of characters, evidence, hints and landscapes throughout the game.
Is there any way to make an event check if a certain picture has already been unlocked?

Example:
On day 1, the player can try to visit the flower shop, but it's closed. By checking the shop, and getting the message that it's closed, they unlock a photograph of the shop's front.
On day 2, the shop is open. So the door event is different and the player would miss the photo unlock (or get the message twice). If the player didn't check the shop on day 1, they're supposed to unlock the picture now. If they've been there on day 1, they're supposed to just enter the shop.

Yes, I could create a switch for every picture with multiple unlocking possibilities, but I'm afraid I would end up with a lot of switches and I wanted to know if there is another option before I do that.

Thanks in advance 🙂
Their page says that they save it in the config file. Check the console if you can find something with just ConfigManager.CG... (don't know if that's the way they store the data). But yeah, it's read across save files, so it affects everything.

If you don't want to use multiple switches, just make one variable and array and set an index with the "gallery pic id" to 1 when you unlock a pic.
Their page says that they save it in the config file. Check the console if you can find something with just ConfigManager.CG... (don't know if that's the way they store the data). But yeah, it's read across save files, so it affects everything.

If you don't want to use multiple switches, just make one variable and array and set an index with the "gallery pic id" to 1 when you unlock a pic.
Right, it's across all save files, I forgot about that. Sorry. I guess I have to use switches then, since variables would not be picture specific (the variable would be like 5, but not detect which of the 7 possible pictures have been unlocked). Thank you very much 🙂

Original thread: https://forums.rpgmakerweb.com/threads/visustella-picture-gallery-unlock-check.179920/