MZ Help with Converting These Short Plugins to MZ

Can anyone convert the Shift Enemies, Shift Actors and Enemy Placement plugins in the below topic to be compatible with MZ?

Some time ago, I discovered these simple but fantastic plugins that let me reposition enemies without using Troops. To make a long story short, the battle system plugin I am using does not use Troops, so I cannot reposition enemies that way. I can move them a little bit using the Akea Animation plugin, but not very much.

I have yet to find any plugins compatible with MZ that let me reposition enemies without using Troops. However, I know the plugins I linked to work for rearranging my actors and enemies since I can use them with FOSSIL. The downside is that FOSSIL wreaks havoc with my MZ plugins and makes my game unstable, so this isn’t a long-term solution.

The plugin creator hasn’t been active for well over a year, and these are free, publicly available plugins, so I thought I would bring this request here.
I haven't tested them, but at a glance, Shift Enemies and Shift Actors both look like they should already work in MZ, even without FOSSIL. Enemy Placement looks like it should work if you change one line.

Change:
JavaScript:
statusHeight += Window_Base.prototype.standardPadding.call(this) * 2;
to
JavaScript:
statusHeight += $gameSystem.windowPadding() * 2;
I haven't tested them, but at a glance, Shift Enemies and Shift Actors both look like they should already work in MZ, even without FOSSIL. Enemy Placement looks like it should work if you change one line.

Change:
JavaScript:
statusHeight += Window_Base.prototype.standardPadding.call(this) * 2;
to
JavaScript:
statusHeight += $gameSystem.windowPadding() * 2;
Thanks for the code! I replaced the line in the plugin with the new line you provided. I tested it, and while it doesn't crash MZ like it previously did, it doesn't seem to be doing anything. I experimented with the settings, and it still doesn't seem to be doing anything. It could be because I'm also using Akea Animated Battle System, although I changed the parameters in it several times.

Regardless, I tried Shift Enemies and it does exactly what I needed it to do without any changes! The plugin manager shows the text "The plugin 'ShiftEnemies' may not support RPG Maker MZ," but it works without any issues...so far. I hope I don't run into any future issues, but I'm very pleased that it fixed my problem with not being able to have my enemies in the center of the screen. :LZSproud:

Original thread: https://forums.rpgmakerweb.com/threads/help-with-converting-these-short-plugins-to-mz.156737/