Introduction
This plugin, based on a request by @TheRamenGirl, forces the player character to be facing the desired direction before it can start walking. It combines two features - one is that tapping a direction key will make the player turn in place.
Unlike other turn in place plugins, this will only allow the player to turn one facing (90 degrees) at a time. So if you tap the direction opposite the player's current facing, they will first turn to the left or right and it will require a second press (or held input) to turn fully around.
The second feature is that this turning is implemented into movement, so holding down a direction key that's different from the player's current facing will make them turn in place until they're facing the correct direction and start moving.
There is a plugin parameter to set how quickly these turns can be done.
I have tested the basic functionality, please let me know if you encounter any errors. I will consider making compatibility patches if the other plugin is free to use (or one I own, such as a Yanfly product) and unobfuscated. Otherwise, other authors are free to modify this code to make it compatible with theirs so long as I am still credited.
Terms and Credits
Free for non-commercial and commercial use. Credit ATT_Turan.