[Ace] Overriding the passability behaviour for ceiling tiles (a.k.a. A4 tiles)

Hey, do any of you guys know if it's possible to override the passability behaviour for ceiling tiles (a.k.a. A4 tiles)? Even when marked with an X, you can still walk on them as long as you get inside them. I'd like to change that and make it so that ceiling tiles can't be walked on, period.

 

If you know where in the default scripts this behaviour is coded, I might be able to figure out the rest on my own.
The wall tiles are coded this way to allow simulation of a 2-level-dungeon on a single level map, with the top of the walls becoming the second level. They can only be moved to if you have placed an override (intended to be the ladder symbols of the B-E sheets, but works with every walkable upper tile).


I don't know where that is coded, but you need to know this reason because several default tilesets use that feature for example for cliffs. So it needs to be switchable instead of fully deactivated, unless you really know how to avoid that even with default tilesets.
Actually I don't know why I didn't think of it before, but I have a change passability script, which would do this. There are two parts - a developer part, which you can turn on/off as needed, which allows you to change the passage setting on individual tiles on your map (it all starts as the default, then you just change the ones you want to override), and then a release part, which reads those settings you previously saved.
Just use impassable for example transparent B Tile above the a4 layer, everything should be impassable than.

Original thread: https://forums.rpgmakerweb.com/threads/ace-overriding-the-passability-behaviour-for-ceiling-tiles-a-k-a-a4-tiles.45619/