Having a glitch with BindPicturesToMap

Hi there.

I searched around but couldn't find anyone with the same issue, so please take it easy on me if this has been asked and answered. I'm just learning to Parallax and have created a background/overlay in a shop in a town.

The problem is if I visit the shop, exit the shop, then exit the town to the world map the Parallax overlay is now on the world map.

This is the code:

◆Show Picture:#1, Kolts_Shop, Upper Left (0,0), (100%,100%), 255, Normal
◆Plugin Command:BindPictureToMap 1 below_tilemap
◆Show Picture:#2, Kolts_Shop_overlay, Upper Left (0,0), (100%,100%), 255, Normal
◆Plugin Command:BindPictureToMap 2 above_characters
◆Erase Event

Runs parallel when someone enters the shop.
you need to erase or overwrite the pictures on leaving the map.

usually this is done as an overwrite because the next map uses the same picture IDs and replaces them, but I'm guessing your world map either uses different IDs or has no second picture for the upper layer - in that case you need to manually erase the picture that is not replaced.
Ahhhh ok cool thanks.

Original thread: https://forums.rpgmakerweb.com/threads/having-a-glitch-with-bindpicturestomap.90311/