Walk "under" walls

Hello 🙂  
In this rpg maker version, I can't set walls as star fields (or maybe I don't know how to do it?),
so i can't walk under them, or use their tile as event to move under it.

I'm using an event that make the character able to walk through walls and sets its opacity to 20 when he has to move under a wall, and removes these effects after he passed, but it's really boring to set an event like this every time I put a wall or a building in the map!

wall1.png

wall2.png

The idea is to have a script that changes your opacity to 20 and lets you walk through walls were a region (for example, 10) is set.
If it is hard to make the player move directly to this kind of region (because this region would be on a wall), then there could be another one (for example, 9) that lets you pass through a wall and changes your opacity to 255, a region (for example, 10) that changes your opacity to 20 (it will be changed back to 255 when the player quits region 10 / enters region 9) and a region (for example, 8) where a player can't walk even if he can go through walls.

wall3.png

It would also be great if the opacity could be set as a parameter in the plugin manager.

I still don't know enough about Javascript, otherwise I would have made this script on my own...
Thanks for reading this, help me (and other people with this issue) if you can  😀
I solved this issue generalizing the common event:

screenshot.1.png

And now i just need to copy and paste the event set like this where i need it.

screenshot.2.png

Thanks anyhow.

Original thread: https://forums.rpgmakerweb.com/threads/walk-under-walls.49479/