ALWAYS face up on a Ladder tile

When the player is on a ladder tile you're constantly facing up, which is perfect!


but should you attempt to move onto an impassable tile next to you, the player will face the direction you're intending to move, despite still being on a ladder tile.


I'd like a plugin (or suggestion that doesn't involving lots of eventing/region tiles) that will keep the player facing up, even when bumping into an impassable tile when on a ladder tile.


(It might not sound like a big deal, but my character looks odd when randomly doing their run animation whilst half way up a ladder.)


Thanks to anyone that spends time looking into this!
Continuum EverLadder


Here ya go, @Harken_W


EDIT - Sorry; have to fix it quick


EDIT2 - Okay. Should be good.
wow thanks for the quick response @continuumg !


Just tried using your plugin in a new project, it came up with the error.  'TypeError   Cannot read property 'isLadder' of null'


Is there something I may be doing wrong? 


EDIT-Just saw your edits! trying now!
@continuumg   Works like a charm! Thanks so much! 😀

Original thread: https://forums.rpgmakerweb.com/threads/always-face-up-on-a-ladder-tile.73164/