Walking behind buildings

I know that with the classic Pokemon games there were parts where the player could walk behind a building and I was wondering if I could have my character walk behind a building?
I plan on making tall buildings and it would be awkward for the player to go all the way around when he/she she go right behind it
Is there a way to set some tiles to be above the characters?
Just go into the tile editor and change the roof tiles to a star instead of an x, just make sure you dont over do it so hes walkin behind walls lol

* = over the player
X = player can't walk on it
O = player can walk over top of it
FeatureAce1.jpg
How do you set it to a * I click on a tile but it just switches from X to O and vice versa
it will cycle between X, O, and *
Only Upper tiles can be set to star
A tiles are ground tiles and cannot be set to star, because something needs to cover the basic ground.
I see this question come up quite a few times without a good solution, so I wrote a script: https://forums.rpgmakerweb.com/index.php?threads/cityshrimps-cover-tiles.96380/

Original thread: https://forums.rpgmakerweb.com/threads/walking-behind-buildings.81950/