MZ Impassable tile passable from one direction

Can anyone help me demystify the passability issue I'm running into. Just bought MZ and I'm testing things out - so excuse me for being very new and not knowing basic things. I have searched around and saw threads from people having similar issues, but nothing I've seen points to the issue I'm having.

rpgmzbug.jpg


You can see I am able to walk into this tile that is set as impassable. 4-dir passage is clear for these tiles as well. I noticed from some earlier threads that you might have something like an invisible tile effecting passability, so I tried erasing the effected tiles (floor and wall) and making sure I repainted the tiles with all tiles selected, but no luck.

I can confirm that passage from the sides is not possible, so through didn't get turned on somehow.

I tried reading the code to demystify this, but I don't fully understand the purpose behind the bit manipulation or values of the different tile flags rpgmv uses.
That's a quirk of how passability works with autotiles. With autotiles, technically every one of the 47 possible configurations of the tile has its own separate passability settings; however, the editor doesn't let you manually configure them. Specifically, if it's an A4 rooftop autotile, it'll be configured so that the outer edge of any patch of that tile is impassable, except for the bottom edge.

The basic solution would be to cut-and-paste that tile to the A2 tilesheet instead. The other alternative would be to use it how it's intended to be used – separate the floor from the rooftop using the darker tile seen below it in the tile palette, which is meant to represent the side of that same wall. Theoretically, you might also be able to find a plugin that overrides the editor's default settings for A4 autotiles; I don't know of one though.
The wall tiles are paired with one ceiling tile on top of the corresponding wall tile..

and the ceiling tile is intentionally passable to allow the simulation of a two-level-dungeon in a single level map.

in a map, the ceiling tile is supposed to be only used on top of the corresponding wall tile, with that wall tile then blocking the access from the south of the ceiling tile.
if the tiles are used this way, any override like a ladder placed on the wall (anything that makes the wall passable) will then allow the player to "climb" on top of the wall and walk there.

this is a hard coded automatic and cannot be changed, you need to use a correct wall tile for your walls instead of the ceiling tiles.
if the tiles are used this way, any override like a ladder placed on the wall (anything that makes the wall passable) will then allow the player to "climb" on top of the wall and walk there.
Exactly – this is the reason for the wall top tiles being passable from the bottom.
Ah-hah, that makes perfect sense. And the visual effect is much more convincing, thank you.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/impassable-tile-passable-from-one-direction.183673/