Blocking section of map visibly (pkmn Flash type skill)

Im trying to create a dungeon that if you don't do a certain event part of the map is covered in darkness, kinda like PKMN dark cave.
Once you hit a switch its visible and nothing is blocking your view.
Hi!
Use a picture to let the cave dark. If the player has flash you remove the picture, otherwise, you show the picture.

You can make a condition as soon as you enter the cave:

If(player has flash){
// do your thing, erase the picture, etc, the way you want.
}else{
show picture
}
Hi!
Use a picture to let the cave dark. If the player has flash you remove the picture, otherwise, you show the picture.

You can make a condition as soon as you enter the cave:

If(player has flash){
// do your thing, erase the picture, etc, the way you want.
}else{
show picture
}

Hey,
I tried that but Im only trying to block a room not the whole map. If I put a picture it stays on the screen wherever I move. I need a static Black spot lol.
Oh, I get it. So I think you can use some layer plugin, like Galv Layers.
So you can add a static image to a map position, not on the screen.
Oh, I get it. So I think you can use some layer plugin, like Galv Layers.
So you can add a static image to a map position, not on the screen.

I cant seem to figure the plugin out but thanks.
Edit: Used Orange Overlay since im more familiar but it flashes on the screen when the switch is triggered making it look silly.
The flashing is probably from the asset being loaded in for the first time. Try using a preloader plugin to remedy that. I personally like Galv's image cache plugin.

I've moved this thread to Plugin Requests. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/blocking-section-of-map-visibly-pkmn-flash-type-skill.126592/