Tileset Acting Weird

Ok so i am having a problem with my game. When ever I move diagonally upwards in one of my maps the character gets stuck up here:
unknown.png
Just for clearing things up here is the tileset setup I have: The sixth one on the first row is what i am using.
Screenshot_1.png

The script I am using for diagonal movement is here: https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/diagonal-movement/
When moving diagonally, is it moving over either the item on the wall or the floor? Something if an item with a passable setting is placed on top of a wall tile, it can allow access to the "roof" tiles.
When moving diagonally, is it moving over either the item on the wall or the floor? Something if an item with a passable setting is placed on top of a wall tile, it can allow access to the "roof" tiles.
Ok, that explains that but I have one other problem. When running diagonally in one of the towns Screenshot_2.png The shrubs are set to X, but when I ran straight down from where i was something happened and made it to where i was able to walk on them. How do i fix this?
Where did you run straight down?
Where did you run straight down?
Well not completely straight down. There was one diagonal direction i had to go to get passed the big tree.

When I got past the big tree and tried to go diagonal it glitched out and I was standing on top of the shrub and was able to walk through it.
On your first screenshot, you don't have a wall where that exit is on the right. That will allow the player to walk right onto that outside area, and once there, they can go wherever they want on it. The ceiling tiles should not be accessible from the sides or from the top, but they can be from the bottom. That's why you have to have something impassable in front of them.

What script are you using that allows diagonal movement? Sounds like it could be something weird with its passage checking.

That's a decent sized map and it's not apparent what part of it you're talking about. Can you please highlight in the image where this happened? Even taking a screenshot while you're playing the game that shows where the player is would be helpful.

Original thread: https://forums.rpgmakerweb.com/threads/tileset-acting-weird.116151/