MZ YED_Sideview_Battler Compatibility Patch for MZ (from MV)

This is a request to create a compatibility patch for YED_Sideview_Battler to make it compatible with RPG Maker MZ.

Click here to go the plugin download page on GitHub (MV Plugin)

Click here to install a project where you can test the issue (You have to put the plugin yourself)

I want to add animation frames to the sideview battlers on RPG Maker MZ.

When I setup the notetags on the actor like this:

Code:
<Sideview Battler: test_actor>
<Sideview Battler Frames: 30>
<Sideview Battler Speed: 5>
<Sideview Battler Size: 64, 64>

<Sideview Battler Motion>
Name: Wait
Index: 0
Loop
Frames: 3
Speed: 5
</Sideview Battler Motion>

and then enter a battle, the game crashes with this error:

JavaScript:
TypeError: Cannot read property 'index' of undefined
    at Sprite_Actor.updateSideviewFrame (YED_SideviewBattler.js:789)
    at Sprite_Actor.updateFrame (YED_SideviewBattler.js:774)
    at Sprite_Actor.Sprite_Battler.updateMain (rmmz_sprites.js:504)
    at Sprite_Actor.updateMain (rmmz_sprites.js:757)
    at Sprite_Actor.Sprite_Battler.update (rmmz_sprites.js:485)
    at Sprite_Actor.update (rmmz_sprites.js:745)
    at Sprite.update (rmmz_core.js:1987)
    at Sprite.update (rmmz_core.js:1987)
    at Sprite.update (rmmz_core.js:1987)
    at Spriteset_Battle.Sprite.update (rmmz_core.js:1987)

I have already tried using the FOSSIL compatibility plugin.
Feel free to suggest any plugin that enables adding more frames to the sideview battlers. I know of the "Dragonbones Union Plugin" but I really don't want to use Dragonbones since I just make my animations in Aseprite.

Thank you!

Plugin Video Demonstration:
I lib’s Battle Motion mz, so I’d suggest using that instead of trying to shoehorn something that doesn’t work for you.

Post in thread 'Different sideview motions for different skills'
https://forums.rpgmakerweb.com/thre...ions-for-different-skills.173542/post-1484529

Original thread: https://forums.rpgmakerweb.com/threads/yed_sideview_battler-compatibility-patch-for-mz-from-mv.182769/